From 5ecad0cd14b18203c43a037407edc93a527c2d19 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 5 Oct 2005 07:00:57 +0000 Subject: [PATCH] Problem:: Number generated for Synopfragref output, but no number generated in Synopfragment output. Cause:: manpages stylesheets import the HTML stylesheets. manpages stylesheets do not include a Synopfragref template, so they were just picking up the HTML one. However, the manpages stylesheet did have a Synopfragment template, which overrode the HTML one. Problem is that the manpages Synopfragment was not complete. Fix:: Correctly "ported" Synopfragment template from HTML stylesheets and added manpages-specific character markup and features. As a result of these changes, in the output now: - correct numbers a generated for Synopfragment output - Synopfragref contentes are italicized, as they should be - Synopfragment output is output with a hanging indent (similar to the hanging indent used for Cmysynopsis output) - for cases where there are a group of Synopfragments together, a line of vertical space is generated only before first, and suppressed before subsequent ones. Closes #599439. Thanks to Dennis Grace for reporting the problem (long, long ago) and for submitting a patch (which was used as-is but neverthelesss provided some insights). --- xsl/manpages/synop.xsl | 43 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/xsl/manpages/synop.xsl b/xsl/manpages/synop.xsl index af8943597..fb2e15c77 100644 --- a/xsl/manpages/synop.xsl +++ b/xsl/manpages/synop.xsl @@ -18,8 +18,49 @@ + + + + + + ( + + ) +   + + + + + + + + + + - .PP + + + + + + + + + + + .sp -1 + + .HP + + + + + + + ( + + ) + -- 2.49.0