OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: DOCBOOK-APPS: Units in fo -> rtf using jfor

Thanks, I learned a lot while implementing that customization (see my
attempt below) ;-))

Well, as there are no % units any more jfor now suggests to replace
the em units as well ...


   <xsl:if test="not(substring($page.width,1,3) = 210) or
                 not(substring($page.margin.inner,1,1) = 1) or
                 not(substring($page.margin.outer,1,1) = 1)">

     <xsl:message terminate="yes">
     Alloha unexpected page sizes:

     page.width <xsl:value-of select="substring($page.width,1,3)"/>
     page.margin.inner <xsl:value-of select="substring($page.margin.inner,1,1)"/>
     page.margin.outer <xsl:value-of select="substring($page.margin.outer,1,1)"/>

   <xsl:param name="eg_unit"       select="'mm'"/>
   <xsl:param name="eg_blockwidth"
             - substring($page.margin.inner,1,1) * 2.54
             - substring($page.margin.outer,1,1) * 2.54"/>
   <xsl:param name="eg_colwidth_1" select="concat($eg_blockwidth * 0.33,$eg_unit)"/>
   <xsl:param name="eg_colwidth_2" select="concat($eg_blockwidth * 0.34,$eg_unit)"/>
   <xsl:param name="eg_colwidth_3" select="concat($eg_blockwidth * 0.33,$eg_unit)"/>
   <xsl:param name="eg_blockwidth_u" select="concat($eg_blockwidth,$eg_unit)"/>
Ekkehard Görlach                    Tumringerstrasse 287
e.goerlach@computer.org             D-79539 Lörrach

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC