[OS X TeX] CGI TeX processing

Peter Dyballa Peter_Dyballa at Web.DE
Mon Oct 18 21:41:41 CEST 2004


Hello Jan!

I am sure I did not read README.howtexfindsfiles, at least not 
completely. I presume that $HOMETEXMF points to the tree where you 
start to save your (La)TeX documents. If you set $TEXMF to your 
documents' home than (la)tex won't find any formats, styles, classes. I 
think you should set HOMETEXMF to the home of of your private 
documents' realm and set TEXMF to the directory where the TeX 
*distribution* actually starts, probably at /usr/local/tex or 
/usr/local/teTeX.

My opinion is, when TeX sees $TEXMF it looks into $TEXMF/texmf.cnf and 
now feels configured, everything should work and be found, provided 
texhash and updmap are not needed to record recent changes. Since the 
$HOMETEXMF tree is not kept in a "hash" file there is only the need 
either to set the working directory (".") to $HOMETEXMF or to add this 
component to the TEXMF over-all search path. Then it should work!

My setup is described here:

lrwxrwxrwx  1 root  admin    32 13 Okt 10:54 
/usr/local/teTeX/README.macosx -> share/texmf.macosx/README.macosx
-rw-r--r--  1 pete  admin  2286  2 Jun  2001 
/usr/local/teTeX/share/texmf.macosx/README.macosx

The configuration is done through these:

-rw-r--r--  1 pete  admin   1958 13 Nov  2001 
/usr/local/teTeX/share/texmf.macosx/texmf.cnf
-rw-r--r--  1 pete  admin  19017 26 Jan  2002 
/usr/local/teTeX/share/texmf/web2c/texmf.cnf
lrwxrwxrwx  1 root  admin     28 13 Okt 10:56 
/usr/local/teTeX/texmf.cnf -> share/texmf.macosx/texmf.cnf

I think the last one is the real important one at runtime, 
...web2c/texmf.cnf is needed to make formats and the rest of TeX.
--
Greetings

   Pete

--------------------- 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