$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r51332 - trunk/tools/boostbook/xsl
From: john_at_[hidden]
Date: 2009-02-19 11:52:58
Author: johnmaddock
Date: 2009-02-19 11:52:57 EST (Thu, 19 Feb 2009)
New Revision: 51332
URL: http://svn.boost.org/trac/boost/changeset/51332
Log:
Set monospace font so that carriage return character (for line continuation) is found.
Revert to modified keep-together rule for tables, as widow and orphan controls don't work quite as expected.
Text files modified: 
   trunk/tools/boostbook/xsl/fo.xsl |    11 +++++------                             
   1 files changed, 5 insertions(+), 6 deletions(-)
Modified: trunk/tools/boostbook/xsl/fo.xsl
==============================================================================
--- trunk/tools/boostbook/xsl/fo.xsl	(original)
+++ trunk/tools/boostbook/xsl/fo.xsl	2009-02-19 11:52:57 EST (Thu, 19 Feb 2009)
@@ -199,12 +199,13 @@
   <xsl:attribute name="font-size">9pt</xsl:attribute>
   <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="hyphenation-character">↵</xsl:attribute>
 </xsl:attribute-set>
 
 <xsl:param name="hyphenate.verbatim" select="1"></xsl:param>
+<xsl:param name="monospace.font.family">monospace,Symbol</xsl:param>
 
-<!--Regular monospace text should have the same font size as code blocks etc-->
+  <!--Regular monospace text should have the same font size as code blocks etc-->
 <xsl:attribute-set name="monospace.properties">
   <xsl:attribute name="font-size">9pt</xsl:attribute>
 </xsl:attribute-set>
@@ -225,12 +226,10 @@
       results for very large tables than a simple "keep-together"
       instruction-->
 <xsl:attribute-set name="table.properties">
-  <xsl:attribute name="widows">6</xsl:attribute>
-  <xsl:attribute name="orphans">40</xsl:attribute>
+  <xsl:attribute name="keep-together.within-page">1</xsl:attribute>
 </xsl:attribute-set>
 <xsl:attribute-set name="informaltable.properties">
-  <xsl:attribute name="widows">6</xsl:attribute>
-  <xsl:attribute name="orphans">40</xsl:attribute>
+  <xsl:attribute name="keep-together.within-page">1</xsl:attribute>
 </xsl:attribute-set>
 
 <!--