--- On Wed, 2/1/13, Richard Henwood <[email protected]> wrote:
> Thanks for this prompt advice and
> guidance Bob.
> 
> What I'm noticing is with the recipe for section below, the
> line number in the section toc entry is omitted. I've played
> around with various configurations to try and fix this: if
> you have any further advice, I would be grateful!
> 

Answering my own question:
It seems I need to include the $id into a new block - or at least, this worked 
for me:

<xsl:template match="d:section">
  <xsl:variable name="id">
    <xsl:call-template name="object.id"/>
  </xsl:variable>
    <xsl:message>found section</xsl:message>
    <xsl:call-template name='section.titlepage'/>
    <fo:block id="{$id}">
        <fo:external-graphic src="section.png"/>
    </fo:block>
    <xsl:apply-templates/>
</xsl:template>

cheers,
Richard

<snip previous correspondence>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to