bug-texinfo
[Top][All Lists]
Advanced

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

Re: Using macros in @item


From: Akim Demaille
Subject: Re: Using macros in @item
Date: Thu, 23 Oct 2003 10:04:16 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Actually the whole process of asking makeinfo to perform the expansion
is dubious.  For instance, is @table expected to allow for user
defined macros?  Such as

        \input texinfo   @c -*-texinfo-*-
        @c %**start of header
        @setfilename INFONAME.info
        @settitle NAME-OF-MANUAL VERSION
        @c %**end of header
        
        @c @anchored{TEXT}
        @c ===============
        @macro anchored{text}
        @anchor{\text\}\text\
        @end macro
        
        @ifnottex
        @node Top
        @top TITLE
        @end ifnottex
        
        @menu
        * First Chapter::    Getting started ...
        @end menu
        
        @node First Chapter
        @chapter First Chapter
        
        @xref{Thinking in C++ Volume 2}, for more information.
        
@table @anchored
@item Thinking in C++ Volume 1
Blak blah.

@item Thinking in C++ Volume 2
More Blak blah.
@end table
        
        @bye



This works with a reasonable texinfo.tex (well, the current one :),
but of course, not with -e.




reply via email to

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