diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2011-10-10 02:59:11 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2011-10-10 02:59:11 +0000 |
commit | a7f0b27405b12ab23f20f37261a62d127781281d (patch) | |
tree | cbc466830b034060e93d9963ebf90efc01cc6abd | |
parent | 5dbeba9b1c6d90f94d3d44b37422f50f322ded0e (diff) |
Fix a pdf rendering issue
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9623 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter07/site.xml | 3 | ||||
-rw-r--r-- | stylesheets/lfs-xsl/pdf/lfs-mixed.xsl | 3 |
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> |