Can you please post the whole generated fo? Thanks, Vincent
2006/8/10, Remo Liechti:
Well, I took a look at the generated FO: <fo:page-sequence xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions" hyphenate="true" master-reference="lot" language="en" format="i" initial-page-number="auto" force-page-count="no-force" ... Like you seem the force-page-count is set in the page-sequence, like Vincent told me. So the XSL transaction generated the right FO. It seems like FOP 0.92 does not care about this attribute in page-sequence... Any other ideas? Remo -----Original Message----- From: Remo Liechti [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 10. August 2006 12:42 To: fop-users@xmlgraphics.apache.org Subject: RE: PDF generation 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: fop-users@xmlgraphics.apache.org 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] 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]