Re: [docbook-apps] Colored listings

From
=?koi8-r?C?4czGy9OCzsSRJN3C0tSYzs/W?=
Date
2010-04-13T11:58:20+00:00
ID
Thread
Re: [docbook-apps] Colored listings
Hello Mathieu,

I try to generate html using next bat file:

--- mkhtml.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:%2^
 -s:%1^
 -xsl:%~dp0\..\docbook-xsl\html\docbook.xsl^
 highlight.xslthl.config="file:///F:/work/docbook-tools/highlighting/xslthl-config.xml" ^
 use.extensions=1^
 textinsert.extension=1^
 highlight.source=1
------

But code displayed B/W at the same. I was inspect generated html and not
found any hints for coloring.

Tuesday, April 13, 2010, 3:39:34 PM, you wrote:

MM> 2010/4/13 áÌÅËÓÁÎÄÒ íÁÒÔÙÎÏ× <>:
>> But listings are still black and white. I'm looking in generated .fo
>> and found that there is no differences with xsltproc generated .fo.

MM> Try HTML output. You'll see that Syntax Highlithing is working. PDF
MM> output by default will display shade or gray (AFAIK). You need even
MM> more toying to get actual 'color'.

MM> HTH

________________________________________________
ó Õ×ÁÖÅÎÉÅÍ, íÁÒÔÙÎÏ× áÌÅËÓÁÎÄÒ (Marty)

mailto: 
web:    http://marty.spb.ru