Hi, i am trying to print some articels with XSL FO Stylesheets 1.60 and and have some trouble with understanding parameters margin.inner and margin.outer
In my understanding (direction mode top to bottom, left to right) margin.inner is always left margin and margin.outer is right margin IF printing is NOT double.sided What i try to achieve is a left margin of 4cm on every page and a right margin of 1 cm. I need enough space for content but a large left margin for stitching together at the left side. I modified fo/pagesetup.xsl as follows (snipped unmodified parts) and it works fine for me, but maybe i didnt understand the concepts of margin yet. If so, could anyone give me a hint? If not, the XSL stylesheet distribution should be modified!? (in which case i hope that norm listens) kind regards janning here it comes: modified parts of fo/pagesetup.xsl ---------- <fo:simple-page-master master-name="body-even" page-width="{$page.width}" page-height="{$page.height}" margin-top="{$page.margin.top}" margin-bottom="{$page.margin.bottom}"> <xsl:choose> <xsl:when test="$double.sided = '1'"> <xsl:attribute name="margin-right"> <xsl:value-of select="$page.margin.inner"/> </xsl:attribute> <xsl:attribute name="margin-left"> <xsl:value-of select="$page.margin.outer"/> </xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="margin-right"> <xsl:value-of select="$page.margin.outer"/> </xsl:attribute> <xsl:attribute name="margin-left"> <xsl:value-of select="$page.margin.inner"/> </xsl:attribute> </xsl:otherwise> </xsl:choose> <fo:region-body margin-bottom="{$body.margin.bottom}" margin-top="{$body.margin.top}" column-count="{$column.count.body}"> </fo:region-body> <fo:region-before region-name="xsl-region-before-even" extent="{$region.before.extent}" display-align="before"/> <fo:region-after region-name="xsl-region-after-even" extent="{$region.after.extent}" display-align="after"/> </fo:simple-page-master> ---------------- -- Planwerk 6 /websolutions Herzogstraße 86 40215 Düsseldorf fon 0211-6015919 fax 0211-6015917 http://www.planwerk6.de