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

Assume this is test.texi:

@node Macros
@chapter Macros
@defun {bound-identifier=?} @var{id@sub{1}} id@sub{2}
@var{id@sub{1}} and @var{id}@sub{2} 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
[email protected]   http://per.bothner.com/

Reply via email to