[OS X TeX] finding config files

Peter Dyballa Peter_Dyballa at Web.DE
Sat Aug 25 06:54:44 EDT 2007


Am 24.08.2007 um 13:28 schrieb Bartholomew Parkis:

> $ which pdflatex
> /usr/local/texlive/2007/bin/i386-darwin/pdflatex

Looks OK.

> $ kpsewhich -show-path tex -progname pdflatex
> .:/usr/local/texlive/2007/texmf/tex/latex//:/usr/local/texlive/2007/ 
> texmf/tex/generic//:/usr/local/texlive/2007/texmf/tex///
>
> I have been advised that either texmf.cnf or my PATH may have some  
> problem.

You obviously have a problem with TeX Live's texmf.cnf! I remember I  
had to change /usr/local/texlive/2007/texmf/web2c/texmf.cnf in two  
places:

	87c87
	< TEXMFHOME=$HOME/texmf
	---
	> TEXMFHOME=$HOME/Library/texmf
	313c313
	< OSFONTDIR = /please/set/osfontdir/in/the/environment
	---
	> OSFONTDIR = /usr/X11R6/lib/X11/fonts//;/sw/lib/X11/fonts//;/ 
Library/Fonts//;/System/Library/Fonts;$HOME/Library/Fonts

So for me "kpsewhich -show-path tex -progname pdflatex | tr : '\012'  
| sort" returns

	!!/usr/local/texlive/2007/../texmf-local/tex///
	!!/usr/local/texlive/2007/../texmf-local/tex/generic//
	!!/usr/local/texlive/2007/../texmf-local/tex/latex//
	!!/usr/local/texlive/2007/texmf-config/tex///
	!!/usr/local/texlive/2007/texmf-config/tex/generic//
	!!/usr/local/texlive/2007/texmf-config/tex/latex//
	!!/usr/local/texlive/2007/texmf-dist/tex///
	!!/usr/local/texlive/2007/texmf-dist/tex/generic//
	!!/usr/local/texlive/2007/texmf-dist/tex/latex//
	!!/usr/local/texlive/2007/texmf-var/tex///
	!!/usr/local/texlive/2007/texmf-var/tex/generic//
	!!/usr/local/texlive/2007/texmf-var/tex/latex//
	!!/usr/local/texlive/2007/texmf/tex///
	!!/usr/local/texlive/2007/texmf/tex/generic//
	!!/usr/local/texlive/2007/texmf/tex/latex//
	.
	/Users/pete/.texlive2007/texmf-config/tex///
	/Users/pete/.texlive2007/texmf-config/tex/generic//
	/Users/pete/.texlive2007/texmf-config/tex/latex//
	/Users/pete/.texlive2007/texmf-var/tex///
	/Users/pete/.texlive2007/texmf-var/tex/generic//
	/Users/pete/.texlive2007/texmf-var/tex/latex//
	/Users/pete/Library/texmf/tex///
	/Users/pete/Library/texmf/tex/generic//
	/Users/pete/Library/texmf/tex/latex//

I'd recommend to check you environment (printenv) and check whether  
it has set something that could influence TeX (printenv | grep -i  
tex). If so, remove the cause. Then save your recent texmf.cnf file  
as texmf.cnf-old and copy from DVD /Volumes/TeXCol2006-2007/texlive/ 
texmf/web2c/texmf.cnf into /usr/local/texlive/2007/texmf/web2c and  
apply at least the change for TEXMFHOME. I have no idea where the  
texmf.cnf can be found in MacTeX.dmg. It might also be possible to  
get texmf.cnf from CTAN.

--
Greetings

   Pete

If all else fails read the instructions.
                                          - Donald Knuth



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list