[xep-support] Re: Make a column header span columns 2 and 3

From: G. Ken Holman <g.ken.holman_at_ADDRESS_REMOVED>
Date: Tue Dec 04 2018 - 09:24:58 PST

In XSL-FO one can only span all columns, not less than all columns.

Yes, your final thought is what I would do: use a perimeter region
and/or absolutely-positioned block container for your introductory
paragraphs and apportion the rest of the page to a two-column page
layout (with a wide left margin).

Then your span="all" will span all two columns.

I hope this is helpful, though you figured it out for yourself.

. . . . . Ken

At 2018-12-04 07:49 +0000, Darren Munt wrote:
>Content-Language: en-US
>Content-Type: multipart/alternative;
>I need to format a page that has three columns, in which column 1 is
>an introductory paragraph or two, and columns 2 & 3 are body
>content, with a header that spans both.
>I'm specifying a three column layout in the page body using column-count="3".
>Then I put content into the page like this:
> <fo:block>
> <fo:block>Par 1</fo:block>
> <fo:block break-after="column">Par 2</fo:block>
> <fo:block span="all">Text that we want to span columns 2
> and 3</fo:block>
> <fo:block>Par 3</fo:block>
> </fo:block>
>That doesn't work, the span attribute has no effect. If I take the
>wrapping block away, then the span is honoured but it throws a line
>break between the second par and the heading, so the heading appears
>under par 2 and spans columns 1 and 2.
>Not sure how I should specify fo commands here to get it to work, or
>if it is even possible.
>I want it to look something like this:
>Xxxxxxxxxxxx Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>Xxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx
>Xxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx
>Maybe I need to use a positioned fo:block-container for the first
>column and just use a two column layout with a wide left margin?

Contact info, blog, articles, etc. http://www.CraneSoftwrights.com/f/ |
Check our site for free XML, XSLT, XSL-FO and UBL developer resources |
Streaming hands-on XSLT/XPath 2 training class @ US$45 (5 hours free) |
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
Received on Sat Dec 8 08:02:17 2018

This archive was generated by hypermail 2.1.8 : Sat Dec 08 2018 - 08:02:32 PST