From eac7e37f0a343c67fbb86c7cf29323c519d2d3fd Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 19 Feb 2009 13:33:22 +0000 Subject: [PATCH] Fix FO XSL customisation layer to improve formatting - use widow and orphan control rather than "keep-together", make sure formatting is applied consistently across all elements, and allow code block to line wrap with hyphenation. [SVN r51328] --- xsl/fo.xsl | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/xsl/fo.xsl b/xsl/fo.xsl index 625c101..a7ce43e 100644 --- a/xsl/fo.xsl +++ b/xsl/fo.xsl @@ -175,13 +175,16 @@ Put a box around admonishments and keep them together: 0.2cm 0.2cm 0.2cm - 1 + 1 #DCDCDC @@ -194,8 +197,18 @@ and orphans controls: 6 40 9pt + true + wrap + + + + + + 9pt + + - 1 + 6 + 40 + + + 6 + 40