On Mon, Apr 14, 2008 at 11:38 AM, Olivier Guéry wrote:
I can run context, but some otf fonts can't be find, like the nice linuxlibertine, for exemple (context used to find it with xetex).
Hello Oliver, XeTeX finds fonts using fc-config, and fc-config usually knows about all your system-wide-installed fonts, while you first need to tell LuaTeX where your fonts reside. (LuaTeX is not aware of any system-specific folders.) You might need something like export OSFONTDIR=/Library/Fonts pointing to the folder where your font resides. Once you set that, you need to run several commands to update font cache. I'm not 100% sure which ones are really needed (I usually try guessing until it starts working or delete the cache :) - but just follow Hans' comments earlier in the thread. (luatools --generate, mtxrun --script fonts --reload etc.) Mojca