Implementing Change bars

2009-08-14 Thread Stephan Thesing
Hello, the company I work for will have the need for having change-bars in documents for easy difference tracking in our DocBook-FOP-PDF toolchain. Has anybody started to integrated support for the 1.1 fo:begin/end-change-bar elements into FOP? If yes, we would offer to help, if no, we would

Re: How to make sure PDF ends with a fourth page?

2009-08-14 Thread Jeremias Maerki
Hi Georg I don't think there's anything in XSL-FO that allows to force the number of pages to a multiple of 4. There's just force-page-count on fo:page-sequence to force it to a multiple of 2. My suggestion is to do this on the area tree XML or intermediate format level by injecting additional

Re: Implementing Change bars

2009-08-14 Thread Jeremias Maerki
Hi Stephan, to my knowledge there's noone currently working on that. If you look in the archives, you'll see that there's precious little discussion about change bars: http://fop-dev.markmail.org/search/?q=%22change%20bars%22 I haven't looked into change bars, yet, so I can't really offer any

Re: Implementing Change bars

2009-08-14 Thread Vincent Hennebert
Hi Stephan, Welcome! You should subscribe to the fop-dev mailing list if you haven’t already. http://xmlgraphics.apache.org/fop/dev/index.html#mail-fop-dev Any implementation details shall be discussed there. The following page may be helpful to set up your development environment:

font configuration

2009-08-14 Thread Ming Yu
Hi, I'm trying to make an existing stylesheet to work with my xml file. But it has lines like this: fo:block font=bold 8pt arial and fo:table-cell border-bottom=.6pt solid black, etc. When I compile, the engine complains: SEVERE: Ignoring property: font=bold 16pt arial (No conversion defined

AW: Strange table behaviour

2009-08-14 Thread Georg Datterl
Hi Vincent, My solution: I generate the the table with only one set of images and read the area tree. From the area tree I read how many pages the table takes and how much unused space I have in the left column (especially on the first page). Then I add a blank block of the gathered

Re: [!! SPAM] font configuration

2009-08-14 Thread Chris Bowditch
Ming Yu wrote: Hi, I'm trying to make an existing stylesheet to work with my xml file. But it has lines like this: fo:block font=bold 8pt arial and fo:table-cell border-bottom=.6pt solid black, etc. When I compile, the engine complains: SEVERE: Ignoring property: font=bold 16pt arial (No

Re: font configuration

2009-08-14 Thread Andreas Delmelle
On 14 Aug 2009, at 14:21, Ming Yu wrote: Hi Ming Hi, I'm trying to make an existing stylesheet to work with my xml file. But it has lines like this: fo:block font=bold 8pt arial and fo:table-cell border-bottom=. 6pt solid black, etc. When I compile, the engine complains: SEVERE:

Re: font configuration

2009-08-14 Thread Ming Yu
Thanks a lot for the reply. I checked my version and found out that it's 0.94. So, I upgraded to 0.95. Now the SEVERE error changes to a warning: WARNING: Font 'bold Arial,normal,400' not found. Substituting with 'any,normal,400'. Should I install the font myself somewhere? I'm using Eclipse

Re: font configuration

2009-08-14 Thread Andreas Delmelle
On 14 Aug 2009, at 20:43, Ming Yu wrote: Thanks a lot for the reply. I checked my version and found out that it's 0.94. So, I upgraded to 0.95. Now the SEVERE error changes to a warning: WARNING: Font 'bold Arial,normal,400' not found. Substituting with 'any,normal,400'. Strange...

Auto-generate table of contents

2009-08-14 Thread Brian Trezise
Can somebody point me to a good (and well explained) example of using XSL/FOP to auto-create a table of contents? I've spent the last couple hours looking for information on this but it's not making sense. Here's a sample of my xml: ?xml version=1.0 encoding=UTF-8? catalog intellispec