[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(mgp-users 00450) Re: math?



There are various ways to make the usage of TeX/LaTeX in magicpoint more
comfortable. A small script "tex2eps.sh" is included in the present
magicpoint distribution. It can be used as an argument for the very useful
"%filter" command in *.mgp scripts, and sends everything between the
"%filter ... " and the "%endfilter" lines to the TeX system and generates
EPS output.

I have made trivial modifications to use LaTeX instead of TeX. Since the
shell script "latex2eps.sh" is very short, I have attached it here.

If this approach should be pursued further, the script could be refined

- to check whether the EPS file is still lying around from a previous
presentation and the *.mgp file has not been changed since then. If yes,
the whole procedure could be skipped, thus speeding up magicpoint.

Are there further ideas?

----------------------------------------
Dr. Stephan Buchert
Solar-Terrestrial Environment Laboratory, Nagoya University
Furo-cho, Chikusa-ku, Nagoya 464-8601, Japan
Tel: +81-52-789-4308
Fax: +81-52-789-4311
WWW: http://www.stelab.nagoya-u.ac.jp/~scb

Attachment: latex2eps.sh
Description: Bourne shell script