[NTG-context] \setfontfeature-problem
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? Greeting 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 ___
Re: [NTG-context] \setfontfeature-problem
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 ___
Re: [NTG-context] \setfontfeature-problem
On 13-10-2010 12:48, Andreas Harder wrote: It seems that if a line starts with \sc{…} the onum-option is ignored. Is there a solution? fixed in upcoming beta - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] \setfontfeature-problem
Am 13.10.2010 um 14:40 schrieb Hans Hagen: On 13-10-2010 12:48, Andreas Harder wrote: It seems that if a line starts with \sc{…} the onum-option is ignored. Is there a solution? fixed in upcoming beta Thanks Hans! 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 ___