From 9320f0aa4c3b9e238f3145527b021c9f1d16a64d Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Sat, 20 Apr 2002 15:03:09 +0000 Subject: [PATCH] Support shade.verbatim in FO; stop using vendor test to decide what extension function to call for line numbering --- xsl/fo/param.ent | 2 + xsl/fo/param.xweb | 4 + xsl/fo/verbatim.xsl | 196 ++++++++++++++-------------- xsl/params/shade.verbatim.style.xml | 9 +- 4 files changed, 109 insertions(+), 102 deletions(-) diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index ac7f23933..8ac9b16d6 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -111,6 +111,8 @@ + + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index 493e1a135..feac37e96 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -188,6 +188,8 @@ generate.section.toc.level; &ulink.show; &ulink.footnotes; &ulink.hyphenate; +&shade.verbatim; +&shade.verbatim.style; Pagination and General Styles @@ -479,6 +481,8 @@ around all these parameters. + + diff --git a/xsl/fo/verbatim.xsl b/xsl/fo/verbatim.xsl index b7e6c222c..234e527c1 100644 --- a/xsl/fo/verbatim.xsl +++ b/xsl/fo/verbatim.xsl @@ -22,116 +22,86 @@ - - - - - - - + + + - + + + - - - - + + - - - + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - + - - - + white-space-collapse='false' + xsl:use-attribute-sets="monospace.verbatim.properties"> + @@ -139,12 +109,41 @@ linefeed-treatment="preserve" white-space-collapse='false' xsl:use-attribute-sets="verbatim.properties"> - + + + + + + + + + + + + + + + + + + + + + + + + @@ -218,19 +217,16 @@ - - - + - + - Don't know how to do line numbering with - + No numberLines function available. diff --git a/xsl/params/shade.verbatim.style.xml b/xsl/params/shade.verbatim.style.xml index 7ed2ccb45..34805ceda 100644 --- a/xsl/params/shade.verbatim.style.xml +++ b/xsl/params/shade.verbatim.style.xml @@ -9,10 +9,15 @@ - + + 0 #E0E0E0 - + + + #E0E0E0 + + Description -- 2.50.1