Bugs item #3545150, was opened at 2012-07-17 11:21
Message generated for change (Settings changed) made by bobstayton
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3545150&group_id=21935
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: XSL
Group: output: manpages
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Peter Eisentraut (petere78)
Assigned to: Robert Stayton (bobstayton)
Summary: step titles not output in man pages
Initial Comment:
Step titles (procedure/step/title) are not rendered at all in man pages. In HTML, for example, they are, which is why I'm using them, and not seeing them in man pages loses a bit of information.
A simple solution is add something like this:
<xsl:template match="step/title">
<xsl:apply-templates/>
<xsl:text>: </xsl:text>
</xsl:template>
There are probably some more details that need to be dealt with for a general solution.
----------------------------------------------------------------------
Comment By: Peter Eisentraut (petere78)
Date: 2012-11-07 08:19
Message:
It looks good now. Thanks.
----------------------------------------------------------------------
Comment By: Robert Stayton (bobstayton)
Date: 2012-11-02 21:51
Message:
I agree, the first solution was not consistent with the other outputs. I
checked in another version that puts the title with the number.
----------------------------------------------------------------------
Comment By: Peter Eisentraut (petere78)
Date: 2012-11-02 09:44
Message:
I don't think this is a good solution. The rendering is inconsistent with
the HTML output.
HTML is
1. title1
text1
2. title2
text2
New man page output would be:
title1
1. text1
title2
2. text2
I think the latter is not very sensible by itself, and it doesn't reflect
the hierarchy of XML elements, and there shouldn't be such grave
inconsistencies between different formats.
----------------------------------------------------------------------
Comment By: Robert Stayton (bobstayton)
Date: 2012-10-22 13:30
Message:
A fix for this issue has been added to the current codebase.
Please test the fix with the latest snapshot from:
http://docbook.sourceforge.net/snapshots/
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=373747&aid=3545150&group_id=21935
|