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] | [List Home]


Subject: Re: [docbook-apps] ANT HMTL Conversion with Oxygen: Shifting theList of Figures and List of Tables into an appendix in webhelp



The order of output is pretty much determined by the template that matches on the root element.  For example, the template with match="d:book" in html/divison.xsl includes:
 
   <xsl:call-template name="make.lots">
      <xsl:with-param name="toc.params" select="$toc.params"/>
      <xsl:with-param name="toc">
        <xsl:call-template name="division.toc">
          <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
        </xsl:call-template>
      </xsl:with-param>
    </xsl:call-template>
 
    <xsl:apply-templates/>
 
If you put the <xsl:apply-templates/> before the call to 'make.lots', then those will appear after the content. If you want to keep the TOC at the front, though, then separate the call to 'division.toc' to keep it first and don't include it in the call to 'make.lots'.
 
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
 
 
----- Original Message -----
Sent: Thursday, February 16, 2012 1:50 AM
Subject: [docbook-apps] ANT HMTL Conversion with Oxygen: Shifting theList of Figures and List of Tables into an appendix in webhelp


Hi,

during our DB customisation we realised it would be best to shift the LoT and LoF to the appendix/ attachment in the back of our documents.

Therefore, we customized the template d:appendix from <docbook>/xsl/fo :

<fo:block id="{$id}" xsl:use-attribute-sets="component.titlepage.properties">
                    <xsl:call-template name="appendix.titlepage"/>
                    <xsl:if test="not(preceding::d:appendix)">
                        <xsl:call-template name="list.of.titles">
                            <xsl:with-param name="titles" select="'figure'"/>
                            <xsl:with-param name="nodes" select="//d:figure"/>
                        </xsl:call-template>
                    </xsl:if>
                    <xsl:if test="count(preceding::d:appendix)= 1">
                        <xsl:call-template name="list.of.titles">
                            <xsl:with-param name="titles" select="'table'"/>
                            <xsl:with-param name="nodes" select="//d:table"/>
                        </xsl:call-template>
                    </xsl:if>                
  </fo:block>

This worked out pretty well, but now, since we are customizing the HTML/ XHTML output webhelp using ANT transformation to meet our expectations, 
d:appendix does not seem the  right place to make the adjustment.

Does anyone have a clue how to shift the LoT and LoF to the "Back" or, precisely speaking, to a custom destination?

Greetings,

Daniel

=======================================================
Disclaimer
The information contained in this e - mail and any attachments
( together the "message") is intended for the addressee only and may
contain confidential and/or privileged information. If you have received
the message by mistake please delete it and notify the sender and do
not copy or distribute it or disclose its contents to anyone.

FINARIS Financial Software Partner GmbH
Sömmerringstr. 23, 60322 Frankfurt/Main, Germany
Registered at Frankfurt/Main, HRB 52873

Managing Directors:
Dipl. Inf. Hermann Friebel, Dipl. Ing. Kai Bächle, Dipl. Inf. Werner Märkl
=======================================================


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