From e7f11b8ef6815c3a851cd1a74b75b4b78152dab0 Mon Sep 17 00:00:00 2001 From: Johan Ouwerkerk Date: Sun, 12 Jul 2015 03:07:24 +0200 Subject: [PATCH] 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(-) diff --git a/man/custom-html.xsl b/man/custom-html.xsl index d5947d8fb..1ac247e65 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 - - - - # - - - - - - - ¶ - -
+ +
-- 2.30.2