OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Re: customizing chapter labels


On Tue, Nov 27, 2001 at 05:35:13AM -0500, Norman Walsh wrote:
> No, I can see why that happens. Bleh. Just how complex does this whole
> gentext thing have to get :-)

yeah :).


> Here's a workaround. Not a pretty one, but...
> 
> Set Chapter to "" in your copy of dbl1en.ent then override the whole
> en-xref-strings function to include:
> 
> (define (en-xref-strings)
>     ...
> 	(list (normalize "chapter")     (if %chapter-autolabel%
> 					    "Chapter %n"
> 					    "the chapter called %t"))
>     ...)
> 
> (In the distribution, "Chapter" and "chapter" are entity references, just make
> them words in your version).

Thank you, I'll try this at home.

Seems that this is not too much different from my initial workaround: I
still need to duplicate code and update the customization layer if the
main stylesheet changes. Anyway, this is better than having people patch
their stylesheets.

Actually, it should not be very difficult to add a boolean like
%generate-chapter-title-labels% to print/dbparam.dsl. Would you be
interested in adding these to the stylesheets if I send you the diff?

With kind regards,
Baurjan.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC