DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion breaking columns across PDF pages

  • akaAnnAdams

    breaking columns across PDF pages

    Participants 1
    Replies 2
    Last Activity 9 years, 11 months ago

    We have a long alphabetical list I would like to present in a 2-column format. Because the table is longer than a single page, I would like the list to wrap at a natural page break, alphabetically. This makes manual setup of the coolumns difficult in a table.

    I tried using a 2 column, one row format, but because the table is long and we have our DITA extensions set to not break across a row, the table runs off the page.

    I could make multiple rows, but I have no way of predicting when a page break will be required, and thus, no way to maintain the alphabetical structure across multiple pages.

    Is there a way to create columns without using a table, or some way to create what I call 'newspaper columns' to break across pages?

    Reply

    akaAnnAdams

    Reply to: breaking columns across PDF pages

    For anyone interested, I've received two solutions from others:

    (1) use (simple list)? It was
    mentioned here (where they specialized @outputclass = twocol):

    http://www.scriptorium.com/2012/10/perils-of-dita-publishing-part-8-pdf-acrobati
    cs-revisited

    (2) > Since your DITA extensions override the default table formatting, which is to
    let rows break across pages, it should be simple to add a condition to the
    override to allow the default formatting when the author adds a value to the row
    or table's outputclass attribute.
    >
    > Here is an example of how we did that.
    >
    >
    >
    >
    >
    > always
    >

    >
    >
    >
    >

    >
    > If your extensions define the keep rule on the attribute set for the table row
    (tbody.row), then you want to define the rule so that it overrides the attribute
    set. For example:
    >
    >
    >
    >
    > auto
    >

    >
    >
    >
    >

    Best regards,
    Ann

    Reply

    IF

    Reply to: breaking columns across PDF pages

    What worked for me so far (not extensively tested yet and I don't know if this is what you were looking for) is the RendexX extension http://services.renderx.com/Content/support/xep/tutorial.html

    Excerpt from modified template
    …..
                                       
                                           
                                                     
                                                 
                                             
     
                                           

                                           
                                             
                                           

                                       

           
                                 

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support