Juri Memmert wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 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
file:/www/notlive/HighlightTest/./styles/customization.html.xsl:
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:
./build.sh
Note: namesp. cut : stripped namespace before processing Code
Highlighting test
Note: namesp. cut : processing stripped document Code
Highlighting test
Loading Xslthl configuration from
file:///www/notlive/docbook/xslthldamnit/highlighters/xslthl-config.xml...
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"
version="1.0">
<xsl:import
href="/www/notlive/docbook/docbook-xsl-1.74.3-pre/html/chunk.xsl"/>
<xsl:import
href="/www/notlive/docbook/docbook-xsl-1.74.3-pre/highlighting/common.xsl"/>
<xsl:import
href="/www/notlive/docbook/docbook-xsl-1.74.3-pre/html/highlight.xsl"/>
<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"/>-->
</xsl:stylesheet>