[OS X TeX] Updated Shell Script for pdftricks

Herb Schulz herbs at wideopenwest.com
Thu Feb 10 17:36:02 CET 2005


Besides the cleaned up code in pdftricks.sty mentioned before I've just
updated the shell script that uses the same processing as pdftricks uses
when \write18 (--shell-escape) is active. The script now also accepts a
directory as input and will process the *-fig*.tex files in that directory.

That way you can process the *-fig*.tex files as a separate operation:

1)Run the your file through pdflatex with the [noshell] option set for
pdftricks (i.e., \usepackage[noshell]{pdftricks}). This will produce the
``tmp.inputs'' file (input by all the *-fig*.tex files) as well as the
*-fig*.tex files for the figures.

2)in Terminal run the script on the batch of figure files or folders of
figure files. This will produce .pdf files for each figure with the correct

3)Run pdflatex on the original file again. Now you'll have a .pdf file with
the figures inserted.

Get it from <http://homepage.mac.com/herbs2/>.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

More information about the macostex-archives mailing list