2008/7/10 Neiaglov Dmitry
Hello there!
I was googling around, you mis-googled :-) http://www.google.com/cse?q=gentium&cx=016640200293943433883:w-6slqs1kjg&cof=FORID:0&sa=Special+Search
OpenType fonts with ConTeXt and XeTeX with precise sizes in points. I am trying to create a subsection style with Gentium 24pt.
following code should be work. \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 \usetypescript[gentium-basic] \setupcolors[state=start] \def\subsectfont{\setupbodyfont[gentium,24pt]} \setuphead [subsection] [alternative=inmargin, numbercolor=orange, style=\subsectfont] \starttext \section {a section} \subsection {a subsection} \input knuth \stoptext Cheers -- Diego Depaoli