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 

8 comments:

  1. great .. thanks admin for this great sharing.. MathType is a powerful interactive editor for mathematical equations that enables the creation of mathematical notation for web pages, word processing and other documents.... here you can get mathtype latest version .. MathType Product Key

    ReplyDelete
  2. Very nice and useful article .. keep sharing this type of articles
    word document editor

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. I truly in the end your writing style, all-powerful opinion, thankyou for posting. free word converter

    ReplyDelete
  5. Pre analytics help and math help will be vital in your adventure to turning into an effective financier. In the event that you need to go some place and become well known, at that point you need to comprehend math since it is required in a ton of callings, not just in advanced science and in banking.
    solver

    ReplyDelete
  6. Our social media PowerPoint template come with high-quality layouts which makes it attractive for the audience.

    ReplyDelete
  7. Science Hubs And Hub Sciences: Exporter Format(S) Equation Word, Différentes Versions De Word Et Indesign. Publier Un Livre D'Équations (Exemple Fcla) >>>>> Download Now

    >>>>> Download Full

    Science Hubs And Hub Sciences: Exporter Format(S) Equation Word, Différentes Versions De Word Et Indesign. Publier Un Livre D'Équations (Exemple Fcla) >>>>> Download LINK

    >>>>> Download Now

    Science Hubs And Hub Sciences: Exporter Format(S) Equation Word, Différentes Versions De Word Et Indesign. Publier Un Livre D'Équations (Exemple Fcla) >>>>> Download Full

    >>>>> Download LINK BS

    ReplyDelete
  8. Science Hubs And Hub Sciences: Exporter Format(S) Equation Word, Différentes Versions De Word Et Indesign. Publier Un Livre D'Équations (Exemple Fcla) >>>>> Download Now

    >>>>> Download Full

    Science Hubs And Hub Sciences: Exporter Format(S) Equation Word, Différentes Versions De Word Et Indesign. Publier Un Livre D'Équations (Exemple Fcla) >>>>> Download LINK

    >>>>> Download Now

    Science Hubs And Hub Sciences: Exporter Format(S) Equation Word, Différentes Versions De Word Et Indesign. Publier Un Livre D'Équations (Exemple Fcla) >>>>> Download Full

    >>>>> Download LINK vq

    ReplyDelete