Next in thread → Next in month →

Re: [docbook-apps] Re: Different numbers of columns on a single page?

From
Colin Shapiro <>
Date
2007-02-28T20:18:31+00:00
ID
Thread
Re: [docbook-apps] Re: Different numbers of columns on a single page?
Bob,

Thanks for that tip, it was very helpful.  I'm sure I'd be pulling my hair out later when the span attribute refused to work after I put it in a nested fo:block.

I just tried it to see what would happen with FOP 
v0.93, and it doesn't work unless it's in a direct child of fo:flow.  And there are no errors indicating what the problem is.

Thanks,
Colin

On 2/28/07, 
Bob Stayton <> wrote:

Hi Colin,

It is the only way to do it, so it had better be 
the best way.  8^)

 

Depending on your XSL-FO processor, span may or may 
not work in all contexts.  The XSL-FO spec says a spanned block must be a 
direct child of fo:flow.  But DocBook uses nested fo:block elements for 
sections to apply section properties.  That can be worked around, if you 
need it.

 

Bob Stayton
Sagehill Enterprises
DocBook Consulting


 

 

  
----- Original Message ----- 

  

From: 
  Colin 
  Shapiro 

  
To: 
 
  

  
Sent: Wednesday, February 28, 2007 10:20 
  AM

  
Subject: [docbook-apps] Re: Different 
  numbers of columns on a single page?

  

Ah, I just discovered the "span" attribute.  So, I can 
  make my entire page three-columns, and then use span="all" on the FO objects 
  that I want to span across these columns.

Can someone just confirm that 
  this is the best way to do what I am after? 

Thanks,
Colin

  
On 2/28/07, Colin 
  Shapiro <> wrote:
  Hello,

Simple 
    question that may not have a simple answer:

I understand how to set 
    up custom page masters for FO output with different numbers of columns, but 
    what if I want to change the column layout mid-page?  Say, for example, 
    that I want half a page to have three columns, and the other half to have 
    one column. 

Is this possible?

Thanks,
Colin
Next in thread → Next in month →