aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter07/site.xml3
-rw-r--r--stylesheets/lfs-xsl/pdf/lfs-mixed.xsl3
2 files changed, 5 insertions, 1 deletions
diff --git a/chapter07/site.xml b/chapter07/site.xml
index 8c36fe0b8..47b327eee 100644
--- a/chapter07/site.xml
+++ b/chapter07/site.xml
@@ -29,7 +29,8 @@
will enable selective running of bootscripts. Other options are described
in the file comments. The default version of the file is as follows:</para>
- <screen>&site;</screen>
+ <!-- Use role to fix a pdf generation problem -->
+ <screen role="auto">&site;</screen>
</sect1>
diff --git a/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl b/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
index 4a0647f74..550a4a52b 100644
--- a/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
+++ b/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
@@ -108,6 +108,9 @@ $Date$
<xsl:otherwise>
<xsl:choose>
<xsl:when test="ancestor::appendix">auto</xsl:when>
+ <!-- Modified by Bruce Dubbs. Allow user to specify
+ automatic screen formatting to split across pages. -->
+ <xsl:when test="@role='auto'">auto</xsl:when>
<xsl:otherwise>always</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>