You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ah...@apache.org on 2005/08/15 01:42:10 UTC

svn commit: r232674 - in /maven/maven-1/plugins/trunk/pdf: src/plugin-resources/fo-body.xslt xdocs/changes.xml

Author: aheritier
Date: Sun Aug 14 16:42:04 2005
New Revision: 232674

URL: http://svn.apache.org/viewcvs?rev=232674&view=rev
Log:
MPPDF-43 : sub-/superscripts do not work.

Modified:
    maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt
    maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml

Modified: maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt?rev=232674&r1=232673&r2=232674&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt (original)
+++ maven/maven-1/plugins/trunk/pdf/src/plugin-resources/fo-body.xslt Sun Aug 14 16:42:04 2005
@@ -511,7 +511,7 @@
   <xsl:template match="sub">
     <xsl:param name="chapterNumber"/>
     <xsl:param name="fileName"/>
-    <fo:inline baseline-shift="sub">
+    <fo:inline vertical-align="sub" font-size="66%">
       <xsl:apply-templates>
         <xsl:with-param name="chapterNumber">
           <xsl:value-of select="$chapterNumber"/>
@@ -525,7 +525,7 @@
   <xsl:template match="sup">
     <xsl:param name="chapterNumber"/>
     <xsl:param name="fileName"/>
-    <fo:inline baseline-shift="super">
+    <fo:inline vertical-align="super" font-size="66%">
       <xsl:apply-templates>
         <xsl:with-param name="chapterNumber">
           <xsl:value-of select="$chapterNumber"/>
@@ -553,7 +553,6 @@
   <xsl:template match="code[@class='indent']">
     <xsl:param name="chapterNumber"/>
     <xsl:param name="fileName"/>
-    <!--
     <fo:block xsl:use-attribute-sets="code.indent">
       <xsl:apply-templates>
         <xsl:with-param name="chapterNumber">
@@ -564,7 +563,6 @@
         </xsl:with-param>
       </xsl:apply-templates>
     </fo:block>
--->
   </xsl:template>
   <xsl:template match="var">
     <xsl:param name="chapterNumber"/>

Modified: maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml?rev=232674&r1=232673&r2=232674&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/pdf/xdocs/changes.xml Sun Aug 14 16:42:04 2005
@@ -24,6 +24,7 @@
   </properties>
   <body>
     <release version="2.3.1-SNAPSHOT" date="In SVN">
+      <action dev="aheritier" type="fix" issue="MPPDF-43" due-to="Lukas Theussl">sub-/superscripts do not work.</action>
       <action dev="aheritier" type="fix" issue="MPPDF-42" due-to="Lukas Theussl">Error when logo locations are not set.</action>
       <action dev="aheritier" type="fix" issue="MPPDF-41" due-to="Lukas Theussl">Suppress verbose output by default.</action>
       <action dev="aheritier" type="fix" issue="MPPDF-39" due-to="Lukas Theussl">Missing patch for MPPDF-24 ( it defines a missing attribute for &lt;code style="indent"&gt; tags and cleans up some layout issues with definition lists).</action>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org