bug-texinfo
[Top][All Lists]
Advanced

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

Re: bug in @sub output in docbook [was: texinfo-5.9.96 pretest available


From: Gavin Smith
Subject: Re: bug in @sub output in docbook [was: texinfo-5.9.96 pretest available]
Date: Wed, 24 Jun 2015 15:03:57 +0100

On 24 June 2015 at 14:43, Patrice Dumas <address@hidden> wrote:
> The reason why some elements only are allowed is to generate valid
> DocBook, as in <synopsis> not everything is accepted.  I do not remember
> if <subscript> is allowed or not, I may have forgotten to add it.  If it
> is not allowed, however, I think that inconsistent-looking output is
> better than invalid DocBook...

Good point. I've found the following documentation for <synopsis>
http://www.docbook.org/tdg/en/html/synopsis.html

It looks like <superscript> and <subscript> are allowed. See Children
section, following "The following elements occur in synopsis".

Other tags that are also listed, but are not allowed at the moment by
DocBook.pm, are

citetitle, literal, command, firstterm, footnote, userinput, keycap, option

I'd suggest these be added, unless I am missing something.

Not allowed in <synopsis> and correctly not allowed DocBook.pm:
<mathphrase>



reply via email to

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