/ Baurjan Ismagulov <[EMAIL PROTECTED]> was heard to say:
| On Mon, Nov 26, 2001 at 07:45:27AM -0500, Norman Walsh wrote:
| > How does it break xrefs?
| 
| I want the chapter titles be in the form "1. Title", but references
| should still be "chapter 1" or "Chapter 1" (depending on the position in
| the sentence). After modifying dbl1en.ent, references become just
| "1". Would you like a test document?

No, I can see why that happens. Bleh. Just how complex does this whole
gentext thing have to get :-)

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).

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <[EMAIL PROTECTED]>      | All the good maxims already exist
http://www.oasis-open.org/docbook/ | in the world; we just fail to
Chair, DocBook Technical Committee | apply them.--Pascal

Reply via email to