In the context of creating an inside/outside, "duplex" document (which I
seem to have working pretty well now), I'm having a problem with using
rx:flow-section to interpose a two-column bit within the main document.
The behavior I'm getting may be unavoidable, but I hope not.
Here is my FO instance:
<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"
xmlns:rx="http://www.renderx.com/XSL/Extensions"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:imsqti="http://www.imsproject.org/qti/" hyphenate="true"
language="en"
font-family="Times New Roman, serif" font-size="11.5pt"
line-height="120%">
<fo:layout-master-set>
<fo:simple-page-master master-name="body-page-odd-first"
page-height="11in" page-width="8.5in">
<fo:region-body margin-left="0pc - (12pc - 4.5pc)"
margin-right="10pc" margin-top="4.5pc"
margin-bottom="3.5pc"/>
<fo:region-before extent="4pc"/>
<fo:region-after region-name="region-after-odd" extent="3.5pc"
precedence="true"/>
<fo:region-start extent="4.5pc"/>
<fo:region-end region-name="region-end-first" extent="9pc"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="body-page-odd"
page-height="11in" page-width="8.5in">
<fo:region-body margin-left="-0pc - (12.5pc - 4.5pc)"
margin-right="6pc" margin-top="4.5pc"
margin-bottom="3.5pc"/>
<fo:region-before extent="4pc"/>
<fo:region-after region-name="region-after-odd" extent="3.5pc"
precedence="true"/>
<fo:region-start extent="4.5pc"/>
<fo:region-end extent="6pc"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="body-page-even"
page-height="11in" page-width="8.5in">
<fo:region-body margin-left="5.75pc" margin-right="-0pc - (12.5pc
- 4.5pc)" margin-top="4.5pc"
margin-bottom="3.5pc"/>
<fo:region-before region-name="region-before-even" extent="4pc"/>
<fo:region-after region-name="region-after-even" extent="3.5pc"
precedence="true"/>
<fo:region-start extent="17pc"/>
<fo:region-end extent="4pc"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="body-pages">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference
master-reference="body-page-odd-first"
page-position="first" odd-or-even="odd"/>
<fo:conditional-page-master-reference
master-reference="body-page-odd" odd-or-even="odd"/>
<fo:conditional-page-master-reference
master-reference="body-page-even" odd-or-even="even"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="body-pages"
initial-page-number="auto-odd">
<fo:flow flow-name="xsl-region-body" start-indent="12.5pc"
end-indent="12.5pc">
<fo:block
space-after="1pc"
>Normal offset column.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++ ++++
++++++++++.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++ ++++
++++++++++.
</fo:block>
<fo:block text-align-last="justify"><fo:leader
leader-pattern="rule"/></fo:block>
<rx:flow-section column-count="2" column-gap="1.5pc"
end-indent="0pt" color="blue">
<fo:wrapper start-indent="0pt">
<fo:block font-size="11pt" line-height="13pt"
font-family="Times New Roman, serif">
<fo:block font-weight="bold">Two-column content w/in an
rx:flow-section.</fo:block>
<fo:block space-before="1pc">
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++
++++ ++++++++++.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++
++++ ++++++++++.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++
++++ ++++++++++.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++
++++ ++++++++++.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++
++++ ++++++++++.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++
++++ ++++++++++.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++
++++ ++++++++++.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++
++++ ++++++++++.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++
++++ ++++++++++.
</fo:block>
</fo:block>
</fo:wrapper>
</rx:flow-section>
<fo:block text-align-last="justify"><fo:leader
leader-pattern="rule"/></fo:block>
<fo:block
space-before="1pc"
>Back to the normal offset column.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++ ++++
++++++++++.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++ ++++
++++++++++.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++ ++++
++++++++++.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++ ++++
++++++++++.
+++++++++++ ++++++++++ +++++++++++ ++++ +++++++++++++ ++ ++++
++++++++++.
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
The presentation effect is that the flow-level start-indent is applied
to both columns, which makes the second column too narrow. I can provide
a PDF if necessary.
I think what I want to be able to do is to put rx:flow-section within a
block-container, which would allow me to establish an isolated reference
area. Also, if I could do this, I could so some other cool stuff that I
currently can't do.
If I understand the docs, rx:flow-section must be a direct child of fo:flow.
Thanks,
Eliot
-- W. Eliot Kimber Professional Services Innodata Isogen 9390 Research Blvd, #410 Austin, TX 78759 (512) 372-8122 ekimber@innodata-isogen.com www.innodata-isogen.com ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.htmlReceived on Fri Jan 28 19:28:54 2005
This archive was generated by hypermail 2.1.8 : Fri Jan 28 2005 - 19:28:55 PST