OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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 Александр Мартынов <amart@mail.ru>:
>> 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: amart@mail.ru
web:    http://marty.spb.ru



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]