I have a bunch of documents with a large number of
MathType equations in them. I'm supposed to find each
equation and put a series of underscores next to it
"________" Theis is due to a very messy production
process whereupon all the equations will be "lost". The
idea is that the underscores will serve as a place holder
and the equations can later be inserted by hand as gif files.
If that's all the underscores will be used for, there's really no
need to do it as you describe. MathType will automate this
process for you. Well, the first half of it anyway. In Word 2004,
there's a MathType menu. Near the bottom of this menu is an
"Export Equations" command. Click it. Select a folder to receive
the GIFs, choose GIF as the file format, check the box labeled
"Replace equation with file name", and click OK. After the
conversion process finishes, all of the equations in the document
will have been saved as GIFs in the folder you specify. In the
document, each equation will have been replaced with something
like <<EQN01.gif>>. I don't know of a way to replace each of
these strings with the corresponding GIF; perhaps it can be done
with a macro.
Some other thoughts on this process:
1. Make sure the "File name pattern" will handle as many
equations as you have in your document. Each pound sign
represents a digit, so if you have more than 99 equations, you
need 3 pound signs*. You can put whatever text you want with the
pound signs, but there's a limit of 12 characters, including the
pound signs, so "Equation-###" would work, for example.
*With a single pound sign, the process will still work fine.
Instead of numbering Eqn001, Eqn002, etc., it'll number Eqn1,
Eqn2, ..., Eqn99, Eqn100, etc. Just a matter of preference
really.
2. If you want high-resolution GIFs, be sure to set your GIF
preferences in MathType before you perform the conversion process
outlined above.
3. As always, for a document-modifying process such as this, it's
good to work with a copy rather than the original. I'm sure this
is your practice already, but it bears mentioning anyway.
--
Bob Mathews
Director of Training
Design Science, Inc.
bobm at dessci.com
http://www.dessci.com/free.asp?free=news
FREE fully-functional 30-day evaluation of MathType 5
MathType, WebEQ, MathPlayer, MathFlow, Equation Editor, TeXaide