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.

[SVN r51332]
This commit is contained in:
John Maddock 2009-02-19 16:52:57 +00:00
parent eac7e37f0a
commit 18f7121b7a

View File

@ -199,12 +199,13 @@ symbol is used as the hyphenation character:
<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">&#8629;</xsl:attribute>
<xsl:attribute name="hyphenation-character">&#x21B5;</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 @@ together on one page if possible:
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>
<!--