Showing posts with label mathML. Show all posts
Showing posts with label mathML. Show all posts

Friday, July 21, 2017

install MacTeX june 2017, TeX LaTeX AMSTeX TeXShop BibDesk LaTeXiT TeXLive --> 5.8 Gb



MacTeX-2017
June, 2017
For Yosemite (macOS 10.10) and Higher

This installer provides all the software needed to use the TeX typesetting system on Mac OS X. All of the software is fully configured and ready to use. Included are

  • the actual TeX program, and the XeTeX extended version with Unicode and native font support;
  • macro packages, such as LaTeX, AMSTeX, and ConTeXt
  • TeXShop, graphical user interface for TeX
  • Ghostscript, required by certain TeX utilities

A custom install option is available for users who only need some of the software provided.

If you are new to TeX, consult the README installed in /Applications/TeX to begin learning and using TeX.
---

This installer provides all the software needed to use the TeX typesetting system on Mac OS X. All of the software is fully configured and ready to use. Included are
  • the actual TeX program, and the XeTeX extended version with Unicode and native font support;
  • macro packages, such as LaTeX, AMSTeX, and ConTeXt
  • TeXShop, a graphical user interface for TeX
  • Ghostscript, a free postscript interpreter used by certain TeX utilities
  • BibDesk, an editor for BibTeX databases
  • LaTeXiT, a utility to typeset LaTeX equations and export the resulting PDF by drag and drop
  • TeX Live Utility, a utility to administer TeX Live and update packages in it over the network
  • cocoAspell, an extension of Apple's built-in spell checker which understands LaTeX
  •  Excalibur, a spell checker for TeX source code

The underlying TeXLive distribution is extensive, containing most binaries, fonts, styles, and packages used in the TeX community. It is a repackaging of the full TeX Live distribution from the TeX Users Group (TUG), and installs that distribution exactly as it would appear if installed from the TeX Live DVD.

A custom install option is provided for users who want only part of the package. The package contains Ghostscript; users who already have Ghostscript may want to use custom install to avoid the version provided here. 

Among the programs installed by the package is TeXShop, a graphical interface to the TeX typesetting tools. TeXShop will be in your Applications folder in a subfolder named TeX and you can drag its icon to the dock if you wish. The TeX folder contains a README file explaining technical details of TeX Live for experienced users, and explaining how to start using and learning TeX for beginners.

Some programs in TeX need to know whether you are using letter-size paper or A4-size paper. The installer tries to guess the answer from your printer's default paper setting. This will work in almost all cases. If you run into problems, run TeX Live Utility in /Applications/TeX and select "Change Paper Size..." in the Actions menu. 

The installer adds BibDesk, Excalibur, LaTeXiT to the TeX folder in your Applications folder. All are standard Mac programs which can be uninstalled by just dragging them to the trash.

The TeX typesetting system consists of several command line programs and a large number of supporting files. These tools are installed in /usr/local, a directory not visible in the Finder. Inside the system Library folder you will find a subfolder named TeX; the Root file inside this folder is a link to the TeX directory tree which makes it visible to the Finder. So you can examine the files if you are curious.  It is usually not necessary to look at the command line files because they are automatically accessed by TeX as needed. 

If you have used TeX on another system, you may have needed to modify $TEXINPUTS, $PATH, and other shell variables; these are handled automatically on Mac OS X. Occasionally you will want to add additional style files and the like to TeX; to do so, create the directory "texmf" inside your personal Library folder in your home directory, and put additional files in subdirectories of this folder. For instance, LaTeX will find any file in

~/Library/texmf/tex/latex

or a subdirectory of this folder.


For more information about TeX, see http://tug.org, in particular http://tug.org/begin.html for links to a number of introductory resources. For more information about this MacTeX distribution, see http://tug.org/mactex.

Ref

http://www.tug.org/mactex/mactex-download.html

Thursday, July 20, 2017

HUB text/PAO une syntaxe pour différentes cibles input et output (backends, targets ou writers), de manière à obtenir du HTML du LaTeX, page de man: pandoc


hexadécimal

Au départ si on a que du texte sans mise en forme, on peut écrire en hexadécimal comme dans ma jeunesse des années 70 (en ASCII ou étendue pour les caractères français par exemple). Il suffisait de connaitre par coeur la table ASCII de 128 correspondances qui est une norme informatique de codage de caractères des années 60. Et tout cela avec un clavier de 0-9 et A-F soit 16 touches (même pas une touche carriage return  car c'est le code #D ni même une touche espace car c'est #20)!
http://ascii.cl/
Et pour l'histoire:
https://fr.wikipedia.org/wiki/American_Standard_Code_for_Information_Interchange

C'était clair, il y avait celui qui tapait ses idées au kilomètre puis celui qui mettait en forme.

que du text mis en forme (et un peu de "PAO") et comparaison des softs

Si on a que text (par exemple ASCII ou UTF-8) c'est assez simple.
Avec du balisage léger et des transcodeurs, on a du Hub-text.
voir une liste partielle des output formats:
https://en.wikipedia.org/wiki/Lightweight_markup_language

https://en.wikipedia.org/wiki/Comparison_of_document_markup_languages

https://en.wikipedia.org/wiki/Comparison_of_documentation_generators
(and  programming languages).
example: ROBODoc is a documentation tool similar to Javadoc and licensed under the GPL. It is used to extract API documentation from source code. It can be used with any language that supports comments and works by extracting specially formatted headers. These are then reformatted into HTML, DocBook, TROFF, ASCII, LaTeX, PDF, or RTF.
It can be used to document any programming artifact, such as: classes, functions, tests, makefile entries, etc.
ROBODoc works with C, C++, Fortran, Perl, shell scripts, Assembler, DCL, DB/C, Tcl/Tk, Forth, Lisp, COBOL, Occam, Basic, HTML, Clarion, and any other language that supports comments.
https://en.wikipedia.org/wiki/ROBODoc


Une analyse que je partage

Comparaison des langages de balisage (markup) léger (lightweight) : Txt2tags, Pandoc, Docutils, AsciiDoc, Deplate, Stx2any, AFT, Markdown et Textile:
http://fgallaire.flext.net/comparaison-langage-balisage-markup-lightweight-leger-txt2tags-pandoc-docutils-asciidoc-deplate-stx2any-aft-markdown-textile/

La bureautique est la principale utilisation de l’informatique depuis sa création. Pourtant, les outils majoritairement utilisés dans ce domaine, les logiciels de traitement de texte WYSIWYG comme LibreOffice ou MS word, laissent la majorité des informaticiens et des ergonomes totalement désespérés.
Ces logiciels ont en effet un nombre de défauts très important : ils font se concentrer sur la forme et non sur le fond, leur résultat final ne correspond souvent pas à ce qui est affiché, ils sont incompatibles entre eux, ce sont d’énormes usines à gaz, ils ne fonctionnent qu’en mode graphique, etc.

Il a donc fallu penser à une manière de donner ces instructions de mise en forme au sein du fichier texte lui-même, et c’est ainsi que sont apparus les langages de balisage (markup), dont les plus connus sont HTML (inventé en 1991 par Tim Berners-Lee) et LaTeX (créé en 1985, et basé sur TeX, inventé par le grand Donald Knuth en 1977), et dont la première grande figure fut Roff, un programme Unix historique développé à partir de 1961, et dont la version GNU, Groff, est installée par défaut sur toutes les distributions GNU/Linux, puisqu’on l’utilise encore pour les pages de man des logiciels.

Ces langages représentent une nette amélioration, mais ont tous un gros problème : ils sont gênants ! On ne retrouve plus aussi facilement son contenu au milieu de toutes ces balises supplémentaires, sans parler du fait que les syntaxes complexes ouvrent la voie à de nombreuses erreurs de compilation.

C’est en 1995 que l’on trouva la solution de ce problème, avec la création du premier langage Wiki, dont le but principal était de permettre l’édition facile de pages web par tout un chacun, et dont l’utilisateur actuel le plus célèbre est l’encyclopédie libre Wikipédia. S’il y a presque autant de syntaxes différentes que de logiciels Wiki, elles ont toutes la caractéristique d’utiliser des caractères textuels simples et intuitifs pour donner les indications de formatage du texte.
http://www.wikicreole.org/wiki/Reasoning

https://www.mediawiki.org/wiki/Help:Formatting
https://fr.wikipedia.org/wiki/Aide:Syntaxe_(wikicode)
https://fr.wikipedia.org/wiki/Aide:Ins%C3%A9rer_un_tableau_(wikicode,_avanc%C3%A9)
https://fr.wikipedia.org/wiki/Mod%C3%A8le:BUtilisateur
https://www.mediawiki.org/wiki/MediaWiki/fr

J'ai toujours aimé le principe du "folding editor".
le premier fut STET  'STructured Editing Tool' de 1977
https://en.wikipedia.org/wiki/STET_(text_editor)
A folding editor is a text editor which supports text folding or code folding, a mechanism allowing the user to hide and reveal blocks of text—usually named. Typically this is done to allow the user to better picture the overall structure of a document or program.
Folding is provided by many modern text editors, and syntax-based or semantics-based folding is now a component of many software development environments...
https://en.wikipedia.org/wiki/Folding_editor


Mais pourquoi limiter ces langages de balisage léger à la seule génération de HTML ? Pourquoi ne pas utiliser la même syntaxe pour différentes cibles (appelées backends, targets ou writers selon les logiciels), de manière à obtenir aussi bien une page web en HTML, qu’un document en LaTeX pour l’impression, ou qu’une page de man pour un logiciel ? Ce sont les logiciels qui poursuivent ce but qui m’intéressent, ils constituent pour moi l’avenir de la bureautique informatique, et j’ai été amené à les comparer pour en choisir un dans lequel m’investir comme développeur.

Trois d’entre eux, Docutils, Deplate et Pandoc, ont un design évolué, avec une machine à états finis pour laquelle on peut écrire de nouveaux readers et writers de manière parfaitement propre. Cependant, malgré leurs grandes qualités, Deplate est un projet trop confidentiel (ainsi il n’est incompréhensiblement pas présent parmi les pourtant si nombreux paquets Debian), et je ne me sentais pas à la hauteur pour m’investir dans un projet comme Pandoc, totalement écrit en Haskell, qui est un langage de programmation complexe que j’aimerais beaucoup utiliser.
Je détaillerai Pandoc ci-dessous.

Txt2tags

J’ai rajouté dans ce comparatif Markdown et Textile, puisqu’ils ont chacun une implémentation en Python, mais ne générant que du HTML, ils ne m’intéressaient pas vraiment. AsciiDoc et Txt2tags ont un peu la même architecture, avec un gros fichier principal faisant tout le travail, que l’on peut configurer, respectivement avec un fichier .conf et deux dictionnaires Python (un pour les Tags et l’autre pour les Rules), pour créer de nouvelles cibles. AsciiDoc et Txt2tags sont donc plus aisés à prendre en main et à modifier rapidement que Docutils, qui est une très belle et très bien architecturée machine à états objet, mais aussi plus difficile à appréhender.
De plus, comme je désapprouvais totalement la politique de licence domaine publique de Docutils, il ne me restait plus qu’à faire mon choix entre Txt2tags et AsciiDoc. C’est principalement l’orientation très DocBook (un format ne m’intéressant personnellement pas du tout) d’AsciiDoc, et d’autres détails, comme la localisation en de nombreuses langues de Txt2tags et sa plus grande simplicité, qui m’ont finalement fait choisir Txt2tags.

Ce choix est confirmé par une étude plus avancée des différentes syntaxes. Ainsi alors que la syntaxe reST de Docutils ne dispose que de :

*italique* et **gras**

Txt2tags est beaucoup plus riche :

//italique// **gras** __souligné__ et --barré--

Le codage visuel est bien meilleur, et le compréhension instantanée avec la syntaxe de Txt2tags, puisque les slashs donnent l’impression penchée de l’italique, les étoiles imitent la surcharge du gras, les underscores donnent l’impression de soulignement, et les moins apparaissent comme une barre. De plus, l’utilisation généralisée des caractères de balisage en doubles, permet de lever à peu de frais un maximum d’ambiguïtés syntaxiques.

insertion d'une image est beaucoup plus simple Txt2tags
[[picture.png] http://fgallaire.flext.net]

Leur implémentation en Python permet à Txt2tags, reST (par Docutils) et AsciiDoc d’être utilisables à la fois comme logiciels de bureautique multiplateforme (Linux, Mac OS X, Windows et *BSD) et pour le web côté serveur. Depuis 2012, une implémentation de txt2tags en PHP est disponible, développée par Petko Yotov (le mainteneur et principal développeur de PmWiki) et sponsorisée par Eric Forgeot. Grâce aux nombreux efforts de ce dernier, il existe maintenant plusieurs implémentations de la syntaxe Txt2tags en JavaScript, avec une démo parfaitement fonctionnelle des possibilités de rendu côté client en temps réel. Et Matthew Pickering a quant à lui écrit un reader Txt2tags pour Pandoc.
En face, Markdown est représenté par une armada d’implémentations dans tous les langages utilisés sur le web côté serveur, et aussi en JavaScript côté client pour des prévisualisations efficaces sans Ajax, mais seul Pandoc, qui n’est pas si facile à compiler sur toutes les plateformes, propose autre chose qu’un rendu en HTML.
Je vais bien sûr continuer à travailler sur le logiciel Txt2tags, mais une implémentation de la syntaxe Txt2tags dans un parser Docutils, pour toucher directement toute la communauté des développeurs Python qui documentent leurs projets, et pouvoir bénéficier ensuite du sublime Sphinx, est un projet qui me motive de plus en plus.
Enfin, je suis toujours un peu nostalgique devant ce screenshot, parce que c’est en le voyant, avec en haut à gauche le fichier avec les balises, et en bas à droite celui avec le résultat texte brut, que j’ai pris conscience que Txt2tags faisait bien ce que j’espérais, et que comme en plus il était en Python, ce serait probablement le logiciel auquel j’allais contribuer !

Pandoc

Pandoc is a command-line tool. There is no graphic user interface. 
Pandoc is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library. It can read MarkdownCommonMarkPHP Markdown ExtraGitHub-Flavored MarkdownMultiMarkdown, and (subsets of) TextilereStructuredTextHTMLLaTeXMediaWiki markupTWiki markupHaddock markupOPMLEmacs Org modeDocBookMusetxt2tagsVimwikiEPUBODT, and Word docx; and it can write plain text, MarkdownCommonMarkPHP Markdown ExtraGitHub-Flavored MarkdownMultiMarkdownreStructuredTextXHTMLHTML5LaTeX (including beamer slide shows), ConTeXtRTFOPMLDocBookOpenDocumentODTWord docxGNU TexinfoMediaWiki markupDokuWiki markupZimWiki markupHaddock markupEPUB (v2 or v3), FictionBook2Textilegroff man, [groff ms], Emacs Org modeAsciiDocInDesign ICMLTEI SimpleMuse and SlidySlideousDZSlidesreveal.js or S5 HTML slide shows. It can also produce PDF output on systems where LaTeX, ConTeXt, pdfroff, or wkhtmltopdf is installed.
Pandoc's enhanced version of Markdown includes syntax for footnotestables, flexible ordered listsdefinition listsfenced code blockssuperscripts and subscriptsstrikeoutmetadata blocks, automatic tables of contents, embedded LaTeX mathcitations, and [Markdown inside HTML block elements][Extension: markdown_in_html_blocks]. (These enhancements, described further under Pandoc's Markdown, can be disabled using the markdown_strict input or output format.)
In contrast to most existing tools for converting Markdown to HTML, which use regex substitutions, pandoc has a modular design: it consists of a set of readers, which parse text in a given format and produce a native representation of the document, and a set of writers, which convert this native representation into a target format. Thus, adding an input or output format requires only adding a reader or writer.
Because pandoc's intermediate representation of a document is less expressive than many of the formats it converts between, one should not expect perfect conversions between every format and every other. Pandoc attempts to preserve the structural elements of a document, but not formatting details such as margin size. And some document elements, such as complex tables, may not fit into pandoc's simple document model. While conversions from pandoc's Markdown to all formats aspire to be perfect, conversions from formats more expressive than pandoc's Markdown can be expected to be lossy.
This document is for people who are unfamiliar with command line tools. Command-line experts can go straight to the User’s Guide or the pandoc man page:

Modules 

In contrast to most existing tools for converting Markdown to HTML, pandoc has a modular design: it consists of a set of readers, which parse text in a given format and produce a native representation of the document, and a set of writers, which convert this native representation into a target format. Thus, adding an input or output format requires only adding a reader or writer.

Ref.

Pandoc’s enhanced version of Markdown 

Pandoc’s enhanced version of Markdown includes syntax for footnotes, tables, flexible ordered lists, definition lists, fenced code blocks, superscripts and subscripts, strikeout, metadata blocks, automatic tables of contents, embedded LaTeX math, citations, and Markdown inside HTML block elements. (These enhancements, described further under Pandoc’s Markdown, can be disabled using the markdown_strict input or output format.)

Tricks

you have a long markdown file in GitHub and want to have a TOC, you can use 
pandoc -t markdown_github --toc -o example-with-toc.md example.md

Using Markdown Templates

Math in Pure Markdown


Friday, February 10, 2017

caractères « exotiques » dans word et équations scientifiques


Vérifier la compatibilité des polices

Contexte

Vous ne parvenez pas à imprimer un document Word ou celui-ci s’imprime mais une série de caractères « exotiques » a remplacé votre texte.

1ère solution : substituer les polices


  1. Ouvrez le document qui pose problème
  2. Allez dans le menu Word > Préférences > Compatibilité > bouton Substitution de polices.
  3. Si nécessaire, Word demandera de remplacer les polices du document par les polices disponibles sur votre système
  4. Sauvegardez et imprimez le document

2ème solution : exécuter le rapport de compatibilité


  1. Ouvrez le document qui pose problème
  2. Allez dans le menu Affichage > Boîte à outils > Rapport de compatibilité
  3. Cliquez sur le bouton Vérifier le document
  4. Sauvegardez et imprimez le document


https://people.unil.ch/jacquelinefrey/2014/04/word-2011-compatibilite-des-polices/

voir aussi
http://forum.macbidouille.com/index.php?showtopic=381949

pour les équations
https://forum.openoffice.org/en/forum/viewtopic.php?t=41395

editeur d'équation
By default, MathType equations are typeset in Times New Roman, with Symbol used for symbols and Greek. Equations may also be typeset in Euclid, a modern font like Computer Modern used in TeX, and this is included with the software. Roman characters (i.e. variable names and functions) may be typeset in any font that contains those characters, but Greek and symbols will still use Times or Euclid.
In applications where no other possibility is available, such as OpenOffice.org for Mac, Design Science recommends exporting equations as images and embedding those images into documents.
MathType 5.0 (2001); MathType 6.0 (2007); MathType 6.5 (2008); MathType 6.6 (2009); MathType 6.7 (2010); MathType 6.8 (2012); MathType 6.9 (2013).
MathType also supports the math markup languages TeX, LaTeX and MathML. LaTeX can be entered directly into MathType, and MathType equations in Microsoft Word can be converted to and from LaTeX.
http://www.dessci.com/en/products/mathtype/features.htm#type_tex_in_word
https://en.wikipedia.org/wiki/MathType

pour les directories des fonts
https://support.apple.com/en-us/HT201722

Sunday, January 29, 2017

exporter format(s) Equation word, différentes versions de word et indesign. Publier un livre d'équations (exemple FCLA)



Introduction

Ma solution pour récupérer avec le moins de perte des équations des vieux fichiers word (<2007) est celle-ci.

Ouvrir le fichier .doc, le sauvegarder en .docx.
Garder cet original. L'équation y est sous format pas sauvegardable en latex ou MathML, mais on peut encore éditer (avec du word<2015)...
Sélectionner l'équation.
  • soit copier (en fait word copie en pdf) vers acrobat
  • soit enregistrer comme image et sélectionner pdf
Option.
Vous pouvez aller dans acrobat
et créer le pdf à partir du clipboard ou choisir ce fichier (les deux sont identiques)
Cette méthode (avec menu fichier/propriétés) permet 
  • de voir 
    • la qualité du pdf les apparences du pdf suivant le zoom
    • les polices incorporées
  • de mettre des metadonnées.
Dans InDesign insérer le pdf dans un bloc.

Le monde des éditeurs d'équation dans les versions de word

Microsoft Word ≥2007 prend en charge l’écriture et la modification des équations directement. Par conséquent, l’éditeur d’équations n’est pas utilisé, mais à la place des équations sont modifiées directement à partir de Word. Pour ce faire, cliquez sur l’onglet Insertion, puis cliquez sur le bouton équation.

Si vous avez écrit une équation à l’aide de Microsoft Equation 3.0 (en fait l'éditeur d'équation de Microsoft Word est une version limitée de MathType 3.0) dans une version antérieure de Word, cependant, vous avez besoin d’utiliser "Equation 3.0" pour modifier l’équation.

Une équation écrite avec Microsoft Éditeur d'équations 3.0

Les vieux fichiers (par exemple sous word X (2000)) avaient cet éditeur.
Depuis 2007 c'est un nouveau format OMML (Office MathML; voir ci-dessous).

Dans office 2011 c'est la version 14.2.0 (de l'ancien éditeur "3.0") qui ouvre ces vieux formats:



Double-cliquez sur l'équation à modifier.

Apportez les modifications souhaitées.
---
Si on a un .doc ancien, faire un clic droit (commande clic sur mac), dans le menu choisir convertir.

Si vous sauvez le .doc en .docx
et refaite l'opération, c'est un peu différent:

Pour les équations réalisées sous word ≥2007, on est en OMML (voir ci-dessous).
L'apparence est alors complètement différente (voir la première image du haut):


Pour convertir des anciennes équations (editeur equation en fait mathtype) en OMML

Je ne sais pas comment faire en mode batch par lot (peut-être avec GrindEQ Math) mais vous pouvez le faire une par une en configurant les préférences de copier/coller de MathType (dans le menu Préférences de MathType ). À copier comme MathML. Il ya 3 sections de cette boîte de dialogue, et dans la section du milieu, nommée MathML ou TeX, il ya 3 différents choix MathML. Je recommande l'attribut 'namespace attr' parce qu'il est le plus universellement accepté des 3. En fait, si vous utiliserez Word 2016 pour Mac, c'est le seul des 3 qui fonctionnera.
Ouvrez l'équation dans MathType et sélectionnez toute l'équation. Copiez l'équation, puis cliquez de nouveau dans le document Word et collez-le, si vous avez MathType installé dans Word, vous obtiendrez une fenêtre vous demandant si vous voulez une équation MathType ou OMML:
Il ya aussi une option pour «se rappeler par choix», donc à moins que vous souhaitiez voir cette boîte de dialogue à nouveau, cliquez sur cette option.
(Si vous n'avez pas MathType installé dans Word, vous n'obtiendrez pas cette fenêtre, et devrait simplement se retrouver avec une équation OMML).

https://www.quora.com/What-is-the-way-to-convert-mathtype-equation-to-equation-MS-word-converter

en mode batch

On choisit tout le texte avec les équations et avec mathType on choisit dans le menu "convert equations" avec un format  “MathML 2.0 (no namespace)”.
Hélas il faut encore faire des manip de remplacement et une macro copier/coller:
https://blogs.msdn.microsoft.com/murrays/2007/02/11/converting-equations-from-mathtype-to-word-2007s-equation-format/
a. Find “<” and replace with “<mml:”     (this will affect any “<” marks in the text that are not inside equations. Easy to find later.
b. Find “<mml:/” and replace with “</mml:”
c. Find “<mml:math” and replace with “<mml:math xmlns:mml=”http://www.w3.org/1998/Math/MathML “
d. Be careful to not allow Word to change the quotation marks in the above text to “smart quotes” (Smart quotes have a more professional look and also slant to the appropriate sides). The equation capability needs the quotation mark to be the standard plain quotation mark shown above. To stop Word 2007 from doing this go into the dialog for the “AutoCorrect” feature, and in the “AutoFormat As You Type” tab, uncheck the “Straight quotes with smart quotes” selection.
3. Macro for equation conversion
Open the document in Word 2007 and convert it to become a Word 2007 document (can’t do the following in compatibility mode). Start recording a macro and do the following for the first equation:
a. Open the Find feature, turn on wildcard & ignore whitespace selections, enter “?mml:math*/mml:math?” into the Find field and push Find. The first block of Mathml code should now be highlighted.
b. Push Ctrl+X to cut the selected text.
c. Push Alt+= to insert an equation.
d. Select paste special and paste as unformatted text (in majority of cases the mathml code in question will now appear as a human readable equation).
Stop recording the macro, close the Find feature dialog.
4. Fix an error in the Macro recording
For some reason the macro capability in Word does not remember the “paste special” selection we made while recording the macro. This a known issue. To fix it see the following link:
http://www.latext.com/pm/comments/M1107_0_1_0_C/
5. Assign the macro to a button or keystroke combination.
See Word help on how to do this.
6. Use the button to convert equations.
I chose to convert one equation at a time to make sure everything came out as expected. Using the side-by-side view, I referred to an untouched version of the original document (opened in compatibility mode). So I sat there and repeatedly pushed my new macro button and majority of the time the Mathml code would be translated into equations. I could confirm with a quick glance in the side-by-side view that the translations were successful.

Comments:
a. Some accent marks came out a bit weird, but no reason to edit them per se.
c. Some accent marks were almost invisible although they had entry fields created for them in the Word 2007 equations. I would manually fix those. After some trial and error I became quite proficient in editing equations in Word 2007.
b. Out of the approx. 700 equations, 10 Mathml translations did not translate. I re-did those manually.
c. If an equation was originally in a bulleted list, the Mathml code would now be in a long bulleted list. I would select the whole block of Mathml code, make it un-bulleted, move the cursor in front of the Mathml code, and then push the macro button.
d. This proceduce caused paragraphs to be broken into parts when the original MathType equations were in-line (inside paragraphs of text). This required some deletion of whitespace to re-assemble the paragraphs.
e. This took about 2 hours, but my team is now able to be much more productive. Here I am also measuring the productivity impact on my business when errors are made in documentation of mathematical formulations. These will make it into software products and cause all kinds of issues, worries, and possibly financial harm. These are errors that are frequently made when people are editing cryptic Latex source code, or when using the MathType capability with Word. In the latter case it is most often due to the equations they are working with on the screen being rendered worse than the surrounding text and/or the user has to focus on entering equations very carefullly as not to trigger software issues that arise when 100s of equations are present.

GrindEQ Math Utilities

MathType-to-Equation 2016
Shareware 29€ (academic price)

GrindEQ Math Utilities you can:
  • Convert Microsoft Word documents to LaTeX, AMS-LaTeX, or TeX format: Word-to-LaTeX;
  • Convert LaTeX, AMS-LaTeX, or TeX documents to Microsoft Word format: LaTeX-to-Word;
  • Convert MathType™ objects to Microsoft Equation format and 
  • old Microsoft Equation 3.x objects to Microsoft Equation 2007/2010/2013 format: MathType-to-Equation;
    http://grindeq.com/index.php?p=mathtype2equation
    Works with Microsoft Word XP/2003/2007/2010/2013 and Microsoft Windows XP/2003/Vista/7/8/10.
    Online Conversion Service (not free)
    http://grindeq.com/index.php?p=service
  • Perform automatic cross-references;
  • Extract Microsoft Word images and figures: Image-to-PostScript;
  • Normalize Microsoft Equations 3.x: Normalizer;
http://grindeq.com/

Utiliser les fonctionnalités "équations" Office Word 2010 

Lorsque vous ouvrez un document qui a été écrite dans une version antérieure de Word, vous ne pouvez pas utiliser les fonctions de l’éditeur d’équation amélioré pour l’écriture et la modification des équations, sauf si vous convertissez votre document au nouveau format. Pour convertir votre document, procédez comme suit :

Cliquez sur l’onglet fichier, puis cliquez sur convertir.

Si vous êtes invité, cliquez sur OK.

Cliquez sur l’onglet Fichier, puis sur Enregistrer.

REMARQUE : Si vous convertissez et enregistrez votre document dans un fichier Word 2010, puis ajoutez des équations, vous ne serez pas en mesure d’utiliser les versions antérieures de Word pour modifier un des nouvelles équations.

Ref.
https://support.office.com/fr-fr/article/O%C3%B9-se-trouve-l-%C3%89diteur-d-%C3%A9quations-6ae2a78c-9185-4d43-9150-8559301939c8

office 2016

I installed Office for Mac 2016 on OS X Yosemite. Now I can't edit equations that were created with the Equation-Editor 3.0 object. It is also not possible to insert it because it is not available in the "Insert Object Type" list. The new equation editor is not really an alternative because I have to edit a huge amount of publication with equations that are Equation-Editor 3.0 objects.

answer march 2016:
Before I go on, I realize the term Equation Editor is potentially confusing here, since there are 2 of them. In my response below, I will use that term only to refer to our equation editor -- the one that has been packaged with Microsoft Office since Office 2.0. This is the one that has a similar appearance to, and looks somewhat like a cut-down version of, MathType. The "new equation editor" that Microsoft introduced with Word 2007 on Windows, and is now integrated into Word 2011 and 2016, is correctly called the "OMML editor", so that's the term I'll use below. The OMML editor is a Microsoft creation, not a Design Science one.

  1. It's completely incorrect that the Equation Editor license ran out, expired, was canceled, or anything of the sort. I know at least 2 people in this thread, and would vouch for their credibility. I'm sure everyone else here just wants the truth as well, so I don't think it's important where the "expired license" rumor began, but I just want you to know it's not true. This is not why Equation Editor (aka Microsoft Equation 3.0) is missing from Office 2016 for Mac.
  2. It is correct that the OMML editor cannot edit Equation Editor equations. Nor can it edit MathType equations.
  3. It's correct that the latest version of MathType for Mac (version 6.7h) cannot integrate into Office 2016 for Mac.
  4. It's not correct that it's possible to use MathType 6.7h with Word 2016 by going to the Insert Object dialog. The only objects listed on that dialog are Word and Excel objects. MathType is not listed there, and cannot be added to the dialog. (Nor is Equation Editor in that list.)
  5. One of John Korchok's replies is so good that I'll just repeat it here, to emphasize why MathType does not [yet] work with Word 2016, and why it's taking so long to get it there: "Office 2016 for Mac is unique in that it follows Apple's new protocols for sandboxing applications. From what I gather, this is making it difficult to implement Add-Ins, MathType among them. I know that 2016's VBA capabilities are severely compromised, and many Add-Ins depend on VBA." We're working on it! In fact, we want MathType to integrate into Office 2016 just as much as you want to be able to use it there. We're just not there yet. We're working with Microsoft to make it happen.
  6. Yes, it's possible to provide a stand-alone version of Equation Editor, and if you have or had Office 2011 installed, you probably still have one. It won't work with Office 2016 though -- not if you want an equation you can edit, that is. Whatever you create in Equation Editor and paste into Word 2016 will paste as an image. If you need to edit it, you'll need to replace it with a completely different one. Also, it will not be nicely-aligned vertically with the text of your document.
  7. As John K also said, "However, if you're in love with Equation Editor 3, you can buy MathType. It has all of the features of EE3, plus more." That's very true, but like I've already said, it doesn't yet work with Office 2016. (There are some things that will work, and the list is somewhat long, so if you'll write us at support at dessci.com, we'll be glad to let you know what works and what doesn't. We can also add you to our list of customers who will get first notification when a compatible version of MathType is ready.)
https://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-mso_mac/word-2016-equation-editor-object-is-missing/510b711d-0c58-4402-8136-d876903b4d4a

OMML (Office MathML) le format 

Office Math Markup Language is a mathematical markup language which can be embedded in WordprocessingML, with intrinsic support for including word processing markup like revision markings.
The OMML format is different from the World Wide Web Consortium (W3C) MathML recommendation that does not support those office features, but is partially compatible
http://dpcarlisle.blogspot.fr/2007/04/xhtml-and-mathml-from-office-20007.html
through XSL Transformations
XSLT (Extensible Stylesheet Language Transformations) is a language for transforming XML documents into other XML documents, or other formats such as HTML for web pages, plain text or XSL Formatting Objects, which may subsequently be converted to other formats, such as PDF, PostScript and PNG

tools are provided with office suite and are automatically used via clipboard transformations.

https://en.wikipedia.org/wiki/Office_Open_XML_file_formats#Office_MathML_.28OMML.29

Office 2007 also ships XSLTs to convert OMML to MathML (omml2mml.xsl) and MathML to OMML (mml2omml.xsl). These XSLTs are used, for example, by Word for MathML clipboard support. They are stored in the subdirectory C:\Program Files\Microsoft Office\Office12. Naturally the MathML resulting from OMML in this way is missing content like images, revision markings, footnotes, etc., but for many purposes that’s acceptable. It just isn’t acceptable in the Word docx format, since this format has to reproduce exactly what the user created. The docx format and OMML are international standards and are thoroughly documented as noted in previous blog posts.
http://blogs.msdn.com/murrays/archive/2007/01/12/office-math-rtf-and-omml-documentation.aspx
One of the very nice features of XML is that it can be translated relatively easily from one kind of XML to another. David Carlisle has used this flexibility to advantage in converting Word’s HTML to HTML with embedded MathML. Word’s HTML contains the math zones in two formats: OMML in comments and images. David’s program extracts the OMML, uses the omml2mml.xsl to convert to MathML and puts it all back together.

https://blogs.msdn.microsoft.com/murrays/2007/06/04/science-and-nature-have-difficulties-with-word-2007-mathematics/

CONVERT OMML To LATEX and MATHML

  1. Write your document in Word 2007, save as web page file.htm .
  2. Use tagsoup
    https://hackage.haskell.org/package/tagsoup
  3. to get some usable XML from this output. java -jar tagsoup-1.1.jar --lexical --output-encoding=iso-8859-1 file.htm > temp.xml
  4. Use the supplied xhtml-mathml stylesheet to do some further cleanup and apply the Microsoft supplied omml2mml.xsl stylesheet to the math fragments. java -jar saxon8.jar -o file.xml temp.xml xhtml-mathml.xsl

More tools

omml2mathml

Small utility to convert from Microsoft's OMML to MathML.

This is by and large a port of the the omml2mathml.xsl XSLT that Microsoft ships with Office and that is in relatively wide use, with a few bugs fixed. This implementation does not require an XSLT processor (I built it because I became tired of XSLT processors that crash)
https://github.com/scienceai/omml2mathml

omml2LateX

Convert omml to latex for displaying in web browsers (KaTeX)
https://github.com/xiilei/dwml

plug-in word and more

price 57$
MathType works with macOS Tiger (10.4.9) or later, including macOS Sierra (10.12).
Microsoft Office 2011 Support: MathType brings back its full functionality, including equation numbering, within Word 2011. MathType is also compatible with Office 2008 but not all features are available.
compatibility: 2002, 2003, 2007, 2008, 2010, 2011, 2013, 2016 (only Win).

Many Other Applications and Websites: MathType also works with over 800+ applications and websites, including:
  • Yahoo Mail, Gmail, Hotmail, Mac Mail, Microsoft Outlook
  • Mathematica, Maple
  • InDesign, QuarkXpress (only export .eps)
  • Blackboard, Moodle, WebAssign
  • Wikipedia, Wolfram Alpha
  • Evernote
Microsoft Office is an office suite that supports a widespread Windows standard for linking and embedding objects called OLE (Object Linking and Embedding). Since MathType equations are natively OLE objects, this means that MathType and Microsoft Office (Word, PowerPoint, Excel) work well together. Note: MathType does not yet work with Office 365/2016 for Mac.

You can insert MathType equations into most Microsoft Office apps in one or more of these ways:
From the MathType toolbar or menu (Word & PowerPoint 2002-2003 and 2011), with the Insert Eqn icon (Word & PowerPoint 2008), or MathType tab on the Ribbon (Word & PowerPoint 2007-2016 for Windows)
Insert > Object in Access & Excel (all versions)
Copy & Paste or Drag & Drop

convert OMML or mathType to LaTeX

just select what you want 


Other aspects than MS office
Many Ways to Work: MathType can add equations to virtually any application or website into which you can paste or drag a graphic in PDF, EPS, or GIF format or in LaTeX or MathML math languages. Check our Works With section for details on how MathType works with your favorite apps and websites.

More Fonts: MathType has hundreds more symbols and templates than Equation Editor. Besides our exclusive Euclid™ math fonts, you can also make use of the 1000s of math symbols in fonts already on your computer, as well as math fonts you can download from the Internet.
Find Symbols: MathType's Insert Symbol dialog allows you to explore the available symbols and insert them with a click or keystroke.

Three Ways to Create Equations
  1. Point-and-Click Editing with Automatic Formatting: Equations can be created quickly by choosing templates from MathType's palettes and typing into their empty slots. MathType applies mathematical spacing rules automatically as you type.
  2. Type TeX or LaTeX: If you already know the TeX typesetting language, you can type it into the MathType window or directly into a Word document. TeX editing can be mixed with point-and-click editing so you get the best of both worlds. You can also paste in equations from existing TeX documents.
  3. Type TeX or LaTeX directly into a Microsoft Word document: With MathType's unique TeX Toggle feature, you can type TeX directly into a Word document. When you are done, use the TeX Toggle command to turn it into a typeset equation. If you want to edit it later, use TeX Toggle again to turn it back into TeX to make your changes.
http://www.mathtype.com/en/products/mathtype_mac/default.htm

with Indesign CS3-CC2017

With MathType you can insert equations as EPS images into InDesign. Using EPS images will allow InDesign to display the equations nicely no matter what form of output you choose.

With MathType and InDesign, you can:
  • Add an equation to InDesign. You can save MathType equations as EPS images that you can place in your InDesign document. You can also copy & paste equations and expressions from MathType directly into InDesign. 
  • Edit an equation in InDesign. If you use the Place command in InDesign, a link to the equation is saved in the document. If you open the original EPS in MathType for editing, after you have finished your changes, closing the window will update the equation in InDesign. How-to
  • Import a Word document with MathType equations into InDesign (Windows only). If you have a Word document with equations, save time by placing the document and equations directly into InDesign, retaining proper vertical alignment on the equations. 
Step-by-step instructions: Using MathType with InDesign
http://www.mathtype.com/en/products/MathType_Mac/works_with.asp#!target=indesign

Example FCLA

With MathType, you can copy equations from FCLA and use the equations in your own work. Once in MathType you can edit the equation or use it in hundreds of other applications and websites.

With MathType and A First Course in Linear Algebra you can (Windows only):
Copy equations from FCLA. You can drag and drop or copy and paste an equation or the MathML from FCLA into MathType and edit or use it in a new document
http://www.mathtype.com/en/products/mathtype_mac/works_with.asp#!target=first_course_linear_algebra

FCLA is a free, university-level linear algebra textbook provided under the GNU Free Documentation License (GFDL).

http://linear.ups.edu/html/fcla.html





Le monde d'Indesign

dans word , ne pas copier/coller l'équation vers inDesign.
si vous cliquez sur l'équation et copier le contenu et coller dans Indesign alors c'est une image qui parait OK.
Toutes les info "math" sont perdus et l'affichage de qualité n'est pas garantie.
Mais surtout cette image n'a pas de lien.

MathTools for InDesign, un plug-in

99€ (1yr)
40€ each reactivation.

Key features (V2)
  • Equations are type composed by InDesign. No inline images!
  • Math Styles (user defined) determine appearance of expressions
  • Integrated MathML support
    • EPUB with MathML
    • HTML with MathML
    • XML + MathML
    • IDML + MathML
  • Imports equations from Word documents
  • Converts placed equation EPS
  • Enterprise Edition: adds scripting and InDesignServer supportWorks with PDF, Fixed Layout EPUB, Folios.
Licensing Terms (V2)
  • Expires after either 1year or 3 months (depends on license bought)
  • Node-locked to a single installation of MathTools
  • Internet access required for initial activation and frequent activation status verification
  • Remote access prohibited
Important Note: MathTools may add MathZones and MathStyles to InDesign documents which - by design (of InDesign) - results in a Plug-In dependency. If InDesign requires MathTools in order to open a document, installing a free MathTools READER solves that issue and avoids loosing all MathStyles and equations.
http://movemen.com/reader

http://shop.movemen.com/MathTools