mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
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:
parent
eac7e37f0a
commit
18f7121b7a
11
xsl/fo.xsl
11
xsl/fo.xsl
@ -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">↵</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 @@ 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>
|
||||
|
||||
<!--
|
||||
|
Loading…
x
Reference in New Issue
Block a user