texi2html-bug
[Top][All Lists]
Advanced

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

Re: [Texi2html-bug] macro expansion


From: Patrice Dumas
Subject: Re: [Texi2html-bug] macro expansion
Date: Sun, 30 Sep 2007 16:30:55 +0200
User-agent: Mutt/1.5.16 (2007-06-09)

On Fri, Sep 21, 2007 at 01:48:43PM -0700, Graham Percival wrote:
> Greetings,

Hello,

> I am the documentation editor for lilypond, and I'm considering using 
> texi2html instead of makeinfo --html.  Unfortunately our manual is quite 
> large and we use a few special texinfo constructs, so it is not completely 
> compatible with texi2html.
>
> While I was investigating these problems, I isolated the following case.   
> Attempting to compile this file with texi2html 1.78 produces this error 
> message; this file works fine in makeinfo.
>
> *** Unknown node in menu entry `Chapter one' (l. 6)
> ** closing @-command html (l. 22)

This is not really linked with macros. In fact it comes from

Something  @html
in html
@end html.

texi2html doesn't understand that @end html ends the @html because there
is a dot. But in fact makeinfo --html also don't:

$ makeinfo --html lt2h.texi 
lt2h.texi:15: Bad argument `html.' to address@hidden', using `html'.
makeinfo: Removing output file 
`/home/dumas/src/texi2html/Tests/macros/lt2h/index.html' due to errors; use 
--force to preserve.

And when doing info makeinfo doesn't complain, but removes the dot from
the output. texi2dvi leaves the dot.

This kind of stuff is somehow documented in the 'Specificities' node of
the texi2html. Still it seems to me that texi2html should handle this 
situation like texi2dvi does, especially since texi2html takes into
account what follows end block commands. I'll work on it.

--
Pat




reply via email to

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