The best place to install fonts so it is discovered by mkiv?
According to an earlier and recent thread http://archive.contextgarden.net/thread/20091021.090505.4153465c.en.html#200... that finally were solved, thanks to Wolfgang and also Aditya. Here is a following question: Is there some convention where to place files, documents, fonts, modules and stuff? It seems in my case that LuaTools wasn't able to find the fonts in ~./fonts or even /usr/share/fonts. Not either in my minimals/tex/texmf-local/tex/context/fonts/ directory But I had to create texmf-project/fonts/.. to make context to discover the fonts. http://wiki.contextgarden.net/Fonts_in_LuaTex mentioned about setting osfontdir=.... which I did in my my /home/user/.bash_profile linked to .bashrc cat .bash_profile PATH=$PATH:/home/janerik/bin . ~/context/tex/setuptex set OSFONTDIR="/usr/share/fonts" It seems to have no effect. Very strange! :-( Here is my output from Luatools --generate command LuaTools | fileio: locating list of /home/janerik/texmf LuaTools | fileio: locating list of /home/janerik/context/tex/texmf-project LuaTools | fileio: locating list of /home/janerik/context/tex/texmf-fonts LuaTools | fileio: locating list of /home/janerik/context/tex/texmf-local LuaTools | fileio: locating list of /home/janerik/context/tex/texmf-context LuaTools | fileio: locating list of /home/janerik/context/tex/texmf-linux LuaTools | fileio: locating list of /home/janerik/context/tex/texmf-extra LuaTools | fileio: locating list of /home/janerik/context/tex/texmf LuaTools | fileio: scanning path /home/janerik/context/tex/texmf-local It seems to only search these directories. All best Janneman
On Mon, 26 Oct 2009, Janneman wrote:
According to an earlier and recent thread
http://archive.contextgarden.net/thread/20091021.090505.4153465c.en.html#200...
that finally were solved, thanks to Wolfgang and also Aditya. Here is a following question:
Is there some convention where to place files, documents, fonts, modules and stuff?
It seems in my case that LuaTools wasn't able to find the fonts in ~./fonts or even /usr/share/fonts. Not either in my minimals/tex/texmf-local/tex/context/fonts/ directory But I had to create texmf-project/fonts/.. to make context to discover the fonts. http://wiki.contextgarden.net/Fonts_in_LuaTex mentioned about setting osfontdir=.... which I did in my my /home/user/.bash_profile linked to .bashrc
cat .bash_profile PATH=$PATH:/home/janerik/bin . ~/context/tex/setuptex set OSFONTDIR="/usr/share/fonts"
OSFONTDIR needs to be set before setuptex is loaded. To verify that the value is set correctly, run luatools --expand-var OSFONTDIR Aditya
participants (2)
-
Aditya Mahajan
-
Janneman