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: Fri, 26 Jun 2015 00:02:41 +0100

On 24 June 2015 at 15:03, Gavin Smith <address@hidden> wrote:
> 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".

The point we've been missing, of course, is that these are not
children of <synopsis>: they're children of <replaceable>, which is
much more restrictive:
http://www.docbook.org/tdg/en/html/replaceable.html

<subscript> and <superscript> are allowed, but not others which we do
allow at present, like <emphasis>.



reply via email to

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