OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] Margin release

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">
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 <table role="release-margins"> in your docbook.
<?bjfo wide-block-element?>
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.

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?
<table orient="land" role="release-margins">
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.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]