I can confirm that Ken's solution works with FOP (I accidentally discovered
this myself):

"Yes, include an empty spanned block at the end of your flow. The formatter
will try to balance all of your columns on top of this empty block. Modulo
keeps, breaks, widows, orphans, etc."

With XEP, you can omit the empty spanned block and just use a flow-section
(one of the RenderX extensions).  The columns inside of your flow-section
will be balanced.

- Colin

On 7/31/07, David Cramer <[EMAIL PROTECTED]> wrote:
>
> I haven't tried this or looked into how you'd do it in the docbook xsls
> (or if it would work in fop), but I happened to remember that Ken has
> posted this on the xep list, so it was easy for me to find again:
> http://www.renderx.net/lists/xep-support/1119.html
>
> If you get it to work, please share the solution. It stuck in my mind
> because a writer had asked about it wrt to our two column indexes. I
> think it would be good default behavior for the stylesheets.
>
> Thanks,
> David
>
> > -----Original Message-----
> > From: Dick Hamilton [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, July 31, 2007 7:25 PM
> > To: docbook-apps@lists.oasis-open.org
> > Subject: [docbook-apps] Balanced last page in two column output
> >
> > I'm working on a stylesheet to transform a DocBook article
> > into the form the ACM uses for its SIG proceedings.  The
> > specification uses a two-column format and says, "Columns on
> > the last page should be made as close as possible to equal length."
> >
> > After searching around some, I couldn't find any good
> > references on how to do this.  Does anyone know if it can be
> > done, and if so, how to do it?
> >
> > If it makes any difference, I'm using DocBook 5.0, the 1.73.0
> > stylesheets, Saxon 6.5.3, and FOP 0.93 on Linux.
> >
> > Thanks,
> > Dick Hamilton
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to