[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texi2html-bug] macro expansion again
From: |
Patrice Dumas |
Subject: |
Re: [Texi2html-bug] macro expansion again |
Date: |
Tue, 2 Oct 2007 09:01:35 +0200 |
User-agent: |
Mutt/1.5.16 (2007-06-09) |
On Mon, Oct 01, 2007 at 04:17:50PM -0700, Graham Percival wrote:
> Thanks for the quick fix! I'm afraid that my example was a little bit too
> small (when it comes to accepting/rejecting lilypond bug reports, I'm a
Your example was perfect... But I was fooled by makeinfo...
> nutcase about having minimal examples). We use the @q{} macro to create
> curly quotes, as in the example at the bottom of this email.
>
> makeinfo --html produces this:
> ------
> <p>Hi, my name is ‘Graham’.
> ------
>
> (with no closing <p> tag, naughty naughty! :)
>
>
> whereas texi2html CVS produces this:
>
> -------
> <p>Hi, my name is ‘Graham’
> .
> </p>
> -------
>
> The latter one obviously looks like `Graham' .
This is still not related with @macro per se. After macro expansion, the
texinfo is:
Hi, my name is @html
‘Graham’
@end html.
The strange thing is that makeinfo doesn't accept this construct, while
it accepts it when there is an @macro... You can check by doing:
makeinfo -E lilypond_braces_expanded.texi lilypond_braces.texi
makeinfo --html lilypond_braces_expanded.texi
I'll report that on the texinfo mailing list.
In any case it seems that the newline preceding @end html is removed
from the output when makeinfo process the construct. I'll have a look
at it.
--
Pat