From fcf0a7fa959ddbefefa751317c2782f354e43c3f Mon Sep 17 00:00:00 2001 From: Mauritz Jeanson Date: Thu, 2 Aug 2007 18:23:17 +0000 Subject: [PATCH] Some recasting of the documentation. --- xsl/params/highlight.source.xml | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/xsl/params/highlight.source.xml b/xsl/params/highlight.source.xml index e9fb11b34..5f50a643b 100644 --- a/xsl/params/highlight.source.xml +++ b/xsl/params/highlight.source.xml @@ -10,8 +10,8 @@ highlight.source -Should be content of programlisting -syntactically highlighted? +Should the content of programlisting +be syntactically highlighted? @@ -23,27 +23,25 @@ syntactically highlighted? Description When this parameter is non-zero, the stylesheets will try to do -syntax highlighting in content of programlisting element. +syntax highlighting of the content of the programlisting element. The highlighting is done by the +XSLTHL extension module. This is an external Java library which is not part of the DocBook XSL distribution. In order to use this extension, you must add -xslthl.jar into your Java classpath. You can -download this software from http://sourceforge.net/projects/xslthl. +xslthl.jar to your Java classpath. You can +download this software from The XSLT syntax highlighting project at SourceForge. -Configuration of syntax highlighting is stored inside -highlighting/xslthl-config.xml file. Java -property xslthl.config must be pointing to this -file using URL. +The configuration of syntax highlighting is stored in +highlighting/xslthl-config.xml. The Java +property xslthl.config must point to this +file (using URL syntax). -This extension is known to work with Saxon 6.5.x. When using -syntax highlighting, do not forget to modify your classpath and point -to the configuration file using property. Modified Saxon command can look -like: +This extension is known to work with Saxon 6.5.x. Here is an example of a modified Saxon command: java -cp c:\batch\;…;c:\path\to\xslthl.jar -Dxslthl.config=file:///c:/docbook-xsl/highlighting/xslthl-config.xml … com.icl.saxon.StyleSheet … -You can specify language for each programlisting using language attribute. Parameter -highlighting.default.language can be used for specifying -language to be used for programlistings without language attribute. +You can specify the language for each programlisting by using the language attribute. The +highlighting.default.language parameter can be used for specifying the +language to be used for programlistings without a language attribute. -- 2.50.0