[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] "Chapter" prefix with chapter title in docbook version 1.73.4 in PDF and HTML report
Hi,
I seem to get different results from you. I
just downloaded fresh copies of both versions, tested, and I get the same
results in both. In both 1.67.0 and 1.74.3, I get no "Chapter" prefix in
the table of contents, and I get the "Chapter" prefix at the start of the
chapter.
Are you using a customization layer? If so,
can you test with the stock stylesheet that the customization layer
imports? Is it possible that the original files in the 1.67.0 distribution
were edited? If you want to check a fresh download of 1.67.0, old
versions of the stylesheets are archived here:
To answer your question about fixing this, I can
tell you how to fix the title that appears at the start of the chapter.
You need to change a couple of generated text values. That process is
documented here:
Specifically you need to specify:
<l:context name="title">
<l:template name="chapter" text="%n.
%t"/>
</l:context>
and
<l:context
name="title-numbered">
<l:template name="chapter" text="%n.
%t"/>
</l:context>
I'm not sure how to fix the "Chapter" prefix in the
TOC because that is not standard behavior, so I don't know where it is coming
from.
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]