[OS X TeX] LaTeX "forgetting" texmf

Peter Dyballa Peter_Dyballa at Web.DE
Tue Jan 10 08:16:01 EST 2006


Am 10.01.2006 um 01:51 schrieb Ross Moore:

> If your  texnf.cnf  file is setup in a strictly CDS-compliant way,
> then the answer to this question would be 'yes' --- provided also
> that you have done  'sudo texhash' since adding the new package.
>
> BTW, it doesn't have to be 'ucs' --- any sub-directory will do;
> such as 'misc' or 'mystyles' or 'others', etc.

I did a "kpsewhich --expand-var '${TEXINPUTS.pdfelatex}'" and got (a  
bit edited):

	.:
	{
		/Users/pete/Library/texmf,
		!!/usr/local/teTeX/share/texmf.local,
		!!/usr/local/teTeX/share/texmf.gwtex,
		!!/usr/local/teTeX/share/texmf.tetex,
		!!/usr/local/teTeX/share/texmf
	}/{pdfetex,pdftex,etex,tex}/{latex,generic,}//

meaning pdfelatex searches locally in the current working directory `. 
´ and then other searches start at these points, *including* their  
file contents:

	~/Library/texmf/pdfetex/latex
	~/Library/texmf/pdfetex/generic
	~/Library/texmf/pdftex/latex
	~/Library/texmf/pdftex/generic
	~/Library/texmf/etex/latex
	~/Library/texmf/etex/generic
	~/Library/texmf/tex/latex
	~/Library/texmf/tex/generic

So the file /Users/simi/Library/texmf/tex/latex/ttfucs.sty or ~/ 
Library/texmf/tex/latex/ttfucs.sty would have been found -- and  
kpsewhich found it, didn't it? Otherwise tex would not find  
utopia.sty. Or pdfsync.sty:

	/Applications/iTeXMac 1.3.15/iTeXMac Examples/Navigation Source ⇄  
PDF/to your Library/texmf/tex/latex/pdfsync.sty
	/Users/pete/Library/texmf/tex/latex/pdfsync.sty
	/usr/local/teTeX/share/texmf.local/tex/latex/pdfsync.sty

On my system I have two utopia.sty:

	-rw-r--r--   1 root  admin  834 23 Nov  2002 /usr/local/teTeX/share/ 
texmf.gwtex/tex/latex/utopia.sty
	-rw-r--r--   1 root  admin  955 14 Mär  2004 /usr/local/teTeX/share/ 
texmf.tetex/tex/latex/psnfss/utopia.sty

And guess, which one is found when I use it as in:

	\usepackage{fourier} %maths
	\usepackage{utopia} %texts

Of course the elder version: /usr/local/teTeX/share/texmf.gwtex/tex/ 
latex/utopia.sty

I think there is some bug in tex! It's not likely that parts of the  
file system are not available  at some time, except access happens  
via caches and these caches are defective ... is this likely?


Simon, can you provide the version and kind of the tex binary? The  
log file's first two lines contain an information like:

	This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)  
(format=pdflatex 2005.12.27)  10 JAN 2006 13:55
	entering extended mode

And, of course, what is on your computer kpsewhich --expand-var '$ 
{TEXINPUTS.pdfelatex}'" returning? Please change the 'extension'  
pdfelatex to the format actually used!



Am I wrong when I think that pdfe(La)TeX should use pdfelatex format  
instead of pdflatex?


--
Greetings

   Pete

“I hope to die before I *have* to use Microsoft Word.”
      - Donald E. Knuth, 2001-10-02 in Tübingen.


------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list