On 5/30/2019 9:34 PM, Otared Kavian wrote:
On 30 May 2019, at 12:07, Taco Hoekwater <t...@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
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to