From 36794c5ad33be1f415d0cc0fde8b4083a21d9ed6 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Wed, 28 Nov 2001 15:15:20 +0000 Subject: [PATCH] Support formatting segmented lists as tables --- xsl/fo/lists.xsl | 59 +++++++++++++++++++- xsl/fo/param.ent | 1 + xsl/fo/param.xweb | 4 +- xsl/html/lists.xsl | 78 ++++++++++++++++++++++++++- xsl/html/param.ent | 2 +- xsl/html/param.xweb | 2 + xsl/params/segmentedlist.as.table.xml | 23 ++++++++ 7 files changed, 164 insertions(+), 5 deletions(-) create mode 100644 xsl/params/segmentedlist.as.table.xml diff --git a/xsl/fo/lists.xsl b/xsl/fo/lists.xsl index 29ab93f1f..fa1c87ad9 100644 --- a/xsl/fo/lists.xsl +++ b/xsl/fo/lists.xsl @@ -457,7 +457,28 @@ - + + + + + + + + + + + + + + + + + + + + + @@ -498,6 +519,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index 4b7eaac6a..380a585a1 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -113,3 +113,4 @@ + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index 474b4bef2..9cefe2d81 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -175,7 +175,7 @@ to be incomplete. Don't forget to read the source, too :-) &table.border.color; &title.margin.left; &punct.honorific; - +&segmentedlist.as.table; The Stylesheet @@ -314,7 +314,7 @@ around all these parameters. - + diff --git a/xsl/html/lists.xsl b/xsl/html/lists.xsl index 81e25925e..75bc8b2f3 100644 --- a/xsl/html/lists.xsl +++ b/xsl/html/lists.xsl @@ -604,8 +604,30 @@ + + + + + + + - + + + + + + + + + + + + + + + @@ -644,6 +666,60 @@

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + diff --git a/xsl/html/param.ent b/xsl/html/param.ent index 6f5acc471..14fb9afbf 100644 --- a/xsl/html/param.ent +++ b/xsl/html/param.ent @@ -135,4 +135,4 @@ - + diff --git a/xsl/html/param.xweb b/xsl/html/param.xweb index 561a9c142..367b2628d 100644 --- a/xsl/html/param.xweb +++ b/xsl/html/param.xweb @@ -218,6 +218,7 @@ to be incomplete. Don't forget to read the source, too :-) &shade.verbatim; &shade.verbatim.style; &punct.honorific; +&segmentedlist.as.table; Chunking @@ -403,6 +404,7 @@ around all these parameters. + diff --git a/xsl/params/segmentedlist.as.table.xml b/xsl/params/segmentedlist.as.table.xml new file mode 100644 index 000000000..e7ce9c8b5 --- /dev/null +++ b/xsl/params/segmentedlist.as.table.xml @@ -0,0 +1,23 @@ + + +segmentedlist.as.table +boolean + + +segmentedlist.as.table +Format segmented lists as tables? + + + + + + + + +Description + +If non-zero, segmentedlists will be formatted as +tables. + + + -- 2.40.0