Blank Page on Every Other Page
Help So I have googled around, read documentation, looked at examples, and still I can't find an answer to my question that I am about to ask for the first time. I have a table that, thus far spans 3 pages. I have my xslt/fo document so it has even/odd page sequencing, which works perfectly, but now I want to be able to have a blank page on every other page. Meaning, the 3 pages of table data is 1 1/2 peices of paper, 1 - front and back, 2 - front. I want to be able to put a blank page in between each generated page. I hope this is making sense. From what I gathered most people are trying to avoid this and get rid of extra blank pages.. Any suggestions on how to fix this? or a better way of phrasing my needs? Thanks Jordan S. Jones - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: unwanted blank page because of page count
Clay Leeds wrote: snip/ I guess that's possible. It's also possible that whatever problem you're having is due to portions of fop-0.20.5 not yet in compliance with the spec (FOP is 'moving towards' the spec, but check the Compliance page[1] to (currently shows 'basic' compliance, but not 'extended' nor 'complete' compliance with force-page-count object). Compliance is either Yes, No or Partial. The basic/extended/complete columns refer to which part of the spec that FO is categorised under. I know this has confused people before. Nonetheless, trying every value for force-page-count might yield different/better results.. Alas, I feel that what Paul is trying to achieve may not be possible with XSL-FO. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
unwanted blank page because of page count
I need to insert just one blank page after page 6. The problem is, the next page after page 7 must be page iii, which is an odd page. That means that xsl-fo inserts *two* blank pages in order to make sure that page iii starts on the right side. The requirements for the thesis insist that one blank page be inserted after page 6. Is there any way I can get xsl-of to insert just one blank page? My code is below. Thanks Paul ** fo:page-sequence master-reference=acknowledgements format=i initial-page-number=3 force-page-count=no-force -- *Paul Tremblay * [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: unwanted blank page because of page count
Paul, On May 25, 2004, at 8:29 AM, Paul Tremblay wrote: I need to insert just one blank page after page 6. The problem is, the next page after page 7 must be page iii, which is an odd page. That means that xsl-fo inserts *two* blank pages in order to make sure that page iii starts on the right side. The requirements for the thesis insist that one blank page be inserted after page 6. Is there any way I can get xsl-of to insert just one blank page? My code is below. Thanks Paul ** fo:page-sequence master-reference=acknowledgements format=i initial-page-number=3 force-page-count=no-force Can you confirm that the issue is not related to this FAQ: http://xml.apache.org/fop/faq.html#blank-page-between-page-sequences Perhaps there is something there which may help. Thanks! Web Maestro Clay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: unwanted blank page because of page count
On Tue, May 25, 2004 at 08:55:20AM -0700, Clay Leeds wrote: fo:page-sequence master-reference=acknowledgements format=i initial-page-number=3 force-page-count=no-force Can you confirm that the issue is not related to this FAQ: http://xml.apache.org/fop/faq.html#blank-page-between-page-sequences Perhaps there is something there which may help. Thanks! Web Maestro Clay Thanks for your response. I had already looked at that FAQ. That's how I knew to put the force-page-count=no-force in the page sequence element. Perhaps my problem is an issue with xsl-fo and not with fop? Maybe xsl-fo *always* forces odd pages to start on odd pages, regardless of the force-page-count attribute? Thanks Paul -- *Paul Tremblay * [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: unwanted blank page because of page count
Paul, On May 25, 2004, at 9:20 AM, Paul Tremblay wrote: On Tue, May 25, 2004 at 08:55:20AM -0700, Clay Leeds wrote: fo:page-sequence master-reference=acknowledgements format=i initial-page-number=3 force-page-count=no-force Can you confirm that the issue is not related to this FAQ: http://xml.apache.org/fop/faq.html#blank-page-between-page-sequences Perhaps there is something there which may help. Thanks! Web Maestro Clay Thanks for your response. I had already looked at that FAQ. That's how I knew to put the force-page-count=no-force in the page sequence element. Perhaps my problem is an issue with xsl-fo and not with fop? Maybe xsl-fo *always* forces odd pages to start on odd pages, regardless of the force-page-count attribute? Thanks Paul I guess that's possible. It's also possible that whatever problem you're having is due to portions of fop-0.20.5 not yet in compliance with the spec (FOP is 'moving towards' the spec, but check the Compliance page[1] to (currently shows 'basic' compliance, but not 'extended' nor 'complete' compliance with force-page-count object). Nonetheless, trying every value for force-page-count might yield different/better results.. Web Maestro Clay [1] http://xml.apache.org/fop/compliance.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Blank page in output...
Hello all Can anyone help me on why the following FO code produces an blank page between the cover and the contents? I know its got something to do with me setting the initial page number to 1 after the cover page... What I want is a cover page, followed by one or more pages, which should be starting with 1. (The code attached is simplified, just to produce that empty page between the cover and the first page). Btw, Im running FOP 0.20.5... Any help much appreciated! Regards Johann M fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=cover fo:region-body / /fo:simple-page-master fo:simple-page-master master-name=first fo:region-body / /fo:simple-page-master fo:page-sequence-master master-name=contents fo:repeatable-page-master-alternatives fo:conditional-page-master-reference master-reference=first page-position=first/ /fo:repeatable-page-master-alternatives /fo:page-sequence-master /fo:layout-master-set fo:page-sequence master-reference=cover fo:flow flow-name=xsl-region-body fo:blockCover/fo:block /fo:flow /fo:page-sequence fo:page-sequence master-reference=contents initial-page-number=1 fo:flow flow-name=xsl-region-body fo:blockBody/fo:block /fo:flow /fo:page-sequence /fo:root - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Blank page in output...
Johann Mattsson wrote: Can anyone help me on why the following FO code produces an blank page between the cover and the contents? See http://xml.apache.org/fop/faq.html#blank-page-between-page-sequences and http://www.w3.org/TR/xsl/slice7.html#force-page-count J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Blank page problem
I wonder is somebody can help me with a blank page appearing at the beginning of all my documents. My input xml data looks a bit like... root row ...data... /row row data... /row /root The idea is that each row../row will represent a page. So I did a xsl:template match on the row and used an fo block with break-after=page immediately inside, and then all my content inside that block. Trouble is the first page always contains no data - just the fixed content (ie, the second page contains the input data from the first row/row) . I have actually tried changing the break-after to break-before but it makes no difference. Any thoughts appreciated! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Blank page at the end
Ramon Maria Gallart wrote: The thing is that i'm using relative heights, so i can't calculate the overall size of the blocks contained in the page (or, at least, i just don't know how to do it, i've found nothing about it in the API). Any other suggerence? Check whether there is any space-after coming form somewhere. If the FO source isn't too big (after compression), and if you can post it to the list, I can have a look at it. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Blank page at the end
Hi all. Ive got a problem with FOP. Sometimes, when i create pdf docs, there are some blocks that fit exactly at the end of the document and thus generating a new blank page (that i dont want it to be created). Well, I have tried this not to happen with no success. So, how can this be avoided. I can assure thereno no blank space after the block inserted, so, at first sight, there would not be any need for a new page. Any help will be appreciated. Ramon Maria
Re: blank page
Oscar Schoof wrote: Ok, i understand it, i think. I cannot refer to anything that does not exist as an object in the (my own) fo-source (or formatted object tree). While this sentence makes formally sense, it does not capture the essence of the original problem. Pages *never* exist in the FO source, nor do page numbers or page counts. Think again. You mean: the XSLFO design gives no pointers or handles on how to implement this? Correct. You can't get page counts. The only place where the concept of page counts is mentioned is in context with repeating page master references in page sequence masters. It there somebody allready talking with the W3C people about this? You can do it yourself: write a propesal and send it to the spec editors, the XSL spec has an address. Don't expect a timely answer (or an answer at all, even though your proposal was read and considered). Another possibility is to take a look at the EXSLFO project http://exslfo.sourceforge.net/ J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: blank page
Look carefully: you want to have the *page count*, or alternatively, the last page number in the page sequence (because counting starts with 1). Usually this can be done with a page number citation referring to something on the last page, however, there is *no* way to refer to something on a forced blank page. Ok, i understand it, i think. I cannot refer to anything that does not exist as an object in the (my own) fo-source (or formatted object tree). It's the XSLFO design, not the implementation posing the problem. You mean: the XSLFO design gives no pointers or handles on how to implement this? It there somebody allready talking with the W3C people about this? Oscar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: blank page
Oscar Schoof wrote: There is no reliable way to get the real total page count with FO mechanisms, you can only get page numbers. For me, it is for reference only, i don't need a page-count. Still, a reference like 'page 2 of 1' is weird. Look carefully: you want to have the *page count*, or alternatively, the last page number in the page sequence (because counting starts with 1). Usually this can be done with a page number citation referring to something on the last page, however, there is *no* way to refer to something on a forced blank page. Looks to me that the 0.20.5 renderer makes the use of fo:page-number-citation a problem. It's the XSLFO design, not the implementation posing the problem. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
blank page
Hi all, With using version 0.20.5rc i get strange blank pages in the pdfs. This is not the case with the same fo-docs when i process them with the old 0.20.4. (I tested this by reinstalling 0.20.4.) For example, in 0.20.4 i see the following flow-processing: [1] [1] [2] (There are multiple flows in my docs.) With 0.20.5rc on the same doc i get: [1] [2 (blank)] [1] [2] . In these docs i use page-number-citation id's to list pages as page of lastpage. With the same example mentioned here i get with 0.20.4 on the first (and last page) of the first flow: page 1 of 1, which is correct. With 0.20.5rc i get on the first page: page 1 of 1 and on the second (blank) page: page 2 of 1, which is very strange. Anybody seen this behavior before? Is it a bug of 0.20.5rc? Can i work around it? Thanks, Oscar p.s. When somebody wants my fo, send me your request to my privat email-address. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: blank page
Oscar Schoof wrote: With using version 0.20.5rc i get strange blank pages in the pdfs. This is not the case with the same fo-docs when i process them with the old 0.20.4. (I tested this by reinstalling 0.20.4.) For example, in 0.20.4 i see the following flow-processing: [1] [1] [2] (There are multiple flows in my docs.) With 0.20.5rc on the same doc i get: [1] [2 (blank)] [1] [2] . In these docs i use page-number-citation id's to list pages as page of lastpage. With the same example mentioned here i get with 0.20.4 on the first (and last page) of the first flow: page 1 of 1, which is correct. With 0.20.5rc i get on the first page: page 1 of 1 and on the second (blank) page: page 2 of 1, which is very strange. Anybody seen this behavior before? Is it a bug of 0.20.5rc? Can i work around it? Sounds like a bug, but without seeing your fo there is nothing to say. File it to bugzilla and attach simplified fo document that illustrates the problem. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Block in block, extra blank page.
I think so. It looks like a bug. External block is just for test. Actually my fop code have like a sample code. -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Thursday, November 14, 2002 5:35 AM To: [EMAIL PROTECTED] Subject: Re: Block in block, extra blank page. Lee, Bill wrote: When I generate pdf document using FOP. I have a problem. When the content meet the bottom of page, FOP always generates a extra blank page. If I take out outside block, it works fine. no extra page. Looks like a bug, file it to bugzilla. And as workaround - what's this external block for? -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel
Re: force-page-count, blank page and text in this blank page
On Wednesday 10 April 2002 05:00, you wrote: Hy I'm on a document composed with diferent page sequences. Those sequences are put together to realise a final document. So I have to generate sequences with a force-count-page to have an even number of pages in each sequence. The problem is that when a page is forced it appears without text in, and I would like this page to contain a text like : normal blank page . How can I do such a thing ? This is discussed in The XSL Companion by Neil Bradley; http://www.awl.com/cseng pup 2000. Chapter 17: XSL. You can also get the gist of this from Elliot rusty Harold's XML book or from the tutorials on the www.renderx.com, antennahouse.com or from IBM.com's developerworks or alphaworks sites. Specifically see pp 150-155. root ... layout-master-set simple-page-master master-name=first-page !-- TEMPLATE 1 -- /simple-page-master ... more s-p-m's for right-page, left-page and blank-page ... page-sequence-master master-name=ChapterSequence repeatable-page-master-alternatives conditional-page-master-reference page-position=first master-reference='first-page ... blank, odd and even pages omitted /repeatable- ... /page-seq... /layout-master-set page-sequence master-reference=ChapterSequence ... repeat static content blocks and a single flow/ object /page-sequence root