Re: Exporting mathematica equations into MathType
- To: mathgroup at smc.vnet.net
- Subject: [mg58380] Re: Exporting mathematica equations into MathType
- From: Mike <m.HoneychurcNOSPAMh at uq.edu.au>
- Date: Wed, 29 Jun 2005 01:38:03 -0400 (EDT)
- Organization: University of Queensland
- References: <d8bcne$fgi$1@smc.vnet.net><d8jlut$t1l$1@smc.vnet.net> <d8m7sp$di6$1@smc.vnet.net> <d9t0uc$j44$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
If you are experiencing problems compiling the TeX output then this needs to be ironed out prior to running latex2rtf. I cannot help you with that but questions relating to TeX have been asked in this group many times so perhaps a search will help you. I recently changed to the latest version of latex2rtf and noticed yesterday that only subscripted and superscripted variables in equations were converted the fields in the RTF file. Maybe I didn't compile latex2rtf correctly because previously the entire equation would appear in the RTF document as a field that could be double clicked and edited in the equation editor. In any case one of the warnings in the notes for latex2rtf is to make sure that the TeX document compiles okay. If problems exist there then no amount of conversion will work. Sorry I can't be of more help. Mike On 29/6/05 12:27 PM, in article d9t0uc$j44$1 at smc.vnet.net, "Mukhtar Bekkali" <mbekkali at gmail.com> wrote: > I tried to use latex2rtf but it did not work. I created very simple > fraction in Mathematica > > \!\(x\_1\/x\_2\) > > Then, I saved it special as test.tex file. Then I opened it in > Scientific Workplace and it shows as a tag named dispSFinmath. > Double-clicking on a tag brings up properties windows that has the > following text > > \dispSFinmath{ > \frac{{x_1}}{{x_2}} > } > > I then used compile and it does not look like it looked in Mathematica. > I decided to skip the step of opening it in Scientific Workplace and > opened it in latex2rtf. I hit run and Command Prompt window pops out > with the following text > > test.tex:31 Unknown style option notebook2e ignored > test.tex:31 Unknown style option latexsym ignored > test.tex:36 Command \dispSFinmath not found - ignored > Press any key to continue . . . > > I hit any key and Command Prompt window disappears and test.rtf file is > created. However, when I open it in Word I see this > > \F(x\s\do5(1),x\s\do5(2)) > > which does not look nearly as the embedded object I thought I would > see. > > Please let me know what I am doing wrong > > Thanks for help, Mukhtar Bekkali > > > > Mike wrote: >> If you save a notebook as TeX you can then use the freeware latex2rtf >> program to convert this to a rich text document which can then be saved as a >> word document. latex2rtf runs on UNIX boxes (eg. I use Mac OS X). I don't >> know if a windows version exists but it would be easy to search and find >> out. >> >> The advantage of doing this compared to saving equations as graphic files, >> or cut and pasting or some other mechanism to get equations from Mathematica >> into >> Word is that latex2rtf converts TeX equations into the "native" equation >> editor format. Therefore you can then double click on them in the resulting >> word/rtf document and edit them in the same way that you would normally edit >> within Word. >> >> Since MathType make the MS Word equation editor you should also be able to >> edit the equations within MathType. >> >> Unfortunately since everyone I collaborate with uses Word I must also use >> this thing but always write papers in Mathematica first and then do the >> conversion >> to Word via TeX and RTF when it comes time to circulate drafts. The only >> problem I have found to date is that multi-line equations, eg.: >> >> X+y=z >> A+b=c >> R+s=t >> (all in one cell) >> >> do not seem to convert. >> >> The conversion literally takes only a couple of minutes. You'll probably >> need to double click on all the embedded equation editor fields to get them >> to display nicely. >> >> Cheers >> >> Mike >> >> On 13/6/05 8:08 PM, in article d8jlut$t1l$1 at smc.vnet.net, "Frank Kampas" >> <fkampas at verizon.net> wrote: >> >>> I agree with Paul Abbot that Word is not very good for publishing technical >>> documents. Sometimes, though, you don't have a choice. I've discovered >>> that Mathematica equations can be copied directly into Word if you copy them >>> as metafiles. >>> >>> >>> "Mukhtar Bekkali" <mbekkali at gmail.com> wrote in message >>> news:d8bcne$fgi$1 at smc.vnet.net... >>>> I am writing my dissertation in Word with MathType 5.2 plugin. I would >>>> like to know if there is a way to export (or copy/paste) Mathematica >>>> equations into MathType so that equations still look nice. >>>> >>> >