[Top][All Lists]

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

[help-texinfo] Porting macro-heavy makeinfo 4 to makeinfo 5

From: Scott Pakin
Subject: [help-texinfo] Porting macro-heavy makeinfo 4 to makeinfo 5
Date: Fri, 11 Apr 2014 10:28:51 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

I'm trying to rebuild a large, complex, Texinfo file I wrote back in
the Texinfo 4 days, and I'm getting zillions of error messages from
Texinfo 5's makeinfo.  I can use some help updating my document to
work with the latest makeinfo.

My .texi file is extremely macro-heavy, and the Texinfo 5-introduced
limitation that most commands appear only at the beginning of a line
seems to be the document's main bugaboo.  How am I now supposed to
write inlinable macros that depend upon non-inlinable commands?  To
make that question more concrete, how would one port the following
Texinfo 4 constructs to Texinfo 5?

    @macro cncp {concept}
    @cindex \concept\
    @end macro

    @macro foo
    @end macro

    @macro bar
    @end macro


    Some things are foolish (@foo{}), and some things are barred
    (@bar{}).  Regardless of how @foo{} or @bar{} you are, you should
    look for the following:

    @table @cncp
    @item baz
    Found in bazaars

    @item quux
    In the vicinity of Equuleus

    @item corge
    The most incorrigible
    @end table

-- Scott

reply via email to

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