![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Wed, May 21, 2008 at 7:27 PM, Arthur Reutenauer wrote:
So, assuming /opt/tex/texmf-linux/bin, it attempts the following directories, in this order:
[/opt/tex/texmf]/web2c % two parents up [/opt/tex/texmf-linux]/texmf/web2c % one parent up [/opt/tex]/texmf-local/web2c [/opt/tex/texmf-linux]/texmf-local/web2c
Mac (gwtex, mactex) also uses texmf.local. (Well, also many others, but that one is most evident.)
Thats's great! It works on my machine without the need to set any environment variable (I even tried two different arrangments of the directories).
I have just tested it and it didn't work as expected. MK II:
texexec --make --xtx --all TeXExec | using search method 'kpsewhich' TeXExec | updating file database mktexlsr: Updating /Users/mojca/context/tex/texmf/ls-R... mktexlsr: Updating /Users/mojca/context/tex/texmf-context/ls-R... mktexlsr: Updating /Users/mojca/context/tex/texmf-local/ls-R... mktexlsr: Done. TeXExec | using tex engine xetex TeXExec | using tex format path /Users/mojca/context/tex/texmf-context/web2c/xetex TeXExec | generating tex format cont-en This is XeTeX, Version 3.1415926-2.2-0.998.5-dev (Web2C 7.5.6) (INITEX) \write18 enabled. entering extended mode ... Beginning to dump on file metafun.mem (mem=metafun 2008.5.23) at most 3068 strings of total length 40865 49365 memory locations dumped; current usage is 12822&36400 1788 symbolic tokens Transcript written on metafun.log. TeXExec | TeXExec | tex engine path: /Users/mojca/context/tex/texmf-context/web2c/xetex TeXExec | mps engine path: /Users/mojca/context/tex/texmf-context/web2c TeXExec | TeXExec | tex: 23/05/2008 02:05:17 > /Users/mojca/context/tex/texmf-context/web2c/xetex/cont-en.fmt (4503548) TeXExec | tex: 23/05/2008 02:05:23 > /Users/mojca/context/tex/texmf-context/web2c/xetex/cont-nl.fmt (4544450) TeXExec | tex: 23/05/2008 02:05:25 > /Users/mojca/context/tex/texmf-context/web2c/xetex/mptopdf.fmt (1786949) TeXExec | mps: 23/05/2008 02:05:25 > /Users/mojca/context/tex/texmf-context/web2c/metafun.mem (491080) TeXExec | TeXExec | runtime: 15.745237
texexec --xtx a.tex TeXExec | processing document 'a.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file a.top TeXExec | using randomseed 1213 TeXExec | tex engine: xetex TeXExec | tex format: cont-en This is XeTeX, Version 3.1415926-2.2-0.998.5-dev (Web2C 7.5.6) \write18 enabled. kpathsea: Running mktexfmt cont-en.fmt /usr/texbin/mktexfmt: line 336: /Users/mojca/context/tex/texmf/texconfig/tcfmgr: No such file or
(formats have always flied to texmf-osx-intel so far) But ... directory fmtutil: config file `fmtutil.cnf' not found. I can't find the format file `cont-en.fmt'! MK IV:
context a.tex
MtxRun | error unable to locate texmfcnf.lua MtxRun | loading configuration for /Users/mojca/context/tex/texmf/web2c from /Users/mojca/luatex-cache/context/bce2a35a5270714da084d11faf744f76/trees/71a1a190289e8fc90263c427daa9d235 MtxRun | locating list of /Users/mojca/context/tex/texmf-project MtxRun | locating list of /Users/mojca/context/tex/texmf-fonts MtxRun | locating list of /Users/mojca/context/tex/texmf-local MtxRun | locating list of /Users/mojca/context/tex/texmf-context MtxRun | locating list of /Users/mojca/context/tex/texmf-extra MtxRun | locating list of /Users/mojca/context/tex/texmf MtxRun | loading files for /Users/mojca/context/tex/texmf-local from /Users/mojca/luatex-cache/context/bce2a35a5270714da084d11faf744f76/trees/9cef58cec78e4ef962f7764cc0d0af77 MtxRun | loading files for /Users/mojca/context/tex/texmf-context from /Users/mojca/luatex-cache/context/bce2a35a5270714da084d11faf744f76/trees/05c539c10b6a70b446df0913d1c04b99 MtxRun | loading files for /Users/mojca/context/tex/texmf from /Users/mojca/luatex-cache/context/bce2a35a5270714da084d11faf744f76/trees/9cd0d756a20671533c8167942232650c MtxRun | using script: /Users/mojca/context/tex/texmf-context/scripts/context/lua/mtx-context.lua MtxRun | loading configuration for /Users/mojca/context/tex/texmf/web2c from /Users/mojca/luatex-cache/context/bce2a35a5270714da084d11faf744f76/trees/71a1a190289e8fc90263c427daa9d235 MtxRun | error no format found with name cont-en MtxRun | total runtime: 0.011 I definitely need to add texmfcnf.lua, but just a quick overview of non-working solutions :) Mojca