docbook-apps

  • 1.  Margin release

    Posted 09-05-2008 00:03
    Hello all!

    I need to be able to release/change the margin settings for a table to use
    the whole useable page minus header/footer. The pgwide=1 attribute does
    nothing. Also I am using "orient=land" to make the table landscape.

    Is there a way to do something like this?


    ...



    If I change margins it changes it for everything. Can I do this short of
    defining a new pagemaster?


    Thanks for the help!
    Dean Nelson



    **************It's only a deal if it's where you want to go. Find your travel
    deal here.
    (http://information.travel.aol.com/deals?ncid=aoltrv00050000000047)



  • 2.  RE: [docbook-apps] Margin release

    Posted 09-08-2008 15:28
    Here's what I do to deal with the occasional wide block element (table,
    figure, whatever). I have this in my customization layer:

    <xsl:template match="*[./processing-instruction('bjfo') =
    'wide-block-element']">
    <fo:block margin-left="-.75in" margin-right="-.75in">
    <xsl:apply-imports/>
    </fo:block>
    </xsl:template>

    That opens up the left and right margins by three quarters of an inch.
    Then I can use the following processing instruction (It's "bjfo" because
    our company was named "BroadJump" when I added it to the xsls). You
    could instead match="*[@role='release-margins']" if you prefer to use
    in your docbook.



    ...

    AFAIK, the stylesheets don't support landscaped tables. It's tricky to
    implement due to some aspects of xsl-fo and there are limits to what you
    can do. Maybe someone else can help you there.

    David



    ________________________________

    From: DeanNelson@aol.com [mailto:DeanNelson@aol.com]
    Sent: Thursday, September 04, 2008 7:03 PM
    To: docbook-apps@lists.oasis-open.org
    Subject: [docbook-apps] Margin release



    Hello all!

    I need to be able to release/change the margin settings for a
    table to use the whole useable page minus header/footer. The pgwide=1
    attribute does nothing. Also I am using "orient=land" to make the table
    landscape.

    Is there a way to do something like this?


    ...



    If I change margins it changes it for everything. Can I do this
    short of defining a new pagemaster?


    Thanks for the help!
    Dean Nelson




    ________________________________

    It's only a deal if it's where you want to go. Find your travel
    deal here
    <http://information.travel.aol.com/deals?ncid=aoltrv00050000000047> .