Re: [NTG-context] issue with section title and numbers in margin
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 ___ 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] issue with section title and numbers in margin
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 ___ 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 ___
[NTG-context] 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 ___ 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 ___