Hello Larry,

 As I understand, there is no way to use syntax highlighting with
 xsltproc, it's requres Saxon. Next, Saxon itself does not process
 XInclude's, and I need to use xmllint to do this.

 Also, saxon need the 
F:\work\docbook-tools\docbook-xsl\fo\F:\work\docbook-tools\docbook-xsl\fo\param.xsl
 to be fixed on line 336 as below:
<!-- xsl:param name="hyphenate">true</xsl:param -->

 So I try next:
 xmllint --xinclude dlc.xml >dlc_.xml
 call mkpdf.bat dlc_.xml

 ------ mkpdf.bat ---------
java -cp 
"F:\work\docbook-tools\syntax-hl\xslthl-2.0.1.jar;F:\work\docbook-tools\syntax-hl\saxonhe9-2-0-6j\saxon9he.jar"^
 net.sf.saxon.Transform^
 -o:%~dpn2.fo^
 -s:%1^
 -xsl:%~dp0\..\docbook-xsl\fo\docbook.xsl^
 
highlight.xslthl.config="file:///F:/work/docbook-tools/highlighting/xslthl-config.xml"
 ^
 use.extensions=1^
 textinsert.extension=1^
 highlight.source=1

%~dp0\..\fop\fop.bat -c %~dp0\..\fop\conf\fop.xconf -fo %~dpn2.fo -pdf %2
----------------------------


But listings are still black and white. I'm looking in generated .fo
and found that there is no differences with xsltproc generated .fo.

What I'm doing wrong?


Monday, April 12, 2010, 9:56:56 PM, you wrote:

RL> Marty,

RL> Bob Statyton has a good discussion of program listings:

RL>   http://www.sagehill.net/docbookxsl/ProgramListings.html

RL> There is a section on syntax highlighting (which differentiates
RL> among things like keywords, constants, and parameters) at the bottom of the 
ToC on this page.

RL> Regards,
RL> Larry Rowland




---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

Reply via email to