[OS X TeX] system calls

ccr-mactex at creutzig.de ccr-mactex at creutzig.de
Thu Apr 18 07:01:25 EDT 2002

Andy White <bad_machine at mac.com> writes:

> \begin{tabular}
> 	`perl table2tex.pl foo.dat` % or whatever the shell escape is
> \end{tabular}

 Sorry, you can't use the zcat style solution here, since that
depends on support from dvips.  What you can do is to enable \write18
in your texmf.cnf and then do something like

\immediate\write18{perl table2tex.pl foo.dat > foodat.tex}

 But, really, I would suggest you use a makefile instead to call the
converter before starting the TeX run.  A simple one could look like

paper.dvi: paper.tex chapter1.tex foodat.tex
           latex $<
           latex $<
           latex $<
           makeindex $<
           latex $<

foodat.tex: foo.dat
            perl table2tex.pl $< > $@

Attachment? Nein: http://piology.org/ILOVEYOU-Signature-FAQ.html
begin  LOVE-LETTER-FOR-YOU.txt.vbs
Christopher Creutzig, MuPAD group, Tel.: +49-5251-60-5525

To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.

More information about the MacOSX-TeX mailing list