[XeTeX] How to make XeTeX find the texmf.cnf file?

Christian Boitet Christian.Boitet at imag.fr
Mon Nov 14 02:16:46 CET 2016


Good night,					13/11/16

> Le 14 nov. 2016 à 00:46, Richard Koch <koch at uoregon.edu> a écrit :
> 
> 
>> On Nov 13, 2016, at 3:35 PM, Christian Boitet <Christian.Boitet at imag.fr> wrote:
>> 
>> G'day,							13/11/16
>> 
>> Vielen Dank Herb für die schnelle Antwort.
>> 
>> Ja zur Frage.
>> 
>> (Ich schrieb "I reinstalled MacLive, and then MacTeX-2016, which are supposed to come with XeTeX. No way.
>> The message is always the same...")
>> 
>> Maybe I should try to uninstall all TeX-related files and reinstall, but it is too complex to do it by hand. The installers are supposed to replace what should be replaced, but obviously don't erase all what should be erased.
> 
> 
> Nonsense. MacTeX installs TeX Live in /usr/local/texlive/2016, which is incidentally the default location suggested by TeXLive. It would be stupid for it to erase /opt/local/bin, since it is not going to use that
> location, and since the user might want to keep their old TeX around.
> 
> The MacTeX install does exactly the correct thing. It puts all of TeX Live in this one location
> 
> 	/usr/local/texlive/2016
> 
> Dick Koch
> koch at uoregon.edu

True enough:

============================================================
sudo find / -name 'texmf.cnf'
==>
/Installeurs/XeTeX/xetex-0.9999.3/source/texk/kpathsea/texmf.cnf
/Installeurs/XeTeX/xetex-0.9999.3/source/texk/web2c/etexdir/etrip/texmf.cnf
/Users/boitet/Library/texmf/tex/latex/pgf_2.10.tds/doc/generic/pgf/text-en/texmf.cnf
/usr/local/texlive/2011/texmf/web2c/texmf.cnf
/usr/local/texlive/2011/texmf-dist/doc/generic/pgf/text-en/texmf.cnf
/usr/local/texlive/2011/texmf-dist/doc/latex/pgfplots/texmf.cnf
/usr/local/texlive/2011/texmf.cnf
/usr/local/texlive/2015/texmf-dist/web2c/texmf.cnf
/usr/local/texlive/2015/texmf.cnf
/usr/local/texlive/2016/texmf-dist/web2c/texmf.cnf
/usr/local/texlive/2016/texmf.cnf
/usr/local/texlive/2016basic/texmf-dist/web2c/texmf.cnf
/usr/local/texlive/2016basic/texmf.cnf
============================================================
But, then, how comes this file (texmf.cnf) is not found when I run TeXShop in mode XeTeX or XeLaTeX?

The other question is why I seem not to be able to install the latest version of XeTeX "on top" of what exists.
Perhaps it is, actually, but why does it report looking for files in /opt/local when they have been installed in /usr/local ?

==> Il will try to solve this simply, hoping the latest version of xetex is contained in the latest version of MacTeX, which seems natural.


I just added to my profile:
setenv PATH "$PATH":"/usr/local/texlive/2016"

If I understand well, it should solve the problem... but it does not at the moment. 

I'll update my system and restart tomorrow, perhaps that will help.

Question: is there is somewhere a PATH variable specific to TeX (some PATH_TEX or TEX_PATH)?

I did not find a place in TeXShop where I could specify which instance of TeXlive it should use.
Perhaps it is still using texlive/2011 or texlive/2015?
Tomorrow (too late now), I'll remove the older versions of TeXlive and the separate folder used to try to install semtex 0.99993 separately.

 
Best,
Xan (@imag.fr)


> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20161114/b63038c0/attachment-0001.html>


More information about the XeTeX mailing list