Mojca Miklavec wrote:
> On 5/5/06, Hans Hagen wrote:
>
>   
>> \placefigure
>>   {\select{caption}{zapf}{\input zapf \relax}}
>>   {}
>>
>> \stoptext
>>
>> i'll add selectors to the core
>>     
>
> Very nice feature!
>
> What about
>     \select[caption]{zapf}{\input zapf \relax}
> syntax instead? (You're the boss and the designer, but square brackets
> seem more consistent with other ConTeXt commands; at least to me.)
>   
this is indeed more natural to context, but i consider \select to be more like 
the \getvariable mechanism, and when used inside [] it saves outer braces: 

\setupheadertexts[\select{caption}{zapf}{\input zapf \relax}]

Hans 
 
-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to