On Fri, 11 Jan 2013 10:11:24 +0900, Josh Kupershmidt <schmiddy@gmail.com>
wrote:
> I don't see a previous posting of that patch in my email client or in
> the archives, so perhaps your original message got lost. Was there any
> more information about the patch (e.g. where the stylesheet-epub.xsl
> came from) you could post? Also, there is a spurious whitespace change
> in ./doc/src/sgml/Makefile introduced by the patch.
I'm using xlstproc 1.1.26-7ubuntu0.1:
$ xsltproc --version
Using libxml 20708, libxslt 10126 and libexslt 815
xsltproc was compiled against libxml 20708, libxslt 10126 and libexslt
815
libxslt 10126 was compiled against libxml 20708
libexslt 815 was compiled against libxml 20708
stylesheet-epub.xml was copied from docbook-xsl package (version
1.75.2+dfsg-5ubuntu1) on Ubuntu 11.10, and modified import/include lines
like this:
@@ -16,10 +16,8 @@
version="1.0">
- <xsl:import href="../xhtml-1_1/docbook.xsl" />
- <xsl:import href="../xhtml-1_1/chunk-common.xsl" />
- <xsl:include href="../xhtml-1_1/chunk-code.xsl" />
-
+ <xsl:import
href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
+ <xsl:include href="stylesheet-common.xsl" />
<!-- We want a separate TOC file, please -->
<xsl:param name="chunk.tocs.and.lots">1</xsl:param>
The patch also worked for current head (9d5a160c) my machine, though I'm
not sure this is the right manner.
Yuto HAYAMIZU
> On Wed, Jan 9, 2013 at 8:28 PM, Yuto HAYAMIZU
> <haya@tkl.iis.u-tokyo.ac.jp> wrote:
>> I created a patch for making ePub document and post it to this ML about
>> 3
>> month ago, but no response :(
>> So post again. I'm glad if it helps you.
>
>
> When I try your patch on my Debian lenny machine, I get:
>
> $ make postgres.epub
> xsltproc --stringparam pg.version '9.3devel' stylesheet-epub.xsl
> postgres.xml
> runtime error: file stylesheet-epub.xsl line 96 element choose
> Variable 'exsl.node.set.available' has not been declared.
> make: *** [postgres.epub] Error 10
>
> FYI, I'm using xsltproc dpkg version 1.1.24-2, here is some more version
> info:
>
> $ xsltproc --version
> Using libxml 20632, libxslt 10124 and libexslt 813
> xsltproc was compiled against libxml 20632, libxslt 10124 and libexslt
> 813
> libxslt 10124 was compiled against libxml 20632
> libexslt 813 was compiled against libxml 20632
>
> Josh
>