List Info

Thread: xsl-region-body errors from fop when double.sided=1




xsl-region-body errors from fop when double.sided=1
user name
2006-05-14 20:07:04
Hi Bob, thanks for replying again!

Bob Stayton <bobs <at> sagehill.net> writes:

> For FOP 0.9, you will need to try out the snapshot
build, because 1.69.1 
> doesn't really work with it.
[...]
> When you use the snapshot build, you set the
fop1.extensions parameter to 1 
> instead of the fop.extensions parameter.  Then it does
the right bookmarks 
> for that version of FOP.

Ok, I tried this, but it still doesn't work with
double-sided! To be honest, I'm
not too bothered about bookmarks, so it might be worth my
while going back to
1.68, which worked fine!

[...]
> You see the error with double-sided because that kind
of output generates a 
> blank page if needed so each chapter ends on an
even-numbered page.

Yeah, I like the blank page behaviour, but not at the cost
of not being able to
build PDFs! Is it possible this is a bug in the stylesheets
somewhere? Surely
they should work in theory with double-sided?

For reference, here is the error I get with fop1.extensions
and the snapshot
stylesheets:

http://pastebin.com/717489


Thanks for any further help that you can give me!

Matt


------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org

xsl-region-body errors from fop when double.sided=1
user name
2006-05-15 16:47:51
> -----Original Message-----
> From: news 
> Bob Stayton <bobs <at> sagehill.net>
writes:
> 
> > For FOP 0.9, you will need to try out the snapshot
build, 
> because 1.69.1 
> > doesn't really work with it.
> [...]
> > When you use the snapshot build, you set the 
> fop1.extensions parameter to 1 
> > instead of the fop.extensions parameter.  Then it
does the 
> right bookmarks 
> > for that version of FOP.
> 
> Ok, I tried this, but it still doesn't work with 
> double-sided! To be honest, I'm
> not too bothered about bookmarks, so it might be worth
my 
> while going back to
> 1.68, which worked fine!


Maybe this will help: 

With FOP 0.92beta and the 2006-05-08 snapshot, I have found
that I need to
set both fop.extensions=1 and fop1.extensions=1 in order to
get PDF
bookmarks and avoid the java.lang.IllegalStateException
problem. To get this
to work, I have also disabled the 'old' FOP outline code
by placing this
line in my customization layer:

 <xsl:template match="*"
mode="fop.outline"/> 

/MJ



------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )