From aa1169774bbd61761965d826fe36bd071ec78656 Mon Sep 17 00:00:00 2001 From: Johan Ouwerkerk Date: Sun, 12 Jul 2015 03:07:24 +0200 Subject: Use a top-to-bottom numbering scheme for generating ids of subheadings and terms. This scheme fixes permalinks to distinguish between items that would previously have the same ID attribute. Where possible the generated ID values are the same as those generated with the previous versions of the stylesheet to retain backwards compatibility with published links. As a side effect of the changes xsltproc should no longer complain about duplicate IDs during build. --- man/custom-html.xsl | 170 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 106 insertions(+), 64 deletions(-) (limited to 'man') diff --git a/man/custom-html.xsl b/man/custom-html.xsl index 2df12411c7..f51fda77e6 100644 --- a/man/custom-html.xsl +++ b/man/custom-html.xsl @@ -113,80 +113,122 @@ - - -

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - headerlink - - - Permalink to this headline - - - # - - - - -

+ + +
- -

- + + + + + + + + + + - - - - - headerlink - - - Permalink to this headline - - - # - - - - -

+ + +
+ + + + + + + + + + + + -
- + + + + + + + - - - + - - - - - headerlink - - - Permalink to this term - - - - # - - - - - - - - -
+ +
-- cgit v1.2.3-54-g00ecf