Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/MPDOCBOOK-3 Here is an overview of the issue: --------------------------------------------------------------------- Key: MPDOCBOOK-3 Summary: Footnotes not transformed properly Type: Bug Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-docbook-plugin Assignee: Reporter: Kim Goings Created: Thu, 26 Aug 2004 4:09 PM Updated: Thu, 26 Aug 2004 4:09 PM Environment: docbook-plugin-1.2, maven 1.0, OSX Description: As expected, footnotes are placed at the bottom of the transformed xdoc. However, they are not wrapped in a section or p tag, so when the xdoc goal runs, it simply ignores them and they aren't added to the HTML. Formatting is subjective, but here's a suggested fix: Old: <xsl:apply-templates select="//footnote" mode="base"/> New: <xsl:if test="//footnote"> <section name="Notes"> <xsl:apply-templates select="//footnote" mode="base"/> </section> </xsl:if> && Old: <xsl:template match="footnote" mode="base"> <a name="{generate-id(.)}"/><xsl:value-of select="generate-id(.)"/><xsl:text>) </xsl:text><i><xsl:value-of select="."/></i> </xsl:template> New: <xsl:template match="footnote" mode="base"> <subsection><a name="{generate-id(.)}"><xsl:value-of select="generate-id(.)"/><xsl:text>) </xsl:text></a><i><xsl:value-of select="."/></i></subsection> </xsl:template> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
