Re: Subject: text colums
Subject: Re: Subject: text colums From: Jon Carnes <[EMAIL PROTECTED]> === Jeff Rancier wrote: > While your on the subject, is there a daily/weekly digest? > Thanks, > Jeff > > Sorry for the off topic You can always catch up using the news group: news.basebeans.com
Re: Subject: text colums
While your on the subject, is there a daily/weekly digest? Thanks, Jeff Sorry for the off topic - Original Message - From: "Woods, John T." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 22, 2002 12:47 PM Subject: RE: Subject: text colums | How can I temporarily remove myself from the [EMAIL PROTECTED] mailing | list. | | Thanks, | John | | -Original Message- | From: Joerg Pietschmann [mailto:[EMAIL PROTECTED] | Sent: Thursday, March 21, 2002 8:37 AM | To: FOP User | Subject: Re: Subject: text colums | | | Lauren Commons <[EMAIL PROTECTED]> wrote: | > I am producing pdfs that will have a bullet list that | > I want to display in two columns, like newspaper | > columns. I won't know in advance how many items will | > be in the list. | | I suppose you have | ... | Item1 | Item2 | Item3 | ... | 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 between | the columns. You have also to decide whether you want to use | one row in the table or a row for every pair of items. | A sample XSLT snippet (untested): | | | | | | | | | | | | | | | | | This will generate the secont variant, with one row. If you want | multiple rows, move the into the xsl:for-each | 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 first | to the second column to fill a minimal area seems to be much | harder unless you want to have the whole page in two columns. | | Ask on the XSL list for more ideas. | | J.Pietschmann
RE: Subject: text colums
How can I temporarily remove myself from the [EMAIL PROTECTED] mailing list. Thanks, John -Original Message- From: Joerg Pietschmann [mailto:[EMAIL PROTECTED] Sent: Thursday, March 21, 2002 8:37 AM To: FOP User Subject: Re: Subject: text colums Lauren Commons <[EMAIL PROTECTED]> wrote: > I am producing pdfs that will have a bullet list that > I want to display in two columns, like newspaper > columns. I won't know in advance how many items will > be in the list. I suppose you have ... Item1 Item2 Item3 ... 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 between the columns. You have also to decide whether you want to use one row in the table or a row for every pair of items. A sample XSLT snippet (untested): This will generate the secont variant, with one row. If you want multiple rows, move the into the xsl:for-each 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 first to the second column to fill a minimal area seems to be much harder unless you want to have the whole page in two columns. Ask on the XSL list for more ideas. J.Pietschmann
Re: Subject: text colums
I think this will probably work fine. Thanks for the ideas. --- Joerg Pietschmann <[EMAIL PROTECTED]> wrote: > Lauren Commons <[EMAIL PROTECTED]> wrote: > > I am producing pdfs that will have a bullet list > that > > I want to display in two columns, like newspaper > > columns. I won't know in advance how many items > will > > be in the list. > > I suppose you have > ... > Item1 > Item2 > Item3 > ... > 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 > between > the columns. You have also to decide whether you > want to use > one row in the table or a row for every pair of > items. > A sample XSLT snippet (untested): > > column-width="proportional-column-width()"/> > column-width="proportional-column-width()"/> > > > > > > > > select="following-sibling:li"> > > > > > > This will generate the secont variant, with one row. > If you want > multiple rows, move the into the > xsl:for-each > 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 > first > to the second column to fill a minimal area seems to > be much > harder unless you want to have the whole page in two > columns. > > Ask on the XSL list for more ideas. > > J.Pietschmann = - 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® http://movies.yahoo.com/
Re: Subject: text colums
Lauren Commons <[EMAIL PROTECTED]> wrote: > I am producing pdfs that will have a bullet list that > I want to display in two columns, like newspaper > columns. I won't know in advance how many items will > be in the list. I suppose you have ... Item1 Item2 Item3 ... 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 between the columns. You have also to decide whether you want to use one row in the table or a row for every pair of items. A sample XSLT snippet (untested): This will generate the secont variant, with one row. If you want multiple rows, move the into the xsl:for-each 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 first to the second column to fill a minimal area seems to be much harder unless you want to have the whole page in two columns. Ask on the XSL list for more ideas. J.Pietschmann