You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by br...@apache.org on 2004/07/22 15:08:26 UTC
svn commit: rev 23149 - in forrest/trunk: . src/core/context/resources/stylesheets
Author: brondsem
Date: Thu Jul 22 06:08:25 2004
New Revision: 23149
Modified:
forrest/trunk/src/core/context/resources/stylesheets/docbook2document.xsl
forrest/trunk/status.xml
Log:
Generate proper html for figures in simplified docbook; fixes FOR-226
Modified: forrest/trunk/src/core/context/resources/stylesheets/docbook2document.xsl
==============================================================================
--- forrest/trunk/src/core/context/resources/stylesheets/docbook2document.xsl (original)
+++ forrest/trunk/src/core/context/resources/stylesheets/docbook2document.xsl Thu Jul 22 06:08:25 2004
@@ -545,12 +545,16 @@
<xsl:template match="figure">
<table>
- <tr>
- <td>
- <xsl:value-of select="title"/>
- </td>
- </tr>
- <xsl:apply-templates select="*[not(self::title)]"/>
+ <tr>
+ <td>
+ <xsl:value-of select="title"/>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <xsl:apply-templates select="*[not(self::title)]"/>
+ </td>
+ </tr>
</table>
</xsl:template>
@@ -563,24 +567,14 @@
</xsl:template>
<xsl:template match="graphic|imagedata">
- <table>
- <tr>
- <td>
- <img alt="{@srccredit}" src="{@fileref}"/>
- </td>
- </tr>
+ <img alt="{@srccredit}" src="{@fileref}"/>
<xsl:if test="@srccredit">
- <tr>
- <td>
- <ul>
- <li>
- <xsl:value-of select="@srccredit"/>
- </li>
- </ul>
- </td>
- </tr>
+ <ul>
+ <li>
+ <xsl:value-of select="@srccredit"/>
+ </li>
+ </ul>
</xsl:if>
- </table>
</xsl:template>
<xsl:template match="simplelist">
<ul>
Modified: forrest/trunk/status.xml
==============================================================================
--- forrest/trunk/status.xml (original)
+++ forrest/trunk/status.xml Thu Jul 22 06:08:25 2004
@@ -50,6 +50,9 @@
Added new document to facilitate
<link href="site:upgrading_06">upgrading to v0.6</link>
</action>
+ <action dev="DB" type="fix" context="core" due-to="Johannes Schaefer" fixes-bug="FOR-226">
+ Generate proper html for figures in simplified docbook.
+ </action>
<action dev="DC" type="update" context="core"
due-to="Rick Tessner" fixes-bug="FOR-174">
Have @class attribute in DTD for every tag, which enables the