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]

[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]