OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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 <bobs@sagehill.net> 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
bobs@sagehill.net
 
 
----- Original Message -----
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 <cmshapiro@gmail.com> 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




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]