Difference between revisions of "Command/installcommandhandler"

From Wiki
Jump to navigation Jump to search
(Description. Ish.)
(Close code tag)
Line 35: Line 35:
 
* <code>\setup''name''</code>
 
* <code>\setup''name''</code>
 
* <code>\current''name''</code>
 
* <code>\current''name''</code>
* <code>\install''name''method
+
* <code>\install''name''method</code>
 
* ...
 
* ...
  

Revision as of 08:37, 17 April 2013

\installcommandhandler

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: