Am 21.01.2011 um 11:38 schrieb Andreas Harder:

> Hi all,
> 
> I have some setups like:
> 
> \setupfootnotes[textstyle=\plf] or
> \setupitemize[style=\plf] where \plf is defined as:
> \definefontfeature[plf][default] [pnum=yes,lnum=yes]
> \def\plf{\groupedcommand{\setfontfeature{plf}}{}}
> 
> With the newest beta this setup fails. For footnotes one can use 
> textcommand=\plf\high, but there is no symcommand for item groups. Asides 
> from the old style=\setff{…} behaviour was very convenient, is there a work 
> around?
> 
> Here is an example.
> 
> \definefontfeature[default] [default] [mode=node,onum=yes]
> \definefontfeature[plf]     [default] [pnum=yes,lnum=yes]
> \definefontfeature[tlf]     [default] [tnum=yes,lnum=yes]
> 
> \def\plf{\groupedcommand{\setfontfeature{plf}}{}}
> \def\tlf{\groupedcommand{\setfontfeature{tlf}}{}}

\unexpanded\def\tlf{\groupedcommand{\setfontfeature{tlf}}{}}

or

\definealternativestyle [tlf] [\setff{tlf}] [\setff{tlf}]

> \setupbodyfont[palatino]
> 
> \setupitemgroup
>  [itemize]
>  [command=\tlf, % sets the whole environment (besides the first item number)
>   % style=\setff{tlf}, % used to work (style=\tlf didn't)

style=tlf, % works only with \definealternativestyle, otherwise \tlf

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
___________________________________________________________________________________

Reply via email to