xsl-list
[Top] [All Lists]

Re: 2 column page layouts in FO

2005-09-15 16:39:42
Hi Dan,

At 2005-09-15 11:59 -0700, Dan Vint wrote:
I'm trying to create an index for my publication and set it on a 2 column page, where the rest of the pub is one column. What I'm finding is the first page of this section is setting as a single page wide column and follow on pages are setting as 2 column correctly. I don't set any spans and when I check to bounding boxes in Antenna House it shows blocks spanning the whole page on the first page and the second page shows two columns.

So I know my text output and its blocks are correct because they format properly on subsequent pages, so it seems like it should be in the page layout information where this is being changed, but I can't see the problem. Also, if I force a page break before my heading of Index, all the text formats correctly.

Here are my page layouts:

<fo:simple-page-master master-name="index-2col"
        page-height="{$pageHeight}" page-width="{$pageWidth}"
        margin-top=".5in"
        margin-bottom=".5in"
        margin-left=".75in"
        margin-right=".75in" >

          <fo:region-body margin-top=".5in" margin-bottom=".35in"/>
  <fo:region-before extent=".5in" display-align="before" />
  <fo:region-after extent=".5in" display-align="after"/>

        <fo:region-body column-count="2" column-gap=".5in"
                margin-bottom=".35in"/>
</fo:simple-page-master>

I note above that you have *two* <region-body> constructs ... is that a copy/paste problem in the email or do you actually (incorrectly) have two in there?

Antenna House may not be reporting an error because it is satisfied there *is* a <region-body>, it just isn't counting them.

I could imagine having two might cause some internal problems.

I hope this helps.

. . . . . . . Ken

--
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>