Author: paul
Date: 2007-01-17 06:03:33 +0100 (Wed, 17 Jan 2007)
New Revision: 4541
Log:
Sync from mysqldoc-internal.
Modified:
trunk/xsl.d/dbk-texi.xsl
Modified: trunk/xsl.d/dbk-texi.xsl
===================================================================
--- trunk/xsl.d/dbk-texi.xsl 2007-01-16 21:01:53 UTC (rev 4540)
+++ trunk/xsl.d/dbk-texi.xsl 2007-01-17 05:03:33 UTC (rev 4541)
Changed blocks: 2, Lines Added: 16, Lines Deleted: 4; 1563 bytes
@@ -366,13 +366,23 @@
and the @columfractions values appear in the <colspec> elements.
A fraction of .nn will appear as nn*, so add the '.' back in and strip
off the '*'.
+
+<table> is handled similarly, but has a <title>
-->
-<xsl:template match="informaltable">
+<xsl:template match="informaltable|table">
<xsl:value-of select="$newline"/>
<!--
<xsl:text>@table @asis</xsl:text>
-->
+ <!-- table has title, so grab it here -->
+ <xsl:if test="title">
+ <xsl:text>@strong{</xsl:text>
+ <xsl:apply-templates select="title" mode="noignore"/>
+ <xsl:text>}</xsl:text>
+ <xsl:value-of select="$newline"/>
+ <xsl:value-of select="$newline"/>
+ </xsl:if>
<xsl:text>@multitable @columnfractions</xsl:text>
<xsl:for-each select="tgroup/colspec">
<xsl:text> .</xsl:text>
@@ -384,12 +394,14 @@
<xsl:value-of select="$newline"/>
</xsl:template>
-<!-- <tgroup>, <colspec>, <tbody>, <row> -> nothing (just delete the tags) -->
<!--
-Should use information in colspec for @multitable
+ <tgroup>, <colspec>, <thead> <tbody>, <row> -> nothing
+ (just delete the tags)
+
+ Information from colspec was already used earlier for @multitable
-->
-<xsl:template match="tgroup|colspec|tbody|row">
+<xsl:template match="tgroup|colspec|thead|tbody|row">
<xsl:apply-templates/>
</xsl:template>
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r4541 - trunk/xsl.d | paul | 17 Jan |