bug-texinfo
[Top][All Lists]
Advanced

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

makeinfo: --macro-expand does not work with --html


From: Bruno Haible
Subject: makeinfo: --macro-expand does not work with --html
Date: Wed, 8 Apr 2009 13:10:01 +0200
User-agent: KMail/1.9.9

Hi,

Using texinfo-4.13.

While "makeinfo --macro-expand" produces a good .texi output,
"makeinfo --html --macro-expand" does not: Its output is lacking the node
names in all @node lines. When texi2html is then run on the output, it leads
to lots of "*** Undefined node" errors.

How to reproduce:

$ git clone git://git.savannah.gnu.org/libunistring.git
$ cd libunistring
$ GNULIB_TOOL=YOUR_GNULIB_CHECKOUT/gnulib-tool ./autogen.sh
$ cd doc
$ cat > version.texi <<EOF
@set UPDATED 5 April 2009
@set UPDATED-MONTH April 2009
@set EDITION 0.9
@set VERSION 0.9
EOF

$ makeinfo --ifhtml --no-ifinfo --no-split --macro-expand tmp1.texi 
libunistring.texi
$ makeinfo --html --no-split --macro-expand tmp2.texi libunistring.texi
$ diff tmp1.texi tmp2.texi
122c122
< @node Top
---
> @node 
221c221
< @node Introduction
---
> @node 
279c279
< @node Unicode
---
> @node 
330c330
...

Bruno




reply via email to

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