Author: manuel
Date: 2007-04-22 06:26:45 -0600 (Sun, 22 Apr 2007)
New Revision: 8097
Modified:
branches/new-xsl/lfs-pdf.xsl
branches/new-xsl/pdf/lfs-mixed.xsl
Log:
Small fix for when <screen> is inside <para>.
Modified: branches/new-xsl/lfs-pdf.xsl
===================================================================
--- branches/new-xsl/lfs-pdf.xsl 2007-04-22 10:56:30 UTC (rev 8096)
+++ branches/new-xsl/lfs-pdf.xsl 2007-04-22 12:26:45 UTC (rev 8097)
@@ -26,6 +26,9 @@
<xsl:include href="pdf/lfs-pagesetup.xsl"/>
<xsl:include href="pdf/lfs-xref.xsl"/>
+ <!-- The LFS book type to be processed (lfs, blfs, clfs, or hlfs) -->
+ <xsl:param name="book-type">lfs</xsl:param>
+
<!-- Activating FOP-1 extensions. We use FOP-0.93 as the FO procesor. -->
<xsl:param name="fop1.extensions" select="1"/>
Modified: branches/new-xsl/pdf/lfs-mixed.xsl
===================================================================
--- branches/new-xsl/pdf/lfs-mixed.xsl 2007-04-22 10:56:30 UTC (rev 8096)
+++ branches/new-xsl/pdf/lfs-mixed.xsl 2007-04-22 12:26:45 UTC (rev 8097)
@@ -125,7 +125,8 @@
<xsl:call-template name="simple.xlink">
<xsl:with-param name="content">
<xsl:choose>
- <xsl:when test="ancestor::para and not(descendant::ulink)">
+ <xsl:when test="ancestor::para and not(ancestor::screen)
+ and not(descendant::ulink)">
<xsl:call-template name="hyphenate-url">
<xsl:with-param name="url">
<xsl:apply-templates/>
@@ -161,7 +162,8 @@
<xsl:call-template name="simple.xlink">
<xsl:with-param name="content">
<xsl:choose>
- <xsl:when test="ancestor::para and not(descendant::ulink)">
+ <xsl:when test="ancestor::para and not(ancestor::screen)
+ and not(descendant::ulink)">
<xsl:call-template name="hyphenate-url">
<xsl:with-param name="url">
<xsl:apply-templates/>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page