Difference between revisions of "Command/installcommandhandler"

From ConTeXt wiki
Jump to navigationJump to search
(Close code tag)
 
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>installcommandhandler</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Latest revision as of 16:26, 11 November 2019

\installcommandhandler

Syntax (autogenerated)


Syntax

\installcommandhandler\??self name \??parent
\??self text
name text
\??parent in practice, always equal to \??self

Description

The generalized way to install a new command, and the accompanying \setup... command, and handlers, etc.

Defines the following commands:

  • \setupname
  • \currentname
  • \installnamemethod
  • ...

Example

Setting default values:

\setupitemgroup
  [\c!margin=\zeropoint,   % \c!key=\command
   \c!indentnext=\v!yes    % \c!key=\v!keyword

See also


Help from ConTeXt-Mailinglist/Forum

All issues with: