13 Oct
2010
13 Oct
'10
2:29 p.m.
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