Next: Include Files, Previous: Conditionals, Up: Top [Contents][Index]
Texinfo provides several ways to define new commands (in all cases, it’s not recommended to try redefining existing commands):
Incidentally, these macros have nothing to do with the @defmac
command, which is for documenting macros in the subject area of the
manual (see Def Cmd Template).
Most generally of all (not just for defining new commands), it is
possible to invoke any external macro processor and have Texinfo
recognize so-called #line
directives for error reporting.
If you want to do simple text substitution, @set
and
@value
is the simplest approach (see @set @clear @value
).
• Defining Macros | Defining and undefining new commands. | |
• Invoking Macros | Using a macro, once you’ve defined it. | |
• Macro Details | Limitations of Texinfo macros. | |
• @alias | Command aliases. | |
• @definfoenclose | Customized highlighting. | |
• External Macro Processors | #line directives.
|
Next: Include Files, Previous: Conditionals, Up: Top [Contents][Index]