Re: text on even pages, images on odd pages
I tried with FOP 1.1. It did not work. Does this support FOP 1.1? If yes, is there any other change to be done. ? -- View this message in context: http://apache-fop.1065347.n5.nabble.com/text-on-odd-pages-images-on-even-pages-tp37330p38070.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: text on even pages, images on odd pages
Thanks, I'll give your suggestion a try. My xml comes in as fragments, so images can be associated with the text. In my case, A fragment defines a block of content about a subject. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/text-on-odd-pages-images-on-even-pages-tp37330p37354.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: text on even pages, images on odd pages
Sounds like you may be in luck. If content about a subject can define on flow you should be able to put tease the images into static regions on right-page. On 11/13/2012 06:28 AM, Bonekrusher wrote: Thanks, I'll give your suggestion a try. My xml comes in as fragments, so images can be associated with the text. In my case, A fragment defines a block of content about a subject. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/text-on-odd-pages-images-on-even-pages-tp37330p37354.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
text on even pages, images on odd pages
Hi, I have an odd requirement for outputting text and images for a pocket size book (4in x 5.5in). The requirement states: Place text for pocket-sized manuals on the right-hand pages with supporting illustration on the facing left-hand pages Is this possible with xsl-fo, that is, to request a figure be rendered on an even page only or do I need to manipulated the xml-xsl-fo to rearrange the text images into alternating page sequences? After some though, I think this is almost an impossible requirement to handle by xslt/xsl-fo programing. Any suggestions or ideas? -- View this message in context: http://apache-fop.1065347.n5.nabble.com/text-on-even-pages-images-on-odd-pages-tp37330.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: text on even pages, images on odd pages
Thanks. This is a good approach except I could have text only which would render on both odd and even. Perhaps I could use markers defined on the odd pages for the images, but this might be an issue if more than one image is found on a page... I'll work on it. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/text-on-odd-pages-images-on-even-pages-tp37330p37332.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: text on even pages, images on odd pages
You can dynamically size the region-body and region-before of the right-page master if you have any information on page layout from the incoming xml - ie. if it's known or knowable that the upcoming right-page has a single image with text. This can be accomplished if the app capturing the printable information also collects information about image count (how much of the page is required) and placement. What does your incoming data look like? On 11/11/2012 08:56 AM, Bonekrusher wrote: Thanks. This is a good approach except I could have text only which would render on both odd and even. Perhaps I could use markers defined on the odd pages for the images, but this might be an issue if more than one image is found on a page... I'll work on it. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/text-on-odd-pages-images-on-even-pages-tp37330p37332.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org