Am 30.11.2009 um 18:47 schrieb Hans Hagen: > Andreas Harder wrote: >> Hi all, >> I'm trying to set the superscript-fontfeature for footnote-numbers, but >> there isn't a '(text)numberstyle'-command, so what's the way to achieve this? >> So far I've this: >> \starttypescript [serif] [linlibertine] >> \definefontsynonym [Serif] [LinLibertine-Regular] [features=default] >> \stoptypescript >> \starttypescript [serif] [linlibertine] >> \definefontsynonym [LinLibertine-Regular] [name:linuxlibertineo] >> [features=default] >> \stoptypescript >> \starttypescript [linlibertine] >> \definetypeface [linlibertine] [rm] [serif] [linlibertine] [default] >> \stoptypescript >> \definefontfeature[sups][sups=yes] >> \usetypescript[linlibertine] >> \setupbodyfont[linlibertine] >> % \defineconversion[sups][\red\setff{sups}\arabicnumerals] >> \definestructureconversionset[sups][][Romannumerals] >> \setupnote >> [footnote] >> [command=\myfootnotecommand, >> % numberconversionset=sups, >> % textnumberstyle=\setff{sups}, % would be nice >> ] >> \def\myfootnotecommand#1{\hbox to .5em{\setff{sups}#1}} >> \starttext \dorecurse{12}{This\footnote{Hello World #1} is a test. } >> \stoptext > > I need to look into the numberstyle comand as well as some duplicate command > being applied but here is a test > > \setupnote > [footnote] > [command=Z, > style=X, > textstyle=Q, > numbercommand=N\setff{sups}, > textcommand=T\setff{sups}, > numberstyle=S\setff{sups}, > %style=\setff{sups}, % interesting effect > ] > > for the moment stick to > > \setupnote > [footnote] > [command=, > textstyle=, > numbercommand=\setff{sups}, > textcommand=\setff{sups}]
Thank you, it works! … and was so easy Andreas ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________