Fix a pdf rendering issue

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9623 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2011-10-10 02:59:11 +00:00
parent 5dbeba9b1c
commit a7f0b27405
2 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,8 @@
will enable selective running of bootscripts. Other options are described will enable selective running of bootscripts. Other options are described
in the file comments. The default version of the file is as follows:</para> 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> </sect1>

View File

@ -108,6 +108,9 @@ $Date$
<xsl:otherwise> <xsl:otherwise>
<xsl:choose> <xsl:choose>
<xsl:when test="ancestor::appendix">auto</xsl:when> <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:otherwise>always</xsl:otherwise>
</xsl:choose> </xsl:choose>
</xsl:otherwise> </xsl:otherwise>