Difference between revisions of "Command/installcommandhandler"
< Command
(Description. Ish.) |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>installcommandhandler</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 35: | Line 38: | ||
* <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> |
* ... | * ... | ||
Latest revision as of 16:26, 11 November 2019
\installcommandhandler
Syntax (autogenerated)
\installcommandhandler\command{...}\command | |
\command | csname |
{...} | name |
\command | csname |
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: