mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] converting tm to docx...


Chronological Thread 
  • From: VD Ouvaton <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] converting tm to docx...
  • Date: Fri, 14 Jul 2017 13:23:09 +0200
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=ouvaton.org; b=RsyjiwSQOkrG58rvLtPz014T/VMHxZWZ0FWukDCbEH9y3TgcDdIQslLnOB/iTBlQ0E23ayeWLRwr7KpbuNk4SgysXXQ1gSXf3ooT7sauVTuqSRXiuUb1T6YFcwhCCdKsbJrKNWX6UEms/kQSN4zGm9B1vX1iQ5wmquJX4HuFdUw=; h=From:Content-Type:Message-Id:Mime-Version:Subject:Date:References:To:In-Reply-To:X-Mailer:X-PPP-Message-ID:X-PPP-Vhost;


Le 14 juil. 2017 à 09:35, Javier Arántegui <address@hidden> a écrit :

Hi,

I’m curious. Did it work?

Javier

Hi Javier
as i answered on june 27th :
merci Javier it is perfect
not 100% is rendered is Word, but 90% and they are enough for me
very helpful

if i can give more precisions, things that do not work are :
- colored text become black and white texts
- centered blocks become nothing
- € inside an equation gives a problem
- sometime esc-esc& équations do not render
- ° symbol (degrees) gives an error

i speak about equations from texmacs directly exported to .tex and then to .docx with Pandoc

conclusion : the result is 90% perfect, i am really satisfyed, thanks much

Vincent


El 26 jun 2017, a las 10:07, Javier Arántegui <address@hidden> escribió:

Hello,

Try this:

1. Export your document to LaTeX format using TeXmacs.
2. Using pandoc <http://pandoc.org/> convert the latex document to Word format. You can use this command:

pandoc -f latex -o document_name.docx document_nametex

I have tried it with a really simple document (one heading, two lines of text and one simple equation) and it worked fine.

Javier


El 24 jun 2017, a las 7:16, VD Ouvaton <address@hidden> escribió:

hi
in order to be paid for some work i need to export files from tm to docx
i know, it is ugly
even uglier is the fact that the editor accepts anything, including screenshots from each equation
that's a hard an awful job
i was wondering wether it exists in TeXmacs a way to export some document, converting equations to images, to a format that Word can read

i found this option in the html export preferences, and tried the different possibilities :
- with "export equations as mathml" only checked, or with both "export as mathml" and "export as images" checked, Word, at the import of the html, seems to try to convert the equations in text, not correct
- with "export equations as images" only checked, the html generated does not include any picture, so the equations are replaced by "?"

i also tried to export as pdf and then export the pdf to word using zamzar.com, but in this case too, the final docx file contains equations in text format, instead of images

at this point, i dont know how to do

if you have an idea, thanks..

Vincent
––––––––––––––––––––––––––
Vincent Douce
06~13~11~07~26
Bagnères de Bigorre 65200


--
Javier Arántegui
Dept. Tecnologia de Alimentos / Dept. of Food Technology
Universitat de Lleida / University of Lleida (Spain)

Tel. +34 973702595
http://www.tecal.udl.es

Avís legal / Aviso legal / Avertiment legal / Legal notice:


--
Javier Arántegui
Dept. Tecnologia de Alimentos / Dept. of Food Technology
Universitat de Lleida / University of Lleida (Spain)

Tel. +34 973702595
http://www.tecal.udl.es

Avís legal / Aviso legal / Avertiment legal / Legal notice:





Archive powered by MHonArc 2.6.19.

Top of page