RE: [xsl] Question about Page-Masters

Subject: RE: [xsl] Question about Page-Masters
From: Abhijit Junnare <mavlaabhi@xxxxxxxxx>
Date: Thu, 4 Sep 2003 10:33:28 -0700 (PDT)
Thea,
I guess you may have already gotten the answer for
your question. But just in case you still looking for
one then.
You dont need to use two page masters. Just check for
the last section in the chapter I am sure you can do
this using
<xsl:when test="position()='last'"> construct. 
If the test comes to be true then use <fo:block
span="all"> otherwise just use <fo:block>

May be this will make it easier for you.
Good Luck !
Abhi


--- "Lehming, Thea" <THEA.LEHMING@xxxxxxxx> wrote:
> Wendell,
> 
> Again, thank you for your reply, but this doesn't
> seem to quite answer the
> query I had (perhaps it was not stated properly - I
> am a newbie to this and
> am still working on communicating exactly what it is
> I need to have happen).
> We know the idea of using an additional page-master,
> though *how do you get
> that to happen in a repeatable fashion*?  Please see
> below:
> 
> We have a document.  
> Let's say that it is 5 chapters.  
> Each of those 5 chapters is broken out into 5
> sections.  
> The first 4 sections of each chapter have a 2-column
> layout; the 5th section
> has a 1-column (full-page) layout.  
> The 5th section *can* be on its own (new) page but
> it must have a 1-column
> layout.  
> 
> If you wouldn't mind, I would appreciate an
> explanation of a little more
> depth as to how a two page-sequence-master and two
> page-master format can
> help us with the above problem.  Multithanks in
> advance.
> 
> Cheers,
> Thea.
>   			
> 
> -----Original Message-----
> From: Wendell Piez [mailto:wapiez@xxxxxxxxxxxxxxxx] 
> Sent: Thursday, August 28, 2003 8:16 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [xsl] Question about Page-Masters
> 
> 
> Thea,
> 
> What he said.... another page sequence with another
> page master is the easy 
> solution, if it gives you output you can live with.
> 
> The page model in XSL-FO is where you can really see
> the stress between 
> layout requirements (which can be extremely complex)
> and the need for a 
> complete specification up front in order to support
> "lights-out" processing 
> (i.e. that requires no user intervention in a final
> tweak phase).
> 
> This is why there's probably a market for an
> interactive FO post-processor, 
> that is, an editing package that allows you to
> display the results of FO 
> processing and tweak them on an ad hoc basis.
> Problematic for content 
> management, if abused (in the old days editors would
> sometimes keep 
> tweaking content well into production, but if you're
> "single-sourcing" to 
> multiple outputs this is Bad), but enough of a
> requirement that people want 
> to do it anyway....
> 
> Cheers,
> Wendell
> 
> At 04:04 PM 8/27/2003, J.Pietschmann wrote:
> >Lehming, Thea wrote:
> >>In my particular case, the last section of a
> chapter needs to be *one* 
> >>column before going to the next chapter which
> should be 2 columns, in 
> >>a multiple chapter document. Any ideas?
> >
> >If the last sections of the chapters go into their
> own page sequence, 
> >just use a page master with one column for them and
> a two-column page 
> >master for everything else. If you want to start
> the last section right 
> >after the section before, possibly on a two-column
> page, or if you want 
> >to float the last bit of content from the section
> before the last 
> >section onto the one-column page where the last
> section starts (odd
> >thoughts), then there is no easy way to do this.
> The hard ways
> >all involve estimating how text fills space and
> have to be
> >tailored to your content, if this is possible at
> all.
> 
> 
>
======================================================================
> Wendell Piez                           
> mailto:wapiez@xxxxxxxxxxxxxxxx
> Mulberry Technologies, Inc.               
> http://www.mulberrytech.com
> 17 West Jefferson Street                    Direct
> Phone: 301/315-9635
> Suite 207                                         
> Phone: 301/315-9631
> Rockville, MD  20850                                
> Fax: 301/315-8285
>
----------------------------------------------------------------------
>    Mulberry Technologies: A Consultancy Specializing
> in SGML and XML
>
======================================================================
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread