Re: DOCBOOK-APPS: remove "Chapter" from titles

From
"Kuan Q. [igoya"
Date
2002-02-01T07:34:05+00:00
ID
Thread
Re: DOCBOOK-APPS: remove "Chapter" from titles
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緳d 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