docbook-apps

Re: [docbook-apps] Margin release

  • 1.  Re: [docbook-apps] Margin release

    Posted 09-08-2008 18:34
    Thanks David,
    That worked for me!

    Dean


    In a message dated 9/8/2008 8:28:29 A.M. Pacific Daylight Time,
    dcramer@motive.com writes:

    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 role="release-margins"> 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) .






    **************Psssst...Have you heard the news? There's a new fashion blog,
    plus the latest fall trends and hair styles at StyleList.com.
    (http://www.stylelist.com/trends?ncid=aolsty00050000000014)