On Thu, Jul 10, 2008 at 8:50 AM, Neiaglov Dmitry
you mis-googled :-) http://www.google.com/cse?q=gentium&cx=016640200293943433883:w-6slqs1kjg&cof=FORID:0&sa=Special+Search
I really couldn't think that problem was font-dependent :)
following code should be work.
\starttypescript[serif][gentium-basic] \definefontsynonym[Serif] [GentiumBasic] \definefontsynonym[SerifItalic] [GentiumBasicItalic] \definefontsynonym[SerifBold] [GentiumBasicBold] \definefontsynonym[SerifBoldItalic][GentiumBasicBoldItalic] \stoptypescript
...
\stoptext
Yes, thanks, works fine, but does it really use XeTeX? The wiki says: "XeTeX offers some nice features in terms of automatically finding related fonts in a family" which would be really convenient to use. I really can't find docs on the difference between XeTeX and non-XeTeX font handling in ConTeXt.
Font tutorial is missing. Here you have some examples, but they are outdated: http://wiki.contextgarden.net/Fonts_in_XeTeX One feature that only works with XeTeX is this one (copied from wiki): \definetypeface[Serapion][rm][Xserif][Serapion Pro] \setupbodyfont[Serapion, 12pt] this could also be: % no idea about proper name of that font; try to run "fc-list Gentium" \definetypeface[gentium-basic][rm][Xserif][Gentium Basic] \setupbodyfont[gentium-basic, 12pt] This will automatically assign bold, italic & bold italic. This doesn't work with LuaTeX (not because it cannot work, but because it has not been implemented). The procedure that works with both LuaTeX & XeTeX & basically does (almost) the same: \starttypescript[serif][gentium-basic] \definefontsynonym[Serif] [GentiumBasic] \definefontsynonym[SerifItalic] [GentiumBasicItalic] \definefontsynonym[SerifBold] [GentiumBasicBold] \definefontsynonym[SerifBoldItalic][GentiumBasicBoldItalic] \stoptypescript \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[gentium-basic] \definetypeface[gentium][rm][serif][gentium-basic][default] \stoptypescript The only difference is that Xsans uses the installed font (needs to be available to other applications as well; alternative is to call "name:" in all the definitions above), while "file:" will use the font file from somewhere in texmf tree (kpathsea needs to see it). Mojca