This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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å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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]