Hello,

I tried the following with fop 0.93 

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  <fo:layout-master-set>
    <fo:simple-page-master master-name="page" 
      page-height="50pt" page-width="200pt">
      <fo:region-body></fo:region-body>
    </fo:simple-page-master>
    <fo:page-sequence-master master-name="single">
        <fo:repeatable-page-master-reference master-reference="page" 
         maximum-repeats="1"></fo:repeatable-page-master-reference>
    </fo:page-sequence-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="single">
    <fo:flow flow-name="xsl-region-body">
      <fo:block font-size="28pt" linefeed-treatment="preserve">Line
        Line
        Line</fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>


Which results in 

fop -fo c:\temp\t.fo -pdf c:\temp\t.pdf
Jan 18, 2007 8:34:17 AM org.apache.fop.fo.pagination.PageSequenceMaster
getNextSimplePageMaster
WARNING: subsequences exhausted in page-sequence-master 'single', using
previous subsequence
Jan 18, 2007 8:34:17 AM org.apache.fop.fo.pagination.PageSequenceMaster
getNextSimplePageMaster
WARNING: subsequences exhausted in page-sequence-master 'single', using
previous subsequence

And 3 pages in t.pdf.

Anyone any thoughts on what I am doing wrong?


Not sure what it tells but XEP 4.5 results in 

XEP 4.5 build 20060313
(document [system-id file:/C:/DOCUME~1/pc/LOCALS~1/Temp/pro3B6.xml]
  (validate [validation OK])
  (compile 
    (masters 
      (sequence-master [master-name page])
      (sequence-master [master-name single]))
    (sequence [master-reference single]
      (flow [flow-name xsl-region-body])))
  (format 
    (sequence [master-reference single]
      (flow [1]
        [error] com.renderx.xep.cmp.NoPageMasterException: state: rest
filled even
      )
      (static-content [1])))
  (generate [output-format pdf][1]))


And a single page pdf

All suggestions or guidance warmly welcomed!


Thanks,

Peter



> -----Original Message-----
> From: Nicol Bolas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 18, 2007 12:56 AM
> To: [email protected]
> Subject: Re: XSL FO newbie question - Hide overflow page content
> 
> 
> 
> This is pretty easy, though it won't get you any warnings.
> 
> Make a 1-length page-sequence-master. That is, make a regular
> page-sequence-master and then use it in a repeatable-page-master, but only
> with 1 repetition. That will force the output to be one page.
> --
> View this message in context: http://www.nabble.com/XSL-FO-newbie-
> question---Hide-overflow-page-content-tf3031234.html#a8422453
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to