From: Johan Ouwerkerk Date: Sun, 12 Jul 2015 01:07:24 +0000 (+0200) Subject: Use a top-to-bottom numbering scheme for generating ids of subheadings and terms... X-Git-Tag: v226.4~1^2~212 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=e7f11b8ef6815c3a851cd1a74b75b4b78152dab0;ds=sidebyside 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. --- 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 - - - - # - - - - - - - ¶ - -
+ +