← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [docbook-apps] marginLeft/Right

From
"Cob Rtayton"
Date
2004-04-27T22:14:17+00:00
ID
021901c42ca7$75066350$6501a8c0@toshiro
Thread
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


 

 

  
----- Original Message ----- 

  
From: 
  Ond鷫j 宗墎 

  
To:  
  

  
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.
← Prev in month ← Prev in thread
Next in thread → Next in month →