I think this will probably work fine. Thanks for the
--- Joerg Pietschmann <[EMAIL PROTECTED]>
> Lauren Commons <[EMAIL PROTECTED]> wrote:
> > I am producing pdfs that will have a bullet list
> > I want to display in two columns, like newspaper
> > columns. I won't know in advance how many items
> > be in the list.
> I suppose you have
> and want to display
> o Item1 o Item3
> o Item2
> or perhaps
> o Item1 o Item2
> o Item3
> (note the difference)
> This is not easy to achieve. A first shot would be
> to use
> a two column table distribute the list items equally
> the columns. You have also to decide whether you
> want to use
> one row in the table or a row for every pair of
> A sample XSLT snippet (untested):
> <fo:table table-layout="fixed">
> <xsl:for-each select="li[position() div
> This will generate the secont variant, with one row.
> If you want
> multiple rows, move the <fo:table-row> into the
> The first variant is a bit harder to get.
> Whether the table solution matches your expectations
> is up to
> you. Having two columns with items flowing from the
> to the second column to fill a minimal area seems to
> be much
> harder unless you want to have the whole page in two
> Ask on the XSL list for more ideas.
Mr Lauren Commons
DISCLAIMER: The opinions expressed
ARE in fact those of my employer.
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®