Procházet zdrojové kódy

Fix a pdf rendering issue

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9623 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs před 14 roky
rodič
revize
a7f0b27405
2 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 2 1
      chapter07/site.xml
  2. 3 0
      stylesheets/lfs-xsl/pdf/lfs-mixed.xsl

+ 2 - 1
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>
 

+ 3 - 0
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>