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] marginLeft/Right


As immediate solution I changed the page masters of generated format objects. Though I really would appreciate the
solution directly in the stylesheets. So, could you please forward me this solution for testing and preliminary using?
Thank you and
best regards Ondrej
----- Original Message -----
Sent: Wednesday, April 28, 2004 12:31 AM
Subject: 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.


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