issue with section title and numbers in margin
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}] \starttext \section{This is a title} \input{knuth} \stoptext Is there another way to add font features to \setuphead{} or have I hit a bug? Thanks for your help, Pablo -- http://www.ousia.tk
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
On 10/29/2011 07:51 PM, Wolfgang Schuster wrote:
Am 29.10.2011 um 19:29 schrieb Pablo Rodríguez:
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]
Many thanks for your help, Wolfgang. -- http://www.ousia.tk
participants (2)
-
Pablo Rodríguez
-
Wolfgang Schuster