Red Hat Bugzilla – Bug 501202
asciidoc doesn't handle multiple man pages in one file for docbook output
Last modified: 2009-06-19 01:11:55 EDT
Created attachment 344362 [details]
Description of problem:
An asciidoc file that describes several man pages in the same file does not generate the right XML file output.
"Using the following NAME section, a2x creates "foo,_bar.1" as output
file instead of the intended "foo.1".
foo, bar - Do some foo
The problem stems from the fact that AsciiDoc puts both the names into a
single DocBook refname element:
The latter is semantically correct and when processed generates two man
page files [...]"
Steps to Reproduce:
1. Take a asciidoc file as above
2. asciidoc -b docbook -d manpage file.txt
3. xmlto man file.xml
The resulting man page is a single man page foo,_bar.1.
Two man pages foo.1 and bar.1.
The fix for this went upstream http://hg.sharesource.org/asciidoc/raw-rev/fc5a653a30a3. Attached is the backported fix for F-11/rawhide.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
Fixed in rawhide with version 8.4.5