Thanks Chris, Thanks Vincent
There was some misunderstanding on my side, sorry about that. I
understand clearly now :)

Thanks, again,

Remo


-----Original Message-----
From: Vincent Hennebert [mailto:[EMAIL PROTECTED] 
Sent: Donnerstag, 10. August 2006 11:51
To: [email protected]
Subject: Re: PDF generation

2006/8/10, Remo Liechti:
> It's me again.
> Well, to pass parameters to the XLS works fine, now. For example I can
> define the paper size etc.
>
> In the FAQ on
>
http://xmlgraphics.apache.org/fop/faq.html#blank-page-between-page-seque
> nces is written in chapter 3.2:
>
> If you don't want to have this blank page, use
> force-page-count="no-force".
>
> Well, the force-page-count parameter is not recognized by the XSL. And
I
> think it's a FOP parameter because it's in the FOP FAQ. (so this
problem
> is NOT a docbook related problem)

Actually yes. The transformation chain is the following:
    DocBook XML
       |
       | XSLT transformation
       V
    FO file
       |
       | FOP processing
       V
    PDF file

The force-page-count is an FO property that should be set to "no-force"
in the FO file. But as this FO file is generated by the DocBook XSLT
stylesheets, this is those stylesheets' job to set the property to the
right value.

By default they seem to set it to something other than "no-force". There
is perhaps an XSLT parameter which allow to change the way this property
is generated. If not, you'll have to change one XSLT template. On
docbook-apps they'll be able to tell you what to do.

Note the difference between XSLT parameters, which allow to easily
customize an XSLT transformation and may be set on the command-line, and
FO properties, which constrain the behaviour of the FO processor and are
only found in the FO file. This isn't the same level.

I hope you see the point. It's all a bit confusing at the beginning.

Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

This message may contain legally privileged or confidential information and is 
therefore addressed to the named persons only. The recipient should inform the 
sender and delete this message, if he/she is not named as addressee.
The sender disclaims any and all liability for the integrity and punctuality of 
this message. The sender has activated an automatic virus scanning, but does 
not guarantee the virus free transmission of this message.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to