Hi,

For one of my documents a long list of items spans multiple pages and makes the document quite spacious. I would like to fix this by adding a multi-column section that would stretch the list over these columns.

The output in ODF looks like this for a 3 column section.

Stylesheet
----
  <style:style style:name="Sect1" style:family="section">
<style:section-properties fo:background-color="transparent" text:dont-balance-text-columns="false" style:editable="false">
    <style:columns fo:column-count="3" fo:column-gap="4.97mm">
<style:column style:rel-width="3165*" fo:start-indent="0mm" fo:end-indent="2.49mm"/> <style:column style:rel-width="3307*" fo:start-indent="2.49mm" fo:end-indent="2.49mm"/> <style:column style:rel-width="3166*" fo:start-indent="2.49mm" fo:end-indent="0mm"/>
    </style:columns>
    <style:background-image/>
   </style:section-properties>
  </style:style>
----

Content
----
<text:section text:style-name="Sect1" text:name="Section1">
...
</text:section>
----

The brings two problems to the table.


* How do we generate the styles ?

This is something that comes up from time to time, and the only solution I have is to pre-add the styles that may never be used (to every theme). In this case that means I have to provide styles for 2 to 5 column sections.
(I doubt 6 columns are really useful, 5 is already taking it far)


* What would be the best construction to make this work ?

My idea was to do this:

[section,columns=2]
====
...
====

But maybe there is something better ? A section in ODF separates parts of the text body and can contain everything that can be added to the body itself. So titles, paragraphs, ...

In itself it's quite easy to do, but I wonder if this maps to existing functionality in other output backends, and whether we can make a general construction rather than implementing something myself (again).

What would we prefer in this case ?
--
-- dag wieers, [email protected], http://dag.wieers.com/
-- dagit linux solutions, [email protected], http://dagit.net/
[Any errors in spelling, tact or fact are transmission errors]

--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to