help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

macros inside macros


From: Charlie Zender
Subject: macros inside macros
Date: Thu, 20 Mar 2003 09:05:00 -0800 (PST)

Hi,

My setup is debian unstable version of tetex 2.0.2 and related utilities.
I use TeXInfo macros without arguments as semantic place holders for
variable symbols, e.g., 

@macro speedoflight {}
c
@end macro

1. Is this the best way to do the TeXInfo equivalent of a simple TeX \def? 

2. texi2html and texi2dvi both work correctly with
@address@hidden, but makeinfo does not like macros when they are
embedded in other macros, so @address@hidden causes makeinfo to barf:

nco.texi:3459: Unknown command `speedoflight'.
nco.texi:3459: Misplaced {.
nco.texi:3459: Misplaced }.

Is this a know limitation of makeinfo or a bug or is there a workaround?
There's a lot of information on recursive macros in the texinfo
manual, but I couldn't find anything on macros as arguments to macros.

Thanks!
Charlie

-- 
Charlie Zender, zender at uci dot edu, (949) 824-2987, Department of
Earth System Science, University of California, Irvine CA 92697-3100






reply via email to

[Prev in Thread] Current Thread [Next in Thread]