This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

XSL 1.60.1 Revisionhistory fix for FOP


Hi

With the 1.60.1 release of the Docbook XSL Stylesheets FOP works better
with the proportional-column-width() However revhistory is using tables
and fo/block.xsl needs to be changed as well. I have added the necessary
template to the project page

http://sourceforge.net/tracker/index.php?func=detail&aid=678100&group_id=21935&atid=373749

and the template should look like as follows


<xsl:template match="revhistory">
 <fo:table table-layout="fixed" width="100%">
   <fo:table-column column-number="1" column-width="proportional-column-width(1)"/>
   <fo:table-column column-number="2" column-width="proportional-column-width(1)"/>
   <fo:table-column column-number="3" column-width="proportional-column-width(1)"/>
   <fo:table-body>
     <fo:table-row>
       <fo:table-cell number-columns-spanned="3">
         <fo:block>
           <xsl:call-template name="gentext">
             <xsl:with-param name="key" select="'RevHistory'"/>
           </xsl:call-template>
         </fo:block>
       </fo:table-cell>
     </fo:table-row>
     <xsl:apply-templates/>
   </fo:table-body>
 </fo:table>
</xsl:template>

--

Togan Muftuoglu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]