|
List Info
Thread: Different numbers of columns on a single page?
|
|
| Different numbers of columns on a
single page? |

|
2007-02-28 12:02:12 |
|
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
|
| Re: Different numbers of columns on a
single page? |

|
2007-02-28 12:20:02 |
|
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">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
|
| Re: Re: Different numbers of columns on
a single page? |

|
2007-02-28 12:26:10 |
|
|
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.
----- 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 <gmail.com">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
|
| Re: Re: Different numbers of columns on
a single page? |

|
2007-02-28 14:18:29 |
|
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">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 Sa gehill Enterprises DocBook Consulting bobs sagehill.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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
|
[1-4]
|
|