Author: bdubbs
Date: 2011-10-09 20:59:11 -0600 (Sun, 09 Oct 2011)
New Revision: 9623

Modified:
   trunk/BOOK/chapter07/site.xml
   trunk/BOOK/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
Log:
Fix a pdf rendering issue

Modified: trunk/BOOK/chapter07/site.xml
===================================================================
--- trunk/BOOK/chapter07/site.xml       2011-10-09 19:52:48 UTC (rev 9622)
+++ trunk/BOOK/chapter07/site.xml       2011-10-10 02:59:11 UTC (rev 9623)
@@ -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>
 

Modified: trunk/BOOK/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
===================================================================
--- trunk/BOOK/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl    2011-10-09 19:52:48 UTC 
(rev 9622)
+++ trunk/BOOK/stylesheets/lfs-xsl/pdf/lfs-mixed.xsl    2011-10-10 02:59:11 UTC 
(rev 9623)
@@ -108,6 +108,9 @@
           <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>

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to