Copy link to clipboard
Copied
FM newbie here
Is it possible to convert equations in a Framemaker document into TeX strings? In other words: parse a document for equations and blow them up into equivalent TeX string?
Thanks
phaedo
Copy link to clipboard
Copied
The only FM to LaTex converter that I'm aware of is found on Ken Turner's site at: http://www.cs.stir.ac.uk/~kjt/software/framemaker/
I don't know if it does equations.
Copy link to clipboard
Copied
Thanks, I previously found it but it's only for Unix and the readme page says:
The following information is lost in the translation:
- page layout, including page numbering
- the document date
- frames, including figure contents and mathematics expressions
- markers, including index entries
- table formatting
so I assume equations aren't converted.
Does anyone know another tool to do this type of conversion? Looking at the structure of MIF equation, it shouldn't be very difficult...
Copy link to clipboard
Copied
Phaedo,
You have already looked at the MIF representation, which is also available to API programming methods. Can you give us an example of what you would like to see, i.e. how a MIF construct has to be turned into a TeX string?
- Michael
Copy link to clipboard
Copied
Michael
Thank you for your post. From Adobe's MIF reference guide, here's an example (quadratic roots formula):
What I'd like is a macro or program which interprets the MIF equation structure to produce a TeX math expression. I think I can do it myself (at least for simple equations) but if someone else has already done it, that would save me some time.
Cheers
- phaedo
Copy link to clipboard
Copied
Update: I kept searching for a bit but couldn't find any resource on the web. So I did it myself in VBA and I am sharing this here. If anyone is interested, I could probably open the source code:
http://math.uchicago.edu/~sbossu/misc/MIF2TeX.dot
This does two things:
- Parse a MIF file to replace every equation into a TeX string expression (MIFParseEquations)
- Translate MIF Equation Statements into TeX expressions with a recursive function (MIF2TeX)
Cheers
-phaedo
Copy link to clipboard
Copied
Minor update now available at: http://math.uchicago.edu/~sbossu/misc/MIF2TeX_012.dot
Copy link to clipboard
Copied
Is there a code attached to your document? I would be interested in this program, as LaTeX has much nicer math output than FM equation editor (which, in turn, surpasses Word 2007)
Copy link to clipboard
Copied
My macro only converts FM equations into LaTeX expressions, but not into LaTeX-rendered images... If you want access to the code, send me a private message with some background on what you intend to do with it and I'll respond.
Copy link to clipboard
Copied
i did not rate. better luck to others.
Copy link to clipboard
Copied
Hi phaedo,
Have you found a solution?
Copy link to clipboard
Copied
yes you can download my macro at
http://math.uchicago.edu/~sbossu/misc/MIF2TeX_012.dot
Copy link to clipboard
Copied
Thanks,
I've downloaded it.
Sorry but what should i do tu use it?
Copy link to clipboard
Copied
there are instructions in the document -- anything not clear, let me know
Copy link to clipboard
Copied
I have 2 PC and 2 MAC
I put the file on the 2 PC, one with Word 2010, the other with Word 2000 (necessary for my job).
When i open the 2 Word applications, the macro does not word.
What's my problem?
Thanks for your help.
Copy link to clipboard
Copied
make sure macros are enabled in your security settings
Copy link to clipboard
Copied
It's ok now. Very nice tool.
One question: There's bugs in some equations. Is'it possible to enter in the code to solve them?
I'm ok to pay for it.
Copy link to clipboard
Copied
send me a private message
Copy link to clipboard
Copied
No message
Copy link to clipboard
Copied
This utility is now available for download as MiF2TeX 1.0 at http://www.ogeeconsulting.com/software
(FREEWARE)
Copy link to clipboard
Copied
Bonjour,
Je suis très intéressé par la conversion des documents framemaker vers tex, et la macro que vous avez développée m'intéresse donc beaucoup. Pourriez-vous SVP me fournir un lien actif pour que je puisse la récupérer?
Merci d'avance
Philippe
Copy link to clipboard
Copied
The macro you made is very interesting for me, as I'd like to translate mif file to latex files.
Could you please give to me an active link which could help to get it?
Thanks in advance
Copy link to clipboard
Copied
I am also a bit new to all of this, but it doesn't seem like the program works for things like the matrix algebra function in Framemaker. Any suggestions for the following? For example, the program generates the following latex code:
$ x' x = {3 \matrix 5 \matrix -2 \matrix -1 \matrix 0 \matrix 1 \matrix 2 \matrix -2 \matrix 1 \matrix -1 \matrix 2 \matrix 0 \matrix -2 \matrix -4 \matrix 0 \matrix 4 \matrix 2} {5 \matrix 3 \matrix -2 \matrix -2 \matrix -2 \matrix -1 \matrix 1 \matrix -4 \matrix 0 \matrix -1 \matrix 0 \matrix 1 \matrix 2 \matrix 4 \matrix 2 \matrix 0 \matrix 2} = {3 \matrix 3 \matrix 10 \matrix 5 \matrix 16 \matrix 5 \matrix 10 \matrix 8 \matrix 16 \matrix 8 \matrix 40} $
for latex code, but inside FrameMaker equation 2.3 looks like this:
Copying the parsed MIF file, saving it as RTF in word and then opening it in word, copying the latex code into the equation editor and converting it gives you the following:
Copy link to clipboard
Copied
Hi,
Can you start a new thread for your issue? Your topic is different from that of this existing thread. And the last post in this thread is 6 years old.
Best regards, Winfried
Copy link to clipboard
Copied
@Winfried Reng I wouldn't bother - this really doesn't have anything to do with FM itself - @Phil29097935rx1w you'd be better off contacting @phaedo1732 through their site or by private message.