From 305c490a8801511d16a88a07e6d0f85c977fc346 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Wed, 26 Sep 2001 18:36:34 +0000 Subject: [PATCH] Bug #464487: use (new) anchor template to consistently generate HTML anchors (usually conditionally, in other words, only for elements that actually have an ID) --- xsl/html/admon.xsl | 38 +----------------- xsl/html/biblio.xsl | 46 ++++++++++----------- xsl/html/block.xsl | 39 +++++------------- xsl/html/callout.xsl | 2 +- xsl/html/component.xsl | 19 +++------ xsl/html/division.xsl | 27 ++----------- xsl/html/ebnf.xsl | 6 +-- xsl/html/formal.xsl | 12 ++---- xsl/html/glossary.xsl | 20 +++------- xsl/html/graphics.xsl | 4 +- xsl/html/html.xsl | 13 ++++++ xsl/html/index.xsl | 27 +++---------- xsl/html/inline.xsl | 40 +++++-------------- xsl/html/lists.xsl | 91 ++++++++++++------------------------------ xsl/html/qandaset.xsl | 28 ++++--------- xsl/html/refentry.xsl | 26 ++---------- xsl/html/sections.xsl | 68 +++++++++++-------------------- xsl/html/synop.xsl | 6 +-- xsl/html/table.xsl | 8 ++-- xsl/html/verbatim.xsl | 4 +- xsl/html/xref.xsl | 15 ++----- 21 files changed, 155 insertions(+), 384 deletions(-) diff --git a/xsl/html/admon.xsl b/xsl/html/admon.xsl index 09eae16fe..c3f8e6010 100644 --- a/xsl/html/admon.xsl +++ b/xsl/html/admon.xsl @@ -62,11 +62,7 @@ - - - - - + @@ -88,11 +84,7 @@

- - - - - +

@@ -106,30 +98,4 @@ - - - - - - -

- - - -

-
- - - - - - - - - - - - - - diff --git a/xsl/html/biblio.xsl b/xsl/html/biblio.xsl index 8a8930b64..4be40be63 100644 --- a/xsl/html/biblio.xsl +++ b/xsl/html/biblio.xsl @@ -30,15 +30,11 @@ - - - - -

- - - + + + +

@@ -57,22 +53,21 @@ - - - - -

- - - + + + +

- + + + + @@ -88,8 +83,8 @@ found in -
- +
+

Error: no bibliography entry: @@ -101,8 +96,8 @@ -

- +
+

@@ -112,7 +107,10 @@ - + + + + @@ -129,7 +127,7 @@
- +

Error: no bibliography entry: @@ -142,7 +140,7 @@

- +

diff --git a/xsl/html/block.xsl b/xsl/html/block.xsl index 815ac868b..399fb0176 100644 --- a/xsl/html/block.xsl +++ b/xsl/html/block.xsl @@ -16,11 +16,7 @@

@@ -30,18 +26,12 @@

- - - - - - - + + + - - - +

@@ -49,18 +39,14 @@

- - - +

- - - +

@@ -90,9 +76,7 @@ - - - +
- - - - - - +
diff --git a/xsl/html/callout.xsl b/xsl/html/callout.xsl index 9af572252..c591a9e5b 100644 --- a/xsl/html/callout.xsl +++ b/xsl/html/callout.xsl @@ -89,7 +89,7 @@ - + diff --git a/xsl/html/component.xsl b/xsl/html/component.xsl index ea98b84a2..7c4395eea 100644 --- a/xsl/html/component.xsl +++ b/xsl/html/component.xsl @@ -16,14 +16,10 @@ - - - - - -

- + + +

@@ -54,8 +50,7 @@ - -
[ @@ -147,7 +146,7 @@ borders, otherwise they don't. - + @@ -334,9 +333,8 @@ borders, otherwise they don't. - diff --git a/xsl/html/formal.xsl b/xsl/html/formal.xsl index 1d1a0cb1e..fda3c0d91 100644 --- a/xsl/html/formal.xsl +++ b/xsl/html/formal.xsl @@ -21,11 +21,7 @@

- - - - - + @@ -35,11 +31,9 @@ - - -

+ diff --git a/xsl/html/glossary.xsl b/xsl/html/glossary.xsl index 138cb916f..fe3e836d6 100644 --- a/xsl/html/glossary.xsl +++ b/xsl/html/glossary.xsl @@ -65,12 +65,7 @@
- - - - - - +
@@ -117,15 +112,10 @@ GlossEntry ::=
- - - - - - - - - + + + +
diff --git a/xsl/html/graphics.xsl b/xsl/html/graphics.xsl index d49c10e4f..c8153fbf4 100644 --- a/xsl/html/graphics.xsl +++ b/xsl/html/graphics.xsl @@ -143,9 +143,7 @@

- - - +

diff --git a/xsl/html/html.xsl b/xsl/html/html.xsl index 839c8ac68..2d773f8da 100644 --- a/xsl/html/html.xsl +++ b/xsl/html/html.xsl @@ -12,6 +12,19 @@ ******************************************************************** --> + + + + + + + + + + + + + bullet diff --git a/xsl/html/index.xsl b/xsl/html/index.xsl index dbfe89d25..7f931626f 100644 --- a/xsl/html/index.xsl +++ b/xsl/html/index.xsl @@ -22,11 +22,8 @@ - - - - -
+
+ @@ -44,15 +41,8 @@ - - - - -

- - - +

@@ -66,6 +56,7 @@
+
@@ -78,21 +69,15 @@ - - - - -

- - - +

+ diff --git a/xsl/html/inline.xsl b/xsl/html/inline.xsl index 5d15b01a2..1635d5188 100644 --- a/xsl/html/inline.xsl +++ b/xsl/html/inline.xsl @@ -14,9 +14,7 @@ - - - + @@ -24,9 +22,7 @@ - - - + @@ -34,9 +30,7 @@ - - - + @@ -55,9 +49,7 @@ - - - + @@ -65,9 +57,7 @@ - - - + @@ -88,9 +78,7 @@ - - - + @@ -98,9 +86,7 @@ - - - + @@ -108,9 +94,7 @@ - - - + @@ -405,9 +389,7 @@ - - - + @@ -447,9 +429,7 @@ - - - + diff --git a/xsl/html/lists.xsl b/xsl/html/lists.xsl index 14b79ee66..338b23169 100644 --- a/xsl/html/lists.xsl +++ b/xsl/html/lists.xsl @@ -16,9 +16,7 @@
- - - + @@ -93,9 +91,7 @@
- - - + @@ -126,9 +122,7 @@
- - - + @@ -143,9 +137,6 @@ - - - @@ -182,7 +173,7 @@ is a para, assume the para will put in the anchor. Otherwise, put the anchor in anyway. --> - + @@ -209,16 +200,12 @@ - - - +

- - - +

@@ -226,18 +213,18 @@ - - - -
-
+
+ + +
+
+ +
- -
- + , @@ -245,9 +232,7 @@ - - - + @@ -269,9 +254,7 @@ - - - + @@ -288,17 +271,13 @@ - - - + - - - +
@@ -314,9 +293,7 @@ - - - +
@@ -463,9 +440,7 @@
- + @@ -619,7 +580,7 @@
- + diff --git a/xsl/html/qandaset.xsl b/xsl/html/qandaset.xsl index 3a031a926..1bfbf873c 100644 --- a/xsl/html/qandaset.xsl +++ b/xsl/html/qandaset.xsl @@ -58,17 +58,14 @@ - - - - - - + + + @@ -105,16 +102,10 @@