bug-texinfo
[Top][All Lists]
Advanced

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

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


From: Per Bothner
Subject: bug in @sub output in docbook [was: texinfo-5.9.96 pretest available]
Date: Tue, 23 Jun 2015 17:43:32 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

A buglet in the @sub handling, at least in docbook output:

Assume this is test.texi:

@node Macros
@chapter Macros
@defun {bound-identifier=?} @address@hidden address@hidden
@address@hidden and @address@hidden must be identifiers.
@end defun

$ /home/bothner/GNU/texinfo-5.9.96/+installed+/bin/makeinfo --docbook test.texi 
-o test.xml

The output (leaving out some boiler-plate):

<synopsis><indexterm role="fn"><primary>bound-identifier=?</primary></indexterm><phrase role="category"><emphasis 
role="bold">Function</emphasis>:</phrase> <function>bound-identifier=?</function> <replaceable><replaceable>id1</replaceable></replaceable> 
<replaceable>id</replaceable><replaceable>2</replaceable></synopsis>
<blockquote><para><replaceable>id<subscript>1</subscript></replaceable> and 
<replaceable>id</replaceable><subscript>2</subscript> must be identifiers.
</para></blockquote>

Notice the <subscript> elements in the body, but they're missing in the 
<synopsis>.
Which means inconsistent-looking output.

(Of course the source for id_1 and id_2 should be consistent - but I tried 2
different variations, neither of which work.)
--
        --Per Bothner
address@hidden   http://per.bothner.com/



reply via email to

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