|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51696 - trunk/tools/boostbook/xsl
From: john_at_[hidden]
Date: 2009-03-11 06:22:42
Author: johnmaddock
Date: 2009-03-11 06:22:42 EDT (Wed, 11 Mar 2009)
New Revision: 51696
URL: http://svn.boost.org/trac/boost/changeset/51696
Log:
Set margins to 0pt so they line up with surrounding text rather than appearing outside it - prevents margins from overlapping other content.
Text files modified:
trunk/tools/boostbook/xsl/fo.xsl | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/tools/boostbook/xsl/fo.xsl
==============================================================================
--- trunk/tools/boostbook/xsl/fo.xsl (original)
+++ trunk/tools/boostbook/xsl/fo.xsl 2009-03-11 06:22:42 EDT (Wed, 11 Mar 2009)
@@ -176,6 +176,8 @@
<xsl:attribute name="padding-top">0.2cm</xsl:attribute>
<xsl:attribute name="padding-bottom">0.2cm</xsl:attribute>
<xsl:attribute name="keep-together.within-page">1</xsl:attribute>
+ <xsl:attribute name="margin-left">0pt</xsl:attribute>
+ <xsl:attribute name="margin-right">0pt</xsl:attribute>
</xsl:attribute-set>
<!--
@@ -200,6 +202,8 @@
<xsl:attribute name="hyphenate">true</xsl:attribute>
<xsl:attribute name="wrap-option">wrap</xsl:attribute>
<xsl:attribute name="hyphenation-character">↵</xsl:attribute>
+ <xsl:attribute name="margin-left">0pt</xsl:attribute>
+ <xsl:attribute name="margin-right">0pt</xsl:attribute>
</xsl:attribute-set>
<xsl:param name="hyphenate.verbatim" select="1"></xsl:param>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk