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] Chapter TOC


In the match="chapter" template in fo/component.xsl, you'll see this:

      <xsl:if test="contains($toc.params, 'toc')">
        <xsl:call-template name="component.toc"/>
        <xsl:call-template name="component.toc.separator"/>
      </xsl:if>

The 'component.toc.separator' template is an empty placeholder that can be
customized.
It also applies to any other component elements (appendix, preface, etc.)
that have a toc.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Zbyszek Cybulski" <z.cybulski@gmail.com>
To: "Bob Stayton" <bobs@sagehill.net>
Cc: "DocBook Apps" <docbook-apps@lists.oasis-open.org>
Sent: Thursday, October 13, 2005 11:29 PM
Subject: Re: [docbook-apps] Chapter TOC


I've filed a bug report for this problem.

Another question a bit related to this one.

Is there any way to visually separate the chapter TOC from the body
text? I mean an additional leading space or a horizontal line after
the TOC.

Thanks,

-Z

On 10/14/05, Bob Stayton <bobs@sagehill.net> wrote:
> Well, it appears that this feature is implemented only on the HTML side,
not
> the FO side.  I think you should file a bug report on the SourceForge
site:
>
> http://sourceforge.net/docman/display_doc.php?docid=27830&group_id=21935
>
> Bob Stayton
> Sagehill Enterprises
> DocBook Consulting
> bobs@sagehill.net
>
>
> ----- Original Message -----
> From: "Zbyszek Cybulski" <z.cybulski@gmail.com>
> To: "DocBook Apps" <docbook-apps@lists.oasis-open.org>
> Sent: Thursday, October 13, 2005 2:53 AM
> Subject: [docbook-apps] Chapter TOC
>
>
> Hi,
>
> my customization layer contains the following:
>
> <xsl:param name="generate.toc">
>         book toc,title
>     chapter toc
>     </xsl:param>
>
> since I want the chapter TOC without the generated text (Table of
Contents).
>
> However, the generated TOC title appears in PDF, no matter how the
> parameter is set: "chapter toc" or "chapter toc,title".
>
> My toolchain is:
> DTD 4.4, XSL 1.69.1-snapshot (dated 2005.09.26) and XEP 4.4, all under
> Oxygen 6.2/Win
>
> Can anyone help?
>
> Thanks,
>
> -Z
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>
>
>





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