[OS X TeX] CGI TeX processing
Claus Gerhardt
claus.gerhardt at urz.uni-heidelberg.de
Tue Oct 19 00:40:06 CEST 2004
Jan,
Why don't you give the class or style files as relative or absolute
paths, like
\documentclass[10pt,a4paper]{Downloads/booktest}.
It works for me, but of course these files have to be in a readable
directory.
Claus
On 18.10.2004, at 10:35, Jan Eden wrote:
> Hi,
>
> I wrote a short CGI script to automate TeX processing. Now I am a
> little lost with the TeX environment variables.
>
> In normal operation TeX finds the files in ~/Library/texmf, although
> the export TEXMF line is commented in my .bash_profile.
>
> Where is it set?
>
> When running the script, TeX (in this case, pdflatex) complains about
> missing classes and styles (which are in my texmf dir).
>
> When I use the following line in the Perl script:
>
> $ENV{TEXMF} = "/Users/jan/Library/texmf";
>
> it does not find pdflatex.emft, pdflatex.cfg and other files. How can
> I get the script to act as if I started pdflatex myself on the command
> line?
>
> I found the kpsewhich man page and read some snippets about the TeX
> environment variables, but this is all a little confusing.
>
> Thanks,
>
> Jan
> --
> If all else fails read the instructions. - Donald Knuth
> --------------------- 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>
>
>
--------------------- 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