Wolfgang Schuster wrote: > > Am 16.09.2009 um 12:07 schrieb Arno Trautmann: > >> Hi, >> >> I’m new to ConTeXt and try to compile a document using XeTeX. Loading an >> otf font works fine, but I don’t get it to use oldstyle numbers. google >> and contextgarden did give me some hints, but I didn’t get it working. I >> tried: >> >> \starttext >> \definetypeface[normalfont][rm][Xserif][Arno Pro] >> \stoptext >> >> and several versions of things like [features=oldstyle], [onum=true], >> \definefontfeature[mine] with oldstyle etc. but nothing worked. >> >> So what am I doing wrong? Is there a simple way for oldstyle numbers? (I >> want them in the whole document, so I prefer a simple, global solution.) > > \definefontfeature[default][default][onum=yes] > > \definetypeface[mainface][rm][Xserif][Arno Pro] > > \setupodyfont[mainface] > > \starttext > 0123456789 > \stoptext
Thank you very much, that works fine! Just for future questions: Where could I have found this? (I prefer reading documentation than wasting people’s time by asking …) cheers, Arno
signature.asc
Description: OpenPGP digital signature
___________________________________________________________________________________ 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 ___________________________________________________________________________________