docbook-apps message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [docbook-apps] Exception with 'double.sided' set to 1 for PDF output
- From: Ron Catterall <ron@catterall.net>
- To: spr <spremi@yahoo.com>
- Date: Wed, 3 Oct 2007 14:21:26 -0500
Title: Re: [docbook-apps] Exception with 'double.sided'
set to 1
Works OK for me when I reset the route to
...../docbook/5.0/docbook-xsl-ns-1.73.2/fo/ docbook.xsl and use
Saxon 6.5.5 and XEP 4.9 and also whatever Apache FOP is built into
Oxygen 8.2 - and without setting fop1.extensions = 1, so setting
fop1.extensions is not the problem - unless Oxygen build it in some
other way.
my test file starts:
<?xml
version="1.0" encoding="UTF-8" ?>
<!DOCTYPE
article>
<article xml:id="LL" xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="EN">
<info><title>Title of article</title></info>
<section xml:id="LL_first" xml:lang="EN">
<info><title>Title of first
section;</title></info>
...
my stylesheet is:
<?xml
version="1.0" encoding="utf-8"?>
<xsl:stylesheet
version = "1.0"
xmlns:d =
"http://docbook.org/ns/docbook"
xmlns:xsl =
"http://www.w3.org/1999/XSL/Transform"
xmlns:fo =
"http://www.w3.org/1999/XSL/Format"
xmlns:l =
"http://docbook.sourceforge.net/xmlns/l10n/1.0">
<xsl:import
href ="/Applications/Utilities/oxygen/8.2/oxygen/frameworks/docbook/5.0/docbook-xsl-ns-1.73.2/fo/docbook.xsl"/>
<xsl:param
name="double.sided" select ="1" />
</xsl:stylesheet>
my Java is 1.4.2 -Xmx1000m
Is your route to docbook.xsl correct? I suppose it must be
if OK for double-sided set to 0.
Ron
Any hints?
I trimmed the customization to minimum:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet
version = "1.0"
xmlns:d =
"http://docbook.org/ns/docbook"
xmlns:xsl =
"http://www.w3.org/1999/XSL/Transform"
xmlns:fo =
"http://www.w3.org/1999/XSL/Format"
xmlns:l =
"http://docbook.sourceforge.net/xmlns/l10n/1.0">
<xsl:import
href =
"../docbook-xsl-ns-1.73.2/fo/docbook.xsl" />
<xsl:param name="double.sided" select ="1"
/>
</xsl:stylesheet>
But still the problem persists :(
~spr
spr wrote:
>
> When trying to generate PDF with <xsl:param
name="double.sided" select="1"
> /> generated exception.
> The same works with <xsl:param name="double.sided"
select="0" />
>
> FOP version : 0.94
> DocBook XSL : 1.73.2
>
>
--
View this message in context:
http://www.nabble.com/Exception-with-%27double.sided%27-set-to-1-for-PDF-output-tf4547745.html#a13024546
Sent from the docbook apps mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail:
docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail:
docbook-apps-help@lists.oasis-open.org
--
Ron Catterall, Phd, DSc
email: ron@catterall.net
Prolongacion de Hidalgo 140
http://catterall.net/
San Felipe del Agua
tel:
+52 951 520 1821
Oaxaca 68020
Mexico
fax:
+1 530 348 8309
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]