This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] marginLeft/Right


It turns out that this is not possible to do with parameters alone in the current stylesheets.  It would require customization of the page masters.
 
I think it should be feature, though. I've got a solution that would appear in the next release.  If you need it right away, let me know and I can forward it to you for testing.
 
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net
 
 
----- Original Message -----
Sent: Friday, April 23, 2004 12:36 PM
Subject: [docbook-apps] marginLeft/Right

Hello,
I would like to ask whether it is possible to make eg. on each page left margin of page "1.25in" and right margin of page "1in" regardless the page is odd or even.
I tried these "fo parametres":
 
<xsl:param name="double.sided" select="1"></xsl:param>
 
 <xsl:param name="page.margin.inner">
  <xsl:choose>
    <xsl:when test="$double.sided != 0">1.25in</xsl:when>
    <xsl:otherwise>1in</xsl:otherwise>
  </xsl:choose>
</xsl:param>
 
<xsl:param name="page.margin.outer">
  <xsl:choose>
    <xsl:when test="$double.sided != 0">0.75in</xsl:when>
    <xsl:otherwise>1in</xsl:otherwise>
  </xsl:choose>
</xsl:param>
Or this is not the right way to make the every left margin greater than right marign of page?
 
Because I did get the error from "fop" during processing.
 
Best regards, Ondrej.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]