Frank Küster wrote: > Atsuhito Kohda <[EMAIL PROTECTED]> wrote: > >>> % XeTeX >>> TEXINPUTS.xelatex = .;$TEXMF/tex/{xelatex,xetex,latex,generic,}// >>> TEXINPUTS.xetex = .;$TEXMF/tex/{xetex,plain,generic,}// >> > [...] >> Please see http://lists.debian.org/debian-tex-maint/2006/08/msg00066.html > > Should xetex bee in xelatex's search path?
IMO there is no need for special directories $TEXMF/tex/{xelatex,xetex}. So it does not matter whether or not the xetex dir is in xelatex's path. Let's look at the actual files installed by upstream in these directories: * .ini files: TEXMF/tex/xetex/config/xetex.ini TEXMF/tex/xelatex/config/xelatex.ini Like other .ini files, these should be placed in TEXMF/tex/plain/config/ TEXMF/tex/latex/config/ * updates to LaTeX style files (currently url.sty and xkeyval.sty): These should go somewhere below TEXMF/tex/latex/, so that other engines together with the LaTeX format can profit from the updates. * XeLaTeX specific style files (fontspec, euenc, xltxtra, xunicode, xetex.def): These packages give an error message when not used with XeTeX as engine. IMO this is better than a 'file not found' error when accidentally running say pdflatex on a file meant for xelatex. Hence I think TEXMF/tex/latex/ is better. * Configuration files for various LaTeX packages (graphics, color, crop, hyperref, geometry) These files should be modified such that they can distinguish between being loaded by XeTeX, pdfTeX, TeX, ... and incorporate the default behaviour from the relevant packages. I think this is one of the things that has to be done for getting XeTeX into TeX Live. Finally there is the issue of hyphenation files, which was recently discussed on the TeX Live list. These are not related to these specific directories, though. cheerio ralf