Hi Mojca, I tried your example below and struggled in path error:
%\starttypescript[serif][gentium-basic] %\definefontsynonym[GentiumBasic] [file:GenBasR] [features=default] %\definefontsynonym[GentiumBasicItalic] [file:GenBasI] [features=default] %\definefontsynonym[GentiumBasicBold] [file:GenBasB] [features=default] %\definefontsynonym[GentiumBasicBoldItalic][file:GenBasBI] [features=default] %\stoptypescript %\starttypescript[serif][gentium-basic][name] %\definefontsynonym[Serif] [GentiumBasic] %\definefontsynonym[SerifItalic] [GentiumBasicItalic] %\definefontsynonym[SerifBold] [GentiumBasicBold] %\definefontsynonym[SerifBoldItalic][GentiumBasicBoldItalic] %\stoptypescript %\definetypeface[mygentium][rm][serif][gentium-basic][default] %\setupbodyfont[mygentium,36pt] \font\rom="Gentium Basic" at 36pt \starttext Test WQG 0196 \rom Test WQG 0196 \stoptext Doing it like this works OK. But uncommenting the lines above ends up in ... kpathsea: Running mktexmf GenBasR ! I can't find file `GenBasR'. But isn't it the same font/file adressed in both cases? (sorry, I am an absolute beginner in xetex) Yours, Steffen Am 20.11.2007 um 01:57 schrieb Mojca Miklavec: > On 11/19/07, Joel C. Salomon wrote: >> Guess I asked for too much at once. >> >> I've downloaded the Gentium Basic/Basic Book set of fonts from >> <http://scripts.sil.org/Gentium_basic>, and I'd like to use them with >> ConTeXt. I ran texfont (with the command line texfont >> --fontroot=c:\users\chesky\programs\context\tex\texmf-local >> --sourcepath=... --vendor=sil --collection=gentium --makepath >> --install), and now running texexec on the newly generated >> texnansi-sil-gentium.tex produces some sort of glyph list. > > Rather than using texfont (half-broken anyway), use XeTeX or LuaTeX. > > (If you're using MikTeX and are willing to upgrade to MikTeX 2.7, you > can process your documents with "texexec --xtx filename"; if you're > using the standalone ConTeXt, you can process it with "--xtx" or > "--lua".) > > Depending on whether you want to install those fonts or keep them in > the tree there are slightly different approaches, but this should work > for both LuTeX and XeTeX if you keep your files in the working > directory or in texmf/fonts/opentype/...[somewhere here]... > > \starttypescript[serif][gentium-basic] > \definefontsynonym[GentiumBasic] [file:GenBasR] > [features=default] > \definefontsynonym[GentiumBasicItalic] [file:GenBasI] > [features=default] > \definefontsynonym[GentiumBasicBold] [file:GenBasB] > [features=default] > \definefontsynonym[GentiumBasicBoldItalic][file:GenBasBI] > [features=default] > \stoptypescript > > \starttypescript[serif][gentium-basic][name] > \definefontsynonym[Serif] [GentiumBasic] > \definefontsynonym[SerifItalic] [GentiumBasicItalic] > \definefontsynonym[SerifBold] [GentiumBasicBold] > \definefontsynonym[SerifBoldItalic][GentiumBasicBoldItalic] > \stoptypescript > > \definetypeface[mygentium][rm][serif][gentium-basic][default] > > \setupbodyfont[mygentium,13pt] > > > I don't know how you plan to mix those fonts, but "reverting to > another typeface in case a glyph is missing" is a bad idea in this > particular case, at least in my opinion (although it's conditionally > doable) - how are you going to handle missing characters in bold > typeface? > > One possibility would be to use: > - Gentium for Roman & Italic > - Gentium Basic for Bold & Bold Italic (and hope that you won't need > any special characters for titles) > > Mojca > ______________________________________________________________________ > _____________ > 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________