bug-texinfo
[Top][All Lists]
Advanced

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

Re: nesting of @display and @example


From: Patrice Dumas
Subject: Re: nesting of @display and @example
Date: Thu, 8 Jun 2006 11:21:45 +0200
User-agent: Mutt/1.4.2.1i

> Any ideas, anyone?

I don't know if it is applicable to makeinfo, but in texi2html the 
paragraph or preformatted environement (<p> or <pre>) are closed each
time a format is encountered (@display, @table, @flushleft, @deffn,
@cartouche, @quotation, @verbatim, @tex...) except for a list of formats, 
for html there is @group and @html.

The preformatted or paragraph environment is reopened right after
closing the internal format. (in fact for paragraphs it is not right
after, only when a paragraph opening is needed, but you get the idea).

(note: in theory any format could be put in the list of formats that
don't trigger a paragraph/preformatted closing but it is certainly buggy
in texi2html since it isn't used and it isn't obvious for complex formats
like @table, @deffn... For makeinfo info output it could be needed if you
go that way).

--
Pat




reply via email to

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