Re: [NTG-context] font search path and subfolders
Just did a complete reinstall and now the subfolders work. Also makes manual uninstall of fonts much more convenient. Cheers Jörg On 31.01.2015 21:07, Jörg Weger wrote: I tried to put the subfolders into a folder ~/fonts/ instead of ~/.fonts/ – same result :-( ls -la returns drwxr-xr-x for ~/.fonts/ as well as for ~/.fonts/opentype/ and ~/.fonts/truetype/ Greetings Jörg On 31.01.2015 19:26, Pablo Rodriguez wrote: On 01/31/2015 05:35 PM, Jörg Weger wrote: I still get (while using subfolders in ~/.fonts/opentype/) !LuaTeX error: cannot find OpenType font file for reading () == Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 1 after having run export OSFONTDIR=/usr/local/share/fonts//;$HOME/.fonts// Hi Jörg, at least to avoid to run that again and again, I think you could add that at last line of tex/setuptex. BTW, do you have a ~/.fonts/truetype/ directory? And does ConTeXt load fonts from that directory without problems? Could it be that you have an issue with permissions in the ~/.fonts/opentype/ directory? What about creating a new directory with another name and moving your fonts there? I think it may be an issue with permissions. Just in case it helps, Pablo ___ 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] font search path and subfolders
Do you mean reported by mtxrun --expand-var OSFONTDIR ? Jörg On 31.01.2015 13:54, Hans Hagen wrote: On 1/31/2015 1:40 PM, Jörg Weger wrote: Being able to put opentype font families into subfolders as well would be a great help to keep a clear view of all my fonts. what OSFONTDIR paths get reported (the reported paths should show what gets scanned for what) does $HOME/.fonts// work 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 ___ ___ 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] font search path and subfolders
On 01/31/2015 01:40 PM, Jörg Weger wrote: In my Linux home folder I have the usual “~/.fonts/” folder in which I have put subfolders “~/.fonts/opentype/” and “~/.fonts/truetype/”. Inside those subfolders I would like font families to have their own subfolders. [...] What am I missing? (Typo maybe?) Hi Jörg, it seems that // makes the search recursive. And you have to force the font cache generation: mtxrun —script font —reload —force I hope ith works, Pablo -- http://www.ousia.tk ___ 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] font search path and subfolders
I still get (while using subfolders in ~/.fonts/opentype/) !LuaTeX error: cannot find OpenType font file for reading () == Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 1 after having run export OSFONTDIR=/usr/local/share/fonts//;$HOME/.fonts// and Pablo’s proposal mtxrun --script fonts --reload --force although a lot happens after latter command. Running mtxrun --script fonts --list --all lists much more fonts now than before, but the PDF rendering still fails. After I move the OTF files from the subfolders to the parentfolder ~/.fonts/ and run mtxrun --script fonts --reload --force again, the PDF just renders fine. Any ideas? Greetings Jörg On 31.01.2015 16:05, Pablo Rodriguez wrote: On 01/31/2015 01:40 PM, Jörg Weger wrote: In my Linux home folder I have the usual “~/.fonts/” folder in which I have put subfolders “~/.fonts/opentype/” and “~/.fonts/truetype/”. Inside those subfolders I would like font families to have their own subfolders. [...] What am I missing? (Typo maybe?) Hi Jörg, it seems that // makes the search recursive. And you have to force the font cache generation: mtxrun —script font —reload —force I hope ith works, Pablo ___ 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] font search path and subfolders
On 01/31/2015 05:35 PM, Jörg Weger wrote: I still get (while using subfolders in ~/.fonts/opentype/) !LuaTeX error: cannot find OpenType font file for reading () == Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 1 after having run export OSFONTDIR=/usr/local/share/fonts//;$HOME/.fonts// Hi Jörg, at least to avoid to run that again and again, I think you could add that at last line of tex/setuptex. BTW, do you have a ~/.fonts/truetype/ directory? And does ConTeXt load fonts from that directory without problems? Could it be that you have an issue with permissions in the ~/.fonts/opentype/ directory? What about creating a new directory with another name and moving your fonts there? I think it may be an issue with permissions. Just in case it helps, Pablo -- http://www.ousia.tk ___ 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] font search path and subfolders
I tried to put the subfolders into a folder ~/fonts/ instead of ~/.fonts/ – same result :-( ls -la returns drwxr-xr-x for ~/.fonts/ as well as for ~/.fonts/opentype/ and ~/.fonts/truetype/ Greetings Jörg On 31.01.2015 19:26, Pablo Rodriguez wrote: On 01/31/2015 05:35 PM, Jörg Weger wrote: I still get (while using subfolders in ~/.fonts/opentype/) !LuaTeX error: cannot find OpenType font file for reading () == Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 1 after having run export OSFONTDIR=/usr/local/share/fonts//;$HOME/.fonts// Hi Jörg, at least to avoid to run that again and again, I think you could add that at last line of tex/setuptex. BTW, do you have a ~/.fonts/truetype/ directory? And does ConTeXt load fonts from that directory without problems? Could it be that you have an issue with permissions in the ~/.fonts/opentype/ directory? What about creating a new directory with another name and moving your fonts there? I think it may be an issue with permissions. Just in case it helps, Pablo ___ 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] font search path and subfolders
On 1/31/2015 1:40 PM, Jörg Weger wrote: Being able to put opentype font families into subfolders as well would be a great help to keep a clear view of all my fonts. what OSFONTDIR paths get reported (the reported paths should show what gets scanned for what) does $HOME/.fonts// work 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 ___