[texhax] Extract equations as EPS from larger doc?

Uwe Lueck uwe.lueck at web.de
Fri Jun 19 20:32:53 CEST 2009

My previous idea more specific, without regarding actual facilities of the extract package: 

redefine the equation environment (resp. others) so it: 

1. writes a file whose <filename> contains the equation number (ususually just expansion of \theequation) and whose content is 

    \documentclass ... \begin{document}
    $$<equation content>\eqno<expansion of \theequation>$$

2. adds `latex <filename>' to a batch file (or/plus something producing the .eps version if you really need it)

... clearer? 

HTH ... Uwe. 

-----Ursprüngliche Nachricht-----
Von: "Uwe Lueck" <uwe.lueck at web.de>
Gesendet: 19.06.09 15:19:17

"Philipp K. Janert" <janert at ieee.org> schrieb am 17.06.2009 18:05:51:
> "I want to extract EPS of individual equations from
> a multipage PostScript document."

I don't know much of these things, only were busy with parsing .eps with TeX as in the graphics package ... 

.. but this looks like throwing the logical information away and then trying to retrieve it from the glyph placement information, so seems not so sound ... 

The `extract' package -- www.ctan.org/pkg/extract -- seems to address extracting information directly from the LaTeX commands. I cannot judge right now whether it is developped enough right now to handle your task immediately. 

HTH -- Uwe. 

More information about the texhax mailing list