Re: variable size output (pages)?

2008-05-08 Thread paul womack
Andreas Delmelle wrote: On May 6, 2008, at 14:16, paul womack wrote: Hi In effect I want to generate galleys of text, where the formatting width is known, but the depth of the final output is determined by the amount of text formatted, in effect fitting the page to the content. What you

Re: variable size output (pages)?

2008-05-08 Thread Andreas Delmelle
On May 8, 2008, at 14:17, paul womack wrote: O.K. I've found this documentation on the area tree internal modelling: http://xmlgraphics.apache.org/fop/dev/design/areas.html I think this page: http://xmlgraphics.apache.org/fop/0.94/intermediate.html says that the XML format is subject to

Re: variable size output (pages)?

2008-05-08 Thread Andreas Delmelle
On May 8, 2008, at 14:52, paul womack wrote: q1) May I assume that any particular version of FOP would be able to consume an area tree (XML) that it had itself generated? That's a reasonable assumption, I think. (I have noted your other information; thank you) This assumption may be

Re: variable size output (pages)?

2008-05-08 Thread paul womack
Andreas Delmelle wrote: I think the problem is that you have to specify the eventual renderer to mimic. Try ../fop -xsl lineage.xsl -xml lineage_eg.xml -at image/tiff lineage.at.xml; Yes; that worked (in the standard sense of did what I wanted!) Thank you very much, for all your help.

variable size output (pages)?

2008-05-06 Thread paul womack
I need to generate output (PDF) where the page size (actually just page depth) varies with the content. In effect I want to generate galleys of text, where the formatting width is known, but the depth of the final output is determined by the amount of text formatted, in effect fitting the page

Re: variable size output (pages)?

2008-05-06 Thread Peter Coppens
Can't you use different page masters and select the one that is appropriate using some (XSLT) pre-processing? On 06 May 2008, at 14:16, paul womack wrote: I need to generate output (PDF) where the page size (actually just page depth) varies with the content. In effect I want to generate

Re: variable size output (pages)?

2008-05-06 Thread paul womack
Peter Coppens wrote: Can't you use different page masters and select the one that is appropriate using some (XSLT) pre-processing? I'd need an almost infinite range of masters - the line count could vary from 5-350, and even line spacing could vary due to superscripts, subscripts, emboldening

Re: variable size output (pages)?

2008-05-06 Thread Peter Coppens
Ic...so there is no way to know what the page size will have to be until the layout has been completed? On 06 May 2008, at 14:25, paul womack wrote: Peter Coppens wrote: Can't you use different page masters and select the one that is appropriate using some (XSLT) pre-processing? I'd need

Re: variable size output (pages)?

2008-05-06 Thread Andreas Delmelle
On May 6, 2008, at 14:16, paul womack wrote: Hi In effect I want to generate galleys of text, where the formatting width is known, but the depth of the final output is determined by the amount of text formatted, in effect fitting the page to the content. What you would need:

Re: variable size output (pages)?

2008-05-06 Thread paul womack
Peter Coppens wrote: Ic...so there is no way to know what the page size will have to be until the layout has been completed? No, that's rather the heart of my problem. Consider, if you like, a different example. I wish to make rendered images of quotations for placement on a web site. Of

Re: variable size output (pages)?

2008-05-06 Thread paul womack
Andreas Delmelle wrote: On May 6, 2008, at 14:16, paul womack wrote: Hi In effect I want to generate galleys of text, where the formatting width is known, but the depth of the final output is determined by the amount of text formatted, in effect fitting the page to the content. What you