Re: [NTG-context] [***SPAM***] Can't find recommended tool
Pable, thanks, but it doesn't work. so easily. mxtrun only see what is in the TeX directory tree and uses that font database. My question is how to register the font to that system so that mtxrun can find it. How does one do that with a ttf font file? Thanks Pablo Rodríguez oi...@web.de wrote: On 22/06/13 16:41, hwit...@gmail.com wrote: I am trying to install a font so that Context cn use it. I am using the simplefont module and have a ttf that I'd like to use. There is a lot of conflicting information out about to do this and som is outdated. As for ContTeX I did find a nice article, but it says to use the program texfont, which ships with ConTex, but I do not have any such file. texfont --ve=sil --co=gentium --makepath --install I am using the TexLive version. Is there any simple method to get this font so that it can be used by ConTex MKIV ? Yes, install your font (I assume is Gentium) on your operative system. Run mtxrun --script fonts --reload. (Not sure it is required, but I need this each time I install a font.) And (assuming you installed Gentium), here is the sample code: \usemodule[simplefonts] \setmainfont[Gentium] \starttext \input knuth \stoptext Compile it with context gentium.tex (change file name accordingly) and it should work. If not, please try to describe what happened. I hope 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 ___ ___ 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] Can't find recommended tool
On 23/06/13 08:09, d.henman wrote: Pable, thanks, but it doesn't work. so easily. mxtrun only see what is in the TeX directory tree and uses that font database. My question is how to register the font to that system so that mtxrun can find it. How does one do that with a ttf font file? Thanks The variable is (I'm assuming you use Windows [I don't know whether this have changed in versions above XP]): OSFONTDIR=c:/windows/fonts// If I'm not wrong, you should add this into your texmf.cnf file (invoke it with kpsewhich texmf.cnf). Rebuild the font cache (mtxrun --script fonts --reload) and it should work. I hope this 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 ___
[NTG-context] MkIV in the wiki?
Dear wiki administrators, is it planned to enable MkIV compilation in the wiki? Many thanks for your help, 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 ___
[NTG-context] simplefonts wiki page added
Dear list, I have added a new simplefonts page for new users. (I hope it isn't full of errors ;-).) There may be some missing information, because I don't understand how the standard font handling in ConTeXt works. And I removed duplicated content from the font handling in LuaTeX (http://wiki.contextgarden.net/index.php?title=Fonts_in_LuaTeXaction=historysubmitdiff=21929oldid=20049). 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] simplefonts wiki page added
On 23-06-13 20:36, Pablo Rodríguez wrote: Dear list, I have added a new simplefonts page for new users. (I hope it isn't full of errors ;-).) There may be some missing information, because I don't understand how the standard font handling in ConTeXt works. And I removed duplicated content from the font handling in LuaTeX (http://wiki.contextgarden.net/index.php?title=Fonts_in_LuaTeXaction=historysubmitdiff=21929oldid=20049). Just in case it helps, Pablo I think your initiative is very helpful! ___ 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] Can't find recommended tool
On 6/23/2013 2:58 PM, Pablo Rodríguez wrote: On 23/06/13 08:09, d.henman wrote: Pable, thanks, but it doesn't work. so easily. mxtrun only see what is in the TeX directory tree and uses that font database. My question is how to register the font to that system so that mtxrun can find it. How does one do that with a ttf font file? Thanks The variable is (I'm assuming you use Windows [I don't know whether this have changed in versions above XP]): OSFONTDIR=c:/windows/fonts// If I'm not wrong, you should add this into your texmf.cnf file (invoke it with kpsewhich texmf.cnf). Rebuild the font cache (mtxrun --script fonts --reload) and it should work. I hope this helps, mkiv does not use kpse and texmf.cnf but texmfcnf.lua also, OSFONTDIR is already set 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] Auto selecting optical sizes for a font
Am 22.06.2013 16:57, schrieb Hans Hagen: We have no feature 'size' (or I must have forgotten about it). As there is no consistency in designsizes and there is always some esthetic choice involved no automatic mechanism is (and will be) build in. Hi, There is a 'size' table in opentype fonts which contains informations about the design size, the design range and a style-ID and -name. Fonts that come with different optical sizes do in fact use that table exactly for the purpose desired by Andrés. Latin Modern does so, Adobe fonts do so and EB Garamond happens to use that table too. XeLaTeX and LuaLaTeX interpret it correctly (by means of fontspec, IIRC). So perhaps it’s worth reconsidering this. Best regards, Georg ___ 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 ___