On 13/10/10 12:48, Andreas Harder wrote:
Hi all,
please have a look at my example:
\definefontfeature[default][default][mode=node,onum=yes]
\definefontfeature[sc][default][smcp=yes]
\def\sc{\groupedcommand{\setfontfeature{sc}}{}}
\setupbodyfont[palatino]
\starttext
\startTEXpage[offset=1ex]
{\sc Abc} 0369 \crlf
\sc{Abc} 0369
\stopTEXpage
\startTEXpage[offset=1ex]
0369 {\sc Abc} 0369 \crlf
0369 \sc{Abc} 0369
\stopTEXpage
\stoptext
It seems that if a line starts with \sc{…} the onum-option is ignored. Is there
a solution?
\setfontfeature deletes all other features; try \addfontfeaturetoset or
\addfontfeaturetofont instead (not sure what the difference is).
--
Michael Murphy
___________________________________________________________________________________
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
___________________________________________________________________________________