* issue with section title and numbers in margin @ 2011-10-29 17:29 Pablo Rodríguez 2011-10-29 17:51 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: Pablo Rodríguez @ 2011-10-29 17:29 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: issue with section title and numbers in margin 2011-10-29 17:29 issue with section title and numbers in margin Pablo Rodríguez @ 2011-10-29 17:51 ` Wolfgang Schuster 2011-10-29 19:08 ` Pablo Rodríguez 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Schuster @ 2011-10-29 17:51 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: issue with section title and numbers in margin 2011-10-29 17:51 ` Wolfgang Schuster @ 2011-10-29 19:08 ` Pablo Rodríguez 0 siblings, 0 replies; 3+ messages in thread From: Pablo Rodríguez @ 2011-10-29 19:08 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-29 19:08 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-10-29 17:29 issue with section title and numbers in margin Pablo Rodríguez 2011-10-29 17:51 ` Wolfgang Schuster 2011-10-29 19:08 ` Pablo Rodríguez
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).