Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Exporting mathematica equations into MathType

475 views
Skip to first unread message

Mukhtar Bekkali

unread,
Jun 10, 2005, 2:41:50 AM6/10/05
to
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.

Paul Abbott

unread,
Jun 11, 2005, 3:39:32 AM6/11/05
to
In article <d8bcne$fgi$1...@smc.vnet.net>,
"Mukhtar Bekkali" <mbek...@gmail.com> wrote:

> I am writing my dissertation in Word with MathType 5.2 plugin.

Don't do this! -- especially if your field is maths, physics, computer
science or engineering (I wrote my dissertation in Word 1 back in 1986
using a precursor of MathType. Things have improved since then but Word
is still a terrible typesetting program). Use TeX or Mathematica instead.

> 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.

There are -- but this is not a good way to proceed.

Cheers,
Paul

--
Paul Abbott Phone: +61 8 6488 2734
School of Physics, M013 Fax: +61 8 6488 1014
The University of Western Australia (CRICOS Provider No 00126G)
AUSTRALIA http://physics.uwa.edu.au/~paul
http://InternationalMathematicaSymposium.org/IMS2005/

Curt Fischer

unread,
Jun 13, 2005, 5:57:02 AM6/13/05
to
Paul Abbott wrote:
> In article <d8bcne$fgi$1...@smc.vnet.net>,
> "Mukhtar Bekkali" <mbek...@gmail.com> wrote:
>
>
>>I am writing my dissertation in Word with MathType 5.2 plugin.
>
>
> Don't do this! -- especially if your field is maths, physics, computer
> science or engineering (I wrote my dissertation in Word 1 back in 1986
> using a precursor of MathType. Things have improved since then but Word
> is still a terrible typesetting program). Use TeX or Mathematica instead.
>
>
>>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.
>
>
> There are -- but this is not a good way to proceed.

I'm curious about this. Do you recommend doing the actually typing of
the main text in Mathematica? Or writing in Word and copying paragraphs
over to a Mathematica file as they are completed?

I certainly been exasperated with Word a lot when trying to use MathType
or Equation Editor, and would love to use Mathematica, but Word as a lot
of features for text editing that I find very convenient for writing
actual text. How could one emulate field codes, very handy for managing
references, in Mathematica?

--
Curt Fischer

Frank Kampas

unread,
Jun 13, 2005, 6:08:29 AM6/13/05
to
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" <mbek...@gmail.com> wrote in message
news:d8bcne$fgi$1...@smc.vnet.net...

Paul Abbott

unread,
Jun 14, 2005, 5:24:32 AM6/14/05
to
In article <d8jlut$t1l$1...@smc.vnet.net>,
"Frank Kampas" <fka...@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.

Unfortunately metafiles are not portable though. AFAIK, a Word document
with embedded metafiles is not readable under Mac OS X (at least this is
the case for all Word documents that have been sent to me). Of course,
one can always convert the Word document to PDF.

Paul Abbott

unread,
Jun 14, 2005, 5:25:18 AM6/14/05
to
In article <d8jl9e$srp$1...@smc.vnet.net>,
Curt Fischer <tentr...@gmail.NOSPAM.com> wrote:

> I'm curious about this. Do you recommend doing the actually typing of
> the main text in Mathematica? Or writing in Word and copying paragraphs
> over to a Mathematica file as they are completed?

Typing the text in Mathematica. For a nice example, see Peter Falloon's
MSc thesis at

http://physics.uwa.edu.au/~falloon/publications/publications.html

Actually Publicon <http://www.publicon.com> is a much better option.



> I certainly been exasperated with Word a lot when trying to use MathType
> or Equation Editor, and would love to use Mathematica, but Word as a lot
> of features for text editing that I find very convenient for writing
> actual text. How could one emulate field codes, very handy for managing
> references, in Mathematica?

You can add arbitrary tags to any cell and use these for referencing.
However, there are much nicer automatic tools for handling references in
Publicon (which generates Mathematica Notebooks).

Mike

unread,
Jun 14, 2005, 5:26:03 AM6/14/05
to
On 13/6/05 7:57 PM, in article d8jl9e$srp$1...@smc.vnet.net, "Curt Fischer"
<tentr...@gmail.NOSPAM.com> wrote:

Seemlessly incorporating references from eg. Endnote is probably the only
advantage that Word has over Mathematica ...that I can think of.

You can incorporate references into Mathematica documents using counters but it is
not as smooth as using Endnote+Word. One way to do it would be to create a
reference cell style. Place each reference in a reference cell with a cell
tag and use counters to refer to the reference (cell tags) throughout the
notebook.

Cheers

Mike


Mike

unread,
Jun 14, 2005, 5:26:49 AM6/14/05
to

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...@smc.vnet.net, "Frank Kampas"

Mukhtar Bekkali

unread,
Jun 28, 2005, 10:27:24 PM6/28/05
to
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

unread,
Jun 29, 2005, 1:50:22 AM6/29/05
to
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...@smc.vnet.net, "Mukhtar Bekkali"

Mukhtar Bekkali

unread,
Jul 1, 2005, 2:10:21 AM7/1/05
to
i found latex2word and it seems to work better than latex2rft

0 new messages