Author: manuel
Date: 2007-04-17 14:31:28 -0600 (Tue, 17 Apr 2007)
New Revision: 8080

Modified:
   branches/new-xsl/xhtml/lfs-sections.xsl
   branches/new-xsl/xhtml/lfs-titles.xsl
Log:
Use h2 for partintro title.

Modified: branches/new-xsl/xhtml/lfs-sections.xsl
===================================================================
--- branches/new-xsl/xhtml/lfs-sections.xsl     2007-04-17 19:40:35 UTC (rev 
8079)
+++ branches/new-xsl/xhtml/lfs-sections.xsl     2007-04-17 20:31:28 UTC (rev 
8080)
@@ -11,7 +11,7 @@
   <xsl:param name="chunk.first.sections" select="1"/>
 
     <!-- preface:
-           Process the child elemements before generating the TOC -->
+           Process the child elements before generating the TOC -->
     <!-- The original template is in {docbook-xsl}/xhtml/components.xsl -->
   <xsl:template match="preface">
     <xsl:call-template name="id.warning"/>
@@ -45,7 +45,7 @@
   </xsl:template>
 
     <!-- chapter:
-           Process the child elemements before generating the TOC -->
+           Process the child elements before generating the TOC -->
     <!-- The original template is in {docbook-xsl}/xhtml/components.xsl -->
   <xsl:template match="chapter">
     <xsl:call-template name="id.warning"/>

Modified: branches/new-xsl/xhtml/lfs-titles.xsl
===================================================================
--- branches/new-xsl/xhtml/lfs-titles.xsl       2007-04-17 19:40:35 UTC (rev 
8079)
+++ branches/new-xsl/xhtml/lfs-titles.xsl       2007-04-17 20:31:28 UTC (rev 
8080)
@@ -41,6 +41,22 @@
     </div>
   </xsl:template>
 
+    <!-- partintro.titlepage:
+           Uses h2 and removed a lot of unneeded code. -->
+    <!-- The original template is in 
{docbook-xsl}/xhtml/titlepage.templates.xsl -->
+  <xsl:template name="partintro.titlepage">
+    <xsl:if test="title">
+      <div class="partintrotitle">
+        <xsl:if test="@id">
+          <a id="[EMAIL PROTECTED]" name="[EMAIL PROTECTED]"/>
+        </xsl:if>
+        <h2 class="{name(.)}">
+          <xsl:value-of select="title"/>
+        </h2>
+      </div>
+    </xsl:if>
+  </xsl:template>
+
     <!-- appendix.titlepage:
            Uses h1 and removed a lot of unneeded code.
            When sections are not labeled, we want the appendix label in TOC

-- 
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