Author: jeremias
Date: Fri Aug 8 11:49:17 2008
New Revision: 684049
URL: http://svn.apache.org/viewvc?rev=684049&view=rev
Log:
Added support for "sub" and "sup" tags.
Issue: FOR-1087
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/status.xml
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl
URL:
http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl?rev=684049&r1=684048&r2=684049&view=diff
==============================================================================
---
forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl
(original)
+++
forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl
Fri Aug 8 11:49:17 2008
@@ -227,6 +227,18 @@
<xsl:apply-templates/>
</fo:inline>
</xsl:template>
+ <xsl:template match="sub">
+ <fo:inline vertical-align="sub">
+ <xsl:copy-of select="@id"/>
+ <xsl:apply-templates/>
+ </fo:inline>
+ </xsl:template>
+ <xsl:template match="sup">
+ <fo:inline vertical-align="super">
+ <xsl:copy-of select="@id"/>
+ <xsl:apply-templates/>
+ </fo:inline>
+ </xsl:template>
<xsl:template match="code">
<fo:inline font-family="{$monospace}">
<xsl:copy-of select="@id"/>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/status.xml
URL:
http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/status.xml?rev=684049&r1=684048&r2=684049&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/status.xml
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/status.xml Fri
Aug 8 11:49:17 2008
@@ -22,6 +22,7 @@
<person name="Thorsten Scherler" email="[EMAIL PROTECTED]" id="TS"/>
<person name="Ferdinand Soethe" email="[EMAIL PROTECTED]" id="FSO"/>
<person name="David Crossley" email="[EMAIL PROTECTED]" id="DC" />
+ <person name="Jeremias Märki" email="[EMAIL PROTECTED]" id="JM"/>
<person name="Volunteer needed" email="[EMAIL PROTECTED]" id="open"/>
</developers>
<!-- Define here the Title of the Context you want to display in the Changes
pages.
@@ -49,6 +50,10 @@
<release
version="0.3-dev"
date="not-released">
+ <action context="code" type="update" dev="JM" fixes-bug="FOR-1087"
+ importance="high">
+ Added support for "sub" and "sup" tags.
+ </action>
<action context="code" type="update" dev="DC" fixes-bug="FOR-1072"
due-to="Jeremias Maerki" importance="high">
Various bugfixes and improvements for the fo stylesheets. See notes in
FOR-1072.