[XeTeX] xetex (plain tex) and graphicx

Bruno Voisin bvoisin at mac.com
Sat Feb 19 23:21:59 CET 2005

Le 19 févr. 05, à 22:46, Éric DÉTREZ a écrit :

> The invisible directory is usr.
> The secret file is, in this case, 
> /usr/local/teTex/share/texmf.tetex/tex/latex/graphics/graphics.cfg
> Maybe you don't find it secret but I didn't succeed to read any 
> information about all those files.
> All this seems esoteric to me.
> More : these files are not editable in the finder, they seem protected.

For one good reason: you should in no case change these files: they 
(including your changes) will be overwritten every time your TeX 
installation is updated. You should make a copy of the file to be 
changed inside either the directory


in which case the changes will be effective for all users of your Mac, 
or inside


in which case the changes will be effective for you only, and then 
change the copied file as required (and run texhash in case you chose 
the first location). The directory /Library/teTeX/ is a shortcut 
allowing you to access easily (i.e. without using Cmd-Shift-G in the 
Finder) the normally hidden directory /usr/local/teTeX/.

In any case I would advise using one more level in your directory 
structure, namely texmf/tex/xetex/plain/graphics/, so that your changes 
affect only XeTeX, not pdfTeX or TeX + dvips + GhostScript. Moreover, 
I'm surprised a change inside texmf/tex/latex/graphics/ affects a 
document compiled in plain TeX with XeTeX. According to the setting in 

	TEXINPUTS.xetex   =	.;$TEXMF/{xetex,tex}/{xetex,plain,generic,}//

this directory is not searched when compiling in plain TeX with XeTeX:


are searched, but not


As to the question of where to find information about all those files, 
there are several possible sources of such information:

- At the TeX on Mac OS X page <http://www.rna.nl/tex.html>, see the 
question " Help! TeX cannot find my file! / Where should I install any 
extra files?" in the TNH section.

- At the TeXShop web site, see the page TeXLive-teTeX 

- On your disk, if you installed with i-Installer, see:


which you can access as:


Hope this helps,

Bruno Voisin

More information about the XeTeX mailing list