docbook-apps

  • 1.  Re: [docbook-apps] Two column sections

    Posted 10-05-2008 21:05
    This requires an extension in the XSL-FO processor. In Antenna House, you can use an fo:block-container with the extension attributes axf:column-count and axf:column-gap. In XEP, you should look into using an rx:flow-section element with column-count and column-gap attributes.

    If you are using FOP, I think you would have to define the page-master as two columns, and then on all block content, except the section you want in two columns, you would have to add a span="all" attribute. Then only the sections without span="all" will format in two columns. Kind of a backwards way of doing it, and I'm not sure how hard it would be to cover all content.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 2.  Re: [docbook-apps] Two column sections

    Posted 10-06-2008 05:36
    Yikes! That seems rather invasive since I'm using FOP.

    Is there a way to switch from one page master to another on the same physical page? Or is there only one page page master per physical page?

    Can you have a page master inside a single cell table?



    In a message dated 10/05/08 14:05:23 Pacific Daylight Time, bobs@sagehill.net writes:
    This requires an extension in the XSL-FO processor. In Antenna House, you can use an fo:block-container with the extension attributes axf:column-count and axf:column-gap. In XEP, you should look into using an rx:flow-section element with column-count and column-gap attributes.

    If you are using FOP, I think you would have to define the page-master as two columns, and then on all block content, except the section you want in two columns, you would have to add a span="all" attribute. Then only the sections without span="all" will format in two columns. Kind of a backwards way of doing it, and I'm not sure how hard it would be to cover all content.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net