2 column pages - align column ending

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

2 column pages - align column ending

Szabo, Patrick (LNG-VIE)
Hi,

I have simple-page-master with 2 columns and I need to align the ending.
For example if there's only enough text for half of the page then i need 2 columns oft he same length containing that text instead of only one cloumn with all the text.

Is there any way to do this within the spec ?

regards


. . . . . . . . . . . . . . . . . . . . . . . . . .
Ing. Patrick Szabo
Developer
LexisNexis
A-1030 Wien, Marxergasse 25

mailto:[hidden email]
Tel.: +43 1 53452 1514
Fax.: +43 1 534 52 146

. . . . . . . . . . . . . . . . . . . . . . . . . .

Reply | Threaded
Open this post in threaded view
|

Re: 2 column pages - align column ending

Tony Graham-4
On Tue, December 3, 2013 1:46 pm, Szabo, Patrick (LNG-VIE) wrote:
> I have simple-page-master with 2 columns and I need to align the ending.
> For example if there's only enough text for half of the page then i need 2
> columns oft he same length containing that text instead of only one cloumn
> with all the text.

After the text, put an empty fo:block with 'span="all"' [1] that is a
child of the fo:flow.

If you're using Antenna House, they have a axf:column-fill [2] extension
that handles it.

Regards,


Tony Graham                                   [hidden email]
Consultant                                 http://www.mentea.net
Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
    XML, XSL-FO and XSLT consulting, training and programming
       Chair, Print and Page Layout Community Group @ W3C

[1] http://www.w3.org/TR/xsl11/#span
[2] http://antennahouse.com/xslfo/extension.htm#axf.column-fill


Reply | Threaded
Open this post in threaded view
|

AW: 2 column pages - align column ending

Szabo, Patrick (LNG-VIE)
a lot easier than i though :)

Thanks !



. . . . . . . . . . . . . . . . . . . . . . . . . .
Ing. Patrick Szabo
Developer
LexisNexis
A-1030 Wien, Marxergasse 25

mailto:[hidden email]
Tel.: +43 1 53452 1514
Fax.: +43 1 534 52 146

. . . . . . . . . . . . . . . . . . . . . . . . . .

-----Urspr√ľngliche Nachricht-----
Von: Tony Graham [mailto:[hidden email]]
Gesendet: Dienstag, 03. Dezember 2013 15:00
An: [hidden email]
Betreff: Re: 2 column pages - align column ending

On Tue, December 3, 2013 1:46 pm, Szabo, Patrick (LNG-VIE) wrote:
> I have simple-page-master with 2 columns and I need to align the ending.
> For example if there's only enough text for half of the page then i
> need 2 columns oft he same length containing that text instead of only
> one cloumn with all the text.

After the text, put an empty fo:block with 'span="all"' [1] that is a child of the fo:flow.

If you're using Antenna House, they have a axf:column-fill [2] extension that handles it.

Regards,


Tony Graham                                   [hidden email]
Consultant                                 http://www.mentea.net
Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
    XML, XSL-FO and XSLT consulting, training and programming
       Chair, Print and Page Layout Community Group @ W3C

[1] http://www.w3.org/TR/xsl11/#span
[2] http://antennahouse.com/xslfo/extension.htm#axf.column-fill