Re: [NTG-context] System font searching suddenly stopped
On 4-6-2012 18:53, Marco Pallante wrote: Hans, sorry if I bother, but I still can't load the font. I'm using TL12 pretest, installed with the ConTeXt scheme and nothing else. Going further, I checked other system fonts and I found that ConTeXt doesn't load any of them. No Delicious/Cantarel/DejaVu and so on (I'm on Debian). mtxrun --script font --list --all only shows me those fonts inside the texmf tree. I followed exactly the instructions in http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database but it doesn't work. Moreover, I tried to put one of these fonts inside the texmf tree (the delicious), both in /usr/local/texlive/texmf-local/fonts/opentype/public/exljbris and /usr/local/texlive/2012/texmf-dist/fonts/opentype/public/exljbris, I rebuild the ls-R with texhash, then the font list in ConTeXt with mtxrun --script font --reload, I also regenerated the ConTeXt data with context --generate, but the delicious font doesn't appear in the list. I really don't know what to do. Can you give me a little help? \starttypescript [serif] [delicious] [name] \setups[font:fallback:serif] \definefontsynonym [Serif] [file:deliciousroman] [features=default] \definefontsynonym [SerifBold] [file:deliciousbold] [features=default] \definefontsynonym [SerifItalic] [file:deliciousitalic] [features=default] \definefontsynonym [SerifBoldItalic] [file:deliciousbolditalic] [features=default] \stoptypescript \starttypescript [delicious] \definetypeface [delicious] [rm] [serif] [delicious] [default] \definetypeface [delicious] [tt] [mono] [dejavu][default] \definetypeface [delicious] [mm] [math] [xits] [default] \stoptypescript \setupbodyfont[delicious] \starttext \input ward \stoptext the regular font is delicious-roman which might confuse your setup Hans - 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 - ___ 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 ___
Re: [NTG-context] System font searching suddenly stopped
Am 04.06.2012 um 19:55 schrieb Hans Hagen: On 4-6-2012 18:53, Marco Pallante wrote: Hans, sorry if I bother, but I still can't load the font. I'm using TL12 pretest, installed with the ConTeXt scheme and nothing else. Going further, I checked other system fonts and I found that ConTeXt doesn't load any of them. No Delicious/Cantarel/DejaVu and so on (I'm on Debian). mtxrun --script font --list --all only shows me those fonts inside the texmf tree. I followed exactly the instructions in http://wiki.contextgarden.net/Fonts_in_LuaTeX#Building_the_font_database but it doesn't work. Moreover, I tried to put one of these fonts inside the texmf tree (the delicious), both in /usr/local/texlive/texmf-local/fonts/opentype/public/exljbris and /usr/local/texlive/2012/texmf-dist/fonts/opentype/public/exljbris, I rebuild the ls-R with texhash, then the font list in ConTeXt with mtxrun --script font --reload, I also regenerated the ConTeXt data with context --generate, but the delicious font doesn't appear in the list. I really don't know what to do. Can you give me a little help? \starttypescript [serif] [delicious] [name] \setups[font:fallback:serif] \definefontsynonym [Serif] [file:deliciousroman] [features=default] \definefontsynonym [SerifBold] [file:deliciousbold] [features=default] \definefontsynonym [SerifItalic] [file:deliciousitalic] [features=default] \definefontsynonym [SerifBoldItalic] [file:deliciousbolditalic] [features=default] \stoptypescript My typescripts package in the minimals have support for the delicious font but I defined it as sans. 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 ___
Re: [NTG-context] System font searching suddenly stopped
On 4-6-2012 20:01, Wolfgang Schuster wrote: \definefontsynonym [Serif] [file:deliciousroman] [features=default] My typescripts package in the minimals have support for the delicious font but I defined it as sans. So, what is it .. a sans roman ? Hans - 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 - ___ 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 ___
[NTG-context] System font searching suddenly stopped
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 ___ 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 ___
Re: [NTG-context] System font searching suddenly stopped
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 ___
Re: [NTG-context] System font searching suddenly stopped
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 schuster.wolfg...@googlemail.com: 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 ___ ___ 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 ___
Re: [NTG-context] System font searching suddenly stopped
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 - ___ 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 ___