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] syntax highlighting doesn't work, nor throws errors.

Juri Memmert wrote:
> Hash: RIPEMD160
> Alright... my last attempt for today since it's getting late over here.
> Attached you'll find a new version of my example project. It now has a
> build.sh file. I added all paths you mentioned in your previous mails
> and it should produce an index.html in the output directory that,
> hopefully, has highlighting enabled...
> Good luck with that one.

Thanks very much man, I hope you're asleep now, but here's my response 
if you come back tomorrow.

First I got:

$ ./build.sh
Error at xsl:import on line 5 of 
   Failure reading 
file:/home/jpm/Development/XML/DocBook/docbook-xsl/html/chunk.xsl: no 
more input
Transformation failed: Failed to compile stylesheet. 1 error detected.

That's because your customization.html.xsl still had your paths in it. 
No problem, I switched it to my xsl instead and made my paths absolute. 
And then:

Note: namesp. cut : stripped namespace before processing           Code 
Highlighting test
Note: namesp. cut : processing stripped document                   Code 
Highlighting test
Loading Xslthl configuration from 
XSLT Highlighter: Cannot read xslthl-config.xml, no custom highlighters 
will be available.
Writing /www/mfsite/docbook/templatedocs/index.html for article

and still, no highlighting.

I am cursed.

Here's my customization since it's the only thing that's different:

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 



<xsl:param name="base.dir" select="'/www/mfsite/docbook/templatedocs/'"/>

<xsl:param name="highlight.source" select="1"/>

<xsl:param name="html.stylesheet" select="'docbook.css'"/>
<!--<xsl:param name="admon.graphics" select="1"/>-->


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