|
From: SourceForge.net <no...@so...> - 2003-09-04 09:56:22
|
Bugs item #800335, was opened at 2003-09-04 11:56 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=800335&group_id=21935 Category: DocBook XSL FO Group: None Status: Open Resolution: None Priority: 5 Submitted By: Peter Kullmann (arekup) Assigned to: Nobody/Anonymous (nobody) Summary: Wrong page margins in single-sided mode Initial Comment: When selecting single sided mode I still get mirrored margins. I'd expect inner.margin to be the left margin and outer.margin the right margin an any page. A simple fix would be the following (in 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}" margin-right="{$page.margin.inner}" margin-left="{$page.margin.outer} - {$title.margin.left}"> <!-- reverse margins for single.sided output --> <xsl:if test="$double.sided = 0"> <xsl:attribute name="margin-left"> <xsl:value-of select="$page.margin.inner"/> </xsl:attribute> <xsl:attribute name="margin-right"> <xsl:value-of select="$page.margin.outer"/> </xsl:attribute> </xsl:if> This should be repeated in all "*-even" page masters. Perhaps there is an alternative solution: When a page- sequence is created one could possibly select the odd- pagemaster also for even pages. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=800335&group_id=21935 |