[NTG-context] Wiki update

Hans Hagen j.hagen at xs4all.nl
Fri May 31 09:37:57 CEST 2019


On 5/30/2019 9:34 PM, Otared Kavian wrote:
>> On 30 May 2019, at 12:07, Taco Hoekwater <taco at elvenkind.com> wrote:
>> […]
>>
>> For example,
>>
>>   <syntax>section</syntax>
>>
>> outputs a table with the formal calling convention(s) for the \section command. Multiple tables actually, as it also outputs the alternative calls with different arguments, and it outputs the definition of the internal \*section* command, of which \section is an instance. (The parents of instances are printed in a slanted font).
> 
> This is absolutely magic and extremely useful! Thank you, Wolfgang, Taco and Hans!
> 
> I wonder whether the magic behind the scenes would allow some day to say
> 	\syntax[section]
> within a ConTeXT document… :-)

\usemodule[setups-basics]
\loadsetups[i-context]

\starttext

\basicsetup{section:instance}

\shortsetup{section:instance}

\showsetup {section:instance}

\stoptext

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


More information about the ntg-context mailing list