On 10/15/2013 08:46 PM, luigi scarso wrote:
On Tue, Oct 15, 2013 at 7:44 PM, Pablo Rodriguez wrote: [...] Since this is the default directory for fonts in Linux, wouldn’t it be possible to set it by default in ConTeXt Standalone for Linux?
imho, it's always better to keep separate "os system fonts" and context (or texlive).
Luigi, many thanks for your reply.
From you reply, I think I haven’t expressed myself right.
I mean adding the Linux option to the lines: do local osfontdir=osgetenv("OSFONTDIR") if osfontdir and osfontdir~="" then elseif osname=="windows" then ossetenv("OSFONTDIR","c:/windows/fonts//") elseif osname=="macosx" then ossetenv("OSFONTDIR","$HOME/Library/Fonts//;/Library/Fonts//;/System/Library/Fonts//") + elseif osname=="linux" then + ossetenv("OSFONTDIR","$HOME/.fonts//;/usr/share/fonts//") end end So it would work out of the box also for Linux users. (Not sure whether this is right, I only guess so [and directory listing is by no means complete.) Many thanks for your help, Pablo -- http://www.ousia.tk