xsl-list
[Top] [All Lists]

Re: Total number of pages with XSL-FO

2005-04-21 09:52:15

Hi All

It worked like a charm.  I feel kinda silly now.  I don't know why neither
me nor my predecessor thought of it before (I think it didn't occur to him
because the first time he attempted this strategy, we were using FOP.  But,
there is no excuse for me!).

Thanks to every one for their help and brilliant ideas!

Nadia



                                                                                
                                             
                      JBryant(_at_)s-s-t(_dot_)co                               
                                                        
                      m                        To:      
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com                                
      
                                               cc:                              
                                             
                      2005-04-21 12:21         Subject: Re: [xsl] Total number 
of pages with XSL-FO                          
                      Please respond                                            
                                             
                      to xsl-list                                               
                                             
                                                                                
                                             
                                                                                
                                             




I must have confused your issue with some other issue.

Sorry about that.

If you can put keep-with previous on the empty ID block, that should keep
that blank page from popping up.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)




Nadia(_dot_)Swaby(_at_)pwc(_dot_)ca
04/21/2005 11:13 AM
Please respond to
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com


To
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
cc

Subject
Re: [xsl] Total number of pages with XSL-FO







Actually, I am using Antenna house, it does support keep-with-previous ,
and I just thought about that 5 mins ago.  I will try after lunch.

Nadia Swaby




                      JBryant(_at_)s-s-t(_dot_)co
                      m                        To:
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
                                               cc:
                      2005-04-21 12:03         Subject: Re: [xsl] Total
number of pages with XSL-FO
                      Please respond
                      to xsl-list






That'd be great, Jirka, but Nadia is using FOP (if I recall correctly),
and the current version of FOP only supports keeps on tables.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)




Jirka Kosek <jirka(_at_)kosek(_dot_)cz>
04/21/2005 10:59 AM
Please respond to
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com


To
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
cc

Subject
Re: [xsl] Total number of pages with XSL-FO






JBryant(_at_)s-s-t(_dot_)com wrote:
From a few messages ago:
--------------------------------------------------------
If you want to be absolutely sure that content appears on the last page,
put the last block that has content and the empty block into a table
that
has two rows (one for each block). Then set keep-with-next="always" on
the
first row. That way, the empty block can never be on a page by itself.
--------------------------------------------------------

Wouldn't it be easier to do just:

<fo:block id="last-page" line-height="0" keep-with-previous="always"/>

There will not be need to surround last block in document with the
table. (I'm assuming that FO processor supports keep-with-next, which is
not case for FOP.)

--
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka(_at_)kosek(_dot_)cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--






--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--






--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>