Next: alias, Previous: Invoking Macros, Up: Defining New Texinfo Commands [Contents][Index]
Due to unavoidable disparities in the TeX and makeinfo
implementations, Texinfo macros have the following limitations.
@set and other such commands will have no effect inside a
macro.
@ifnottex
@macro ctor {name, arg}
@macro \name\
something involving \arg\ somehow
@end macro
@end macro
@end ifnottex
@tex
\gdef\ctor#1{\ctorx#1,}
\gdef\ctorx#1,#2,{\def#1{something involving #2 somehow}}
@end tex
If some macro feature causes errors when producing the printed version
of a manual, try expanding the macros with makeinfo by
invoking texi2dvi with the ‘-e’ option; see Format with texi2dvi.