This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: remove "Chapter" from titles
- From: "Juan R. Migoya" <jmigoya at ingeteam dot es>
- To: docbook-apps at lists dot oasis-open dot org
- Cc: Tim Terlegård <tim at se dot linux dot org>
- Date: Fri, 01 Feb 2002 08:28:37 +0100
- Subject: Re: DOCBOOK-APPS: remove "Chapter" from titles
- References: <200201311916.g0VJGKb05166@d1o982.telia.com>
I'm not sure if you are talking about headers. If this is the case, comment out
the expression
literal (gentext-element-name-space component)
in
(mode hf-mode ...
after
(if (equal? (gi component) (normalize "chapter"))
(you'll find it in dcompon.dsl).
If your question is about the title itself, find the declaration
(define ($component-title$)...
in the same file and comment out this line:
(literal (gentext-element-name-space (current-node))
in the part which make reference to "chapter".
HTH. Best Regards,
Juan R. Migoya
SPAIN
Tim Terlegård wrote:
> I don't want "Chapter" to appear in all the chapter titles. In dbparam.dsl I
> found:
> (define %chap-app-running-head-autolabel% #t)
>
> I changed to #f, but it had no effect. How can I remove "Chapter" from the
> titles?
>
> As a solution I also tried to add label="" to all <chapter> tags, but that
> resulted in the first digit in the enumeration was removed in all the section
> titles. Kinda weird I'd say :-)
>
> Cheers,
> Tim