Hi Max,

On Sat, Mar 14, 2026 at 03:29 (-0700), Max Chernoff via ntg-context wrote:

> On Thu, 2026-03-12 at 15:00 -0300, Jim wrote:
>> I tried the TL2026 context, and that one finds some Cambria files in my
>> system directories.

> Yup, I've configured the ConTeXt in TL to search the system directories
> for font files by default, to be consistent with the other
> engines/formats.

Makes sense.  After Aditya pointed out the file to look in, I see that the
TL and stand-alone files are very different.

>> Where is the config file(s) that tell(s) context where
>> to search for font files?

> Setting the "OSFONTDIR" environment variable is usually the easiest way
> to tell ConTeXt where to look, but as Aditya mentioned, you can also
> modify the texmfcnf.lua files. These are the settings currently used in
> TL:

> https://github.com/gucci-on-fleek/context-packaging/blob/c3b461/files/texmfcnf.lua#L181-L187

Thanks for the comment about OSFONTDIR... that seems a lot easier than
either modifying the texmfcnf.lua file, or copying the files into the
stand-alone distribution and updating the font databases.  I'll have to
play with that a bit.

                                Jim
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to