[yelp-xsl] Treat equations as formal blocks



commit e2f7c7888b88d8040d9f0049ea20065e4baf4748
Author: brian m. carlson <sandals crustytoothpaste ath cx>
Date:   Mon Apr 5 21:36:52 2010 +0000

    Treat equations as formal blocks
    
    Signed-off-by: brian m. carlson <sandals crustytoothpaste ath cx>

 xslt/docbook/html/db2html-block.xsl |    4 +++-
 xslt/docbook/html/db2html-title.xsl |    7 -------
 2 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/xslt/docbook/html/db2html-block.xsl b/xslt/docbook/html/db2html-block.xsl
index d67c6b9..46b0c79 100644
--- a/xslt/docbook/html/db2html-block.xsl
+++ b/xslt/docbook/html/db2html-block.xsl
@@ -420,7 +420,9 @@ template.
 
 <!-- = equation = -->
 <xsl:template match="equation | db:equation">
-  <xsl:call-template name="db2html.block"/>
+  <xsl:call-template name="db2html.block">
+    <xsl:with-param name="formal" select="true()"/>
+  </xsl:call-template>
 </xsl:template>
 
 <!-- = example = -->
diff --git a/xslt/docbook/html/db2html-title.xsl b/xslt/docbook/html/db2html-title.xsl
index efd183f..bdd34e3 100644
--- a/xslt/docbook/html/db2html-title.xsl
+++ b/xslt/docbook/html/db2html-title.xsl
@@ -97,13 +97,6 @@ This template is going away
 <!-- Handled in db2html.title.header -->
 <xsl:template match="subtitle | db:subtitle"/>
 
-
-<!-- = equation/title = -->
-<xsl:template match="equation/title | db:equation/db:title |
-                     db:equation/db:info/db:title">
-  <xsl:call-template name="db2html.title.block"/>
-</xsl:template>
-
 <!-- = msg/title = -->
 <xsl:template match="msg/title | db:msg/db:title">
   <xsl:call-template name="db2html.title.block"/>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]