* The best place to install fonts so it is discovered by mkiv?
@ 2009-10-26 20:12 Janneman
2009-10-27 6:23 ` Aditya Mahajan
0 siblings, 1 reply; 2+ messages in thread
From: Janneman @ 2009-10-26 20:12 UTC (permalink / raw)
To: ntg-context@ntg.nl >> mailing list for ConTeXt users
According to an earlier and recent thread
http://archive.contextgarden.net/thread/20091021.090505.4153465c.en.html#20091021.090505.4153465c
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: The best place to install fonts so it is discovered by mkiv?
2009-10-26 20:12 The best place to install fonts so it is discovered by mkiv? Janneman
@ 2009-10-27 6:23 ` Aditya Mahajan
0 siblings, 0 replies; 2+ messages in thread
From: Aditya Mahajan @ 2009-10-27 6:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, 26 Oct 2009, Janneman wrote:
> According to an earlier and recent thread
>
> http://archive.contextgarden.net/thread/20091021.090505.4153465c.en.html#20091021.090505.4153465c
>
> 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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-27 6:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-26 20:12 The best place to install fonts so it is discovered by mkiv? Janneman
2009-10-27 6:23 ` Aditya Mahajan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).