[OS X TeX] New TeX i-Package released

Bruno Voisin bvoisin at mac.com
Sun Oct 24 14:44:47 CEST 2004

Le 24 oct. 04, à 14:10, Dalyoung a écrit :

> I also got a similar  error during the compilation of 
> "picfilesample.ltx" in XeTeX-example dir.
> (I changed the file name to  *.tex)
> ...........
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/color.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/color.cfg)
> ! LaTeX Error: Unknown option `xetex' for package `color'.

This indicates the standard color.sty inside 
texmf.tetex/tex/latex/graphics/ is found before the customized version 
installed with XeTeX inside texmf.local/tex/xetex/.

> As you mention in the mail, I add two lines at the end of texmf.cnf
> TEXINPUTS.xelatex = .;$TEXMF/tex/{xetex,latex,generic,}//
> TEXINPUTS.xetex   = .;$TEXMF/tex/{xetex,plain,generic,}//
> Is there anything I have to do more?

Normally not, the above should make texmf.local/tex/xetex/ searched 
before texmf.tetex/tex/latex/. Is it not working after the 

The problem is due to the default settings in texmf.cnf, as installed 
by the TeX i-Package, which assume strict conformance to the TDS (TeX 
Directory System). Hence XeTeX, being an engine (= an executable file, 
a compiler, similar to TeX, pdfTeX, Aleph, Omega), should put its 
additions inside texmf{.local,.tetex}/xetex/, instead of 
texmf{.local,.tetex}/tex/xetex/ which should normally correspond to a 
format (= a collection of macros, a .fmt file, similar to LaTeX, 
Eplain, ConTeXt, Lambda).

The situation is not so clear, though, as Omega, for example, puts its 
specific font translation tables inside texmf.tetex/omega/, but Lambda, 
its modified version of the LaTeX format, inside 
texmf.tetex/tex/lambda/. This would be consistent with XeTeX installing 
its OTF-font-dealing Perl scripts inside texmf.local/xetex/, and its 
modifications to the LaTeX packages inside texmf.local/tex/xetex/.

I imagine the situation should change one way or the other in the 
future, but for the moment the above fix seems to be necessary.

Hope this works,

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