Am 13.05.2009 um 18:31 schrieb afsmith:
Wolfgang, Currently the module you linked to (http://bitbucket.org/wolfs/simplefonts/) is beyond my understanding... I would first like to understand the mechanism your module operates on before trying to automate it.
My module simplifies the use of fonts in MkIV and is similar to the fontspec package for LaTeX but has one feature which is not available in fontspec. Here is a example: When you wan to use the Delicious fonts [1] from exljbris you need a typescript which assigns each font to a certain style (upright, italic, bold ...), you can see the complete typescript for the Delicious font on the wiki [2]. When you use my module you don't have to create a typescript (this done by the module when you select a font), you need only the \set<xxx>font commands to set the fonts for the families (serif, sans and mono). The setup for the delicious fonts is: \usemodule[simplefonts] % load the module \setmainfont[Delicious] % set Delicious as main (serif) font \starttext \rm\tf roman \it italic \bf bold \bi bolditalic \sc smallcaps \stoptext [1] http://www.josbuivenga.demon.nl/delicious.html [2] http://wiki.contextgarden.net/CD_Booklet#Use_Delicious_OTF_font_with_luatex_... BTW: ConTeXt ships with complete typescripts for Mac (type-mac.tex) and Windows (type-win.tex) fonts, more typescripts can be found at http://bitbucket.org/wolfs/typescripts/. Wolfgang