Subject: Re: Numbering and TOC From: Lionel Mallet <l.mallet@xxxxxxxxxxxxx> Date: Fri, 18 Sep 1998 13:54:29 +0200 |
On Fri, 18 Sep 1998 06:47:49 EDT, Norman Walsh <ndw@xxxxxxxxxx> wrote: > First, let me agree that DocBook is very loose. For everyone except a May I say something? OK, I'll do it anyway;-) THANKS! I think your suggestion covers my requirements quite well. A couple of comments though. First I'm not sure component-number-restart-list and component-number-ignore-list are really orthogonal. Especially reading your comment: > ;; Basically, if you skip up past a component/division element in > ;; the restart list, you better put the element(s) you skipped in > ;; the ignore list or the stylesheet may never see your component > ;; when it's trying to do the numbering. it seems that those functions will most often return the same list. Actually I don't really understand the difference between both functions. Finally, I think you simplify a little bit the user interface for the following customisations: > (define (chapter-number-sibling-list cmp) > (list (gi cmp) (normalize "reference"))) > (define (reference-number-sibling-list cmp) > (list (gi cmp) (normalize "chapter"))) I would hope that in any case the elements of the same type as the component are considered as siblings. So I would rather write: (define (chapter-number-sibling-list cmp) (list (normalize "reference"))) (define (reference-number-sibling-list cmp) (list (normalize "chapter"))) listing only the additions to the current type. As you can see those are rather minor points. And they would lead to simplifying your code. Regards, -- Lionel Mallet E-mail: l.mallet@xxxxxxxxxxxxx DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Numbering and TOC [was Re: Modu, Norman Walsh | Thread | Re: Numbering and TOC, Norman Walsh |
Re: Numbering and TOC [was Re: Modu, Norman Walsh | Date | Re: Numbering and TOC, Norman Walsh |
Month |