[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Removing blank space in chapter TOC
Hi Dave,
The template with match="d:chapter" in
fo/comonent.xsl calls the template named 'component.toc', which resides in
fo/autotoc.xsl. In the component.toc template, the main fo:block has
xsl:use-attribute-sets="toc.margin.properties". That attribute-set is in
fo/param.xsl and includes space-before properties.
I see that you also include a toc title, so the
component.toc template also calls the template named
'table.of.contents.titlepage'. That template is part of the titlepage spec
system based on processing the titlepage.templates.xml specification file into a
customized titlepage module titlepage.templates.xsl. If you look in
titlepage.templates.xml, you will find:
<t:titlepage
t:element="table.of.contents" ...>
Even though 'table.of.contents' is not an element,
is it treated as a fake element in the titlepage system. In that
specification, the <title> element has
space-before properties. That would be a second source of space above your
toc.
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]