Hello, Sorry if this is a stupid question, but I'm a novice ConTeXt user, switching from LaTeX and without so much time :( I made some time ago a very small test document using the nice Delicious font, which I put in /usr/share/fonts/opentype/exljbris/ (under Debian). This is the straightforward document: \usemodule[simplefonts] \setmainfont[Delicious] \mainlanguage [it] \setupbodyfont [10pt] \setupheadertexts [] \starttext Lorem ipsum dolor sit amet \stoptext It worked without a problem, as the pdf remembered me. Now, I tried to compile it again, but it doesn't find the Delicious font anymore; on the contrary, it doesn't find system fonts anymore. I followed the instructions in the TeX Live Guide, ran mtxrun --script fonts --reload and context --generate again, without any change. However, I noticed that the mtxrun doesn't walk into the /usr/share/fonts directory, but only inside those from TeX Live. Have you any idea of what's happening? If you need them I can attach the output of any of these scripts. Thank you very much for your help, Marco
Am 01.06.2012 um 10:10 schrieb Marco Pallante:
Hello,
Sorry if this is a stupid question, but I'm a novice ConTeXt user, switching from LaTeX and without so much time :(
I made some time ago a very small test document using the nice Delicious font, which I put in /usr/share/fonts/opentype/exljbris/ (under Debian). This is the straightforward document:
\usemodule[simplefonts] \setmainfont[Delicious] \mainlanguage [it] \setupbodyfont [10pt] \setupheadertexts [] \starttext Lorem ipsum dolor sit amet \stoptext
It worked without a problem, as the pdf remembered me. Now, I tried to compile it again, but it doesn't find the Delicious font anymore; on the contrary, it doesn't find system fonts anymore.
I followed the instructions in the TeX Live Guide, ran mtxrun --script fonts --reload and context --generate again, without any change. However, I noticed that the mtxrun doesn't walk into the /usr/share/fonts directory, but only inside those from TeX Live.
Have you any idea of what's happening? If you need them I can attach the output of any of these scripts.
Thank you very much for your help,
Maybe this will help you: http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database Wolfgang
This solves partially the problem: now it takes the delicious font,
but as default
it uses the heavy weight and not the roman; the \bf command switches to bold
and \it to italic.
If I use \setmainfont[Delicious-Roman], it always uses the roman, and
the \bf and
\it commands doesn't change anything.
Moreover, even if it pickups Delicious, if I run the query
$ mtxrun --script fonts --list --all --pattern=Delicious*
it gives an empty result.
Marco
2012/6/1 Wolfgang Schuster
Am 01.06.2012 um 10:10 schrieb Marco Pallante:
Hello,
Sorry if this is a stupid question, but I'm a novice ConTeXt user, switching from LaTeX and without so much time :(
I made some time ago a very small test document using the nice Delicious font, which I put in /usr/share/fonts/opentype/exljbris/ (under Debian). This is the straightforward document:
\usemodule[simplefonts] \setmainfont[Delicious] \mainlanguage [it] \setupbodyfont [10pt] \setupheadertexts [] \starttext Lorem ipsum dolor sit amet \stoptext
It worked without a problem, as the pdf remembered me. Now, I tried to compile it again, but it doesn't find the Delicious font anymore; on the contrary, it doesn't find system fonts anymore.
I followed the instructions in the TeX Live Guide, ran mtxrun --script fonts --reload and context --generate again, without any change. However, I noticed that the mtxrun doesn't walk into the /usr/share/fonts directory, but only inside those from TeX Live.
Have you any idea of what's happening? If you need them I can attach the output of any of these scripts.
Thank you very much for your help,
Maybe this will help you: http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database
Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________
On 1-6-2012 20:12, Marco Pallante wrote:
This solves partially the problem: now it takes the delicious font, but as default it uses the heavy weight and not the roman; the \bf command switches to bold and \it to italic.
If I use \setmainfont[Delicious-Roman], it always uses the roman, and the \bf and \it commands doesn't change anything.
Moreover, even if it pickups Delicious, if I run the query $ mtxrun --script fonts --list --all --pattern=Delicious* it gives an empty result.
did the (internal) names of those fonts change? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Marco Pallante
-
Wolfgang Schuster