> On 25 Oct 2013, at 00:13, Hans Hagen <pra...@wxs.nl> wrote (in a discussion on the OSFONTDIR environment variable in MacOSX)
> anyway, in a next beta you can set this in texmf.cnf.lua: > > return { > content = { > directives = { > ["fonts.usesystemfonts"] = false, > }, > }, > } > > Best do that in texmf-local as a next update will overwrite the main cnf > file. Entries in the he local file overload main ones. I took the liberty to look again into this matter because the above advice does not what I should expect it does: ignoring the MacOSX font directories. This is what I found in various experiments, OSFONTDIR not defined in the environment. (1) I guess the name of the cnf file should be texmfcnf.lua not texmf.cnf.lua because a file with the latter name has no effect, the MACOSX font directories still appear in the log. (2) That file in texmf.local does nothing because again the MacOSX font directories are still in the log, but there is a reference to a file of that name: mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua (3) Moving texmfcnf.lua to a directory /texmf.local/web2c/ is desastrous, the log tells me: resolvers | trees | analyzing '/Users/hansm/Documents/TeX/texmf' mtxrun | unknown script 'context.lua' or 'mtx-context.lua' Questions therefore: - is the name texmfcnf.lua indeed? - what should be its location in texmf.local? (texmf/web2c doesn't exist on my system because I restrict myself to the beta) - is the content of texmfcnf.lua as given above complete? Referring to a dummy font directory in OSFONTDIR still seems the most viable option. Is that correct? Hans van der Meer ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________