29 Oct
2011
29 Oct
'11
7:51 p.m.
Am 29.10.2011 um 19:29 schrieb Pablo RodrÃguez:
Hi there,
I would like to get section titles that have aalt (actually, smcp and onum) and numbers in margin.
It works fine with the following code:
\setuphead[section][style=\sc\os,alternative=inmargin] \starttext \section{This is a title} \input{knuth} \stoptext
But in-margin numbers don't work when adding OT features:
\usemodule[simplefonts][size=12pt] \setmainfont[TeX Gyre Pagella] \definefontfeature[scttitle][default][aalt=yes] \setuphead[section][style=,alternative=inmargin,command=\addfs{scttitle}]
\definefontfeature[section][onum=yes,smcp=yes] \setuphead[section][style=\tfa\addfs{section},alternative=inmargin] Wolfgang