Re: Numbering sections + erratum

Subject: Re: Numbering sections + erratum
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Thu, 30 Apr 1998 14:56:23 +0100
Trying to use Richard Lights preced-count, as defined in the cookbook,
as part of 'Numbering Sections'
http://www.mulberrytech.com/dsssl/dssslist/archive/1393.html

and wondered if the use of the text list was ever resolved.

this would seem to be the suggestd improvement.


(define countable-elements '("XXX" "YYY" "ZZZ"))
(define (preced-count node)
  (node-list-length
   (node-list-filter
    (lambda (nl)
     (if  (member? (gi nl) countable-elements) #t #f))
   (preced node))))
seems to be the suggested improvement from
Daniel Speck.

the only other query is,
which version of node-list-filter is it using?
the one from the standard, or the updated one from
the archive which has the fix for avoiding 
reversing the order of the nodes?
http://www.mulberrytech.com/dsssl/dssslist/archive/1395.html
As implemented I am only getting the top level numbering
i.e. without the second, third and fourth levels.


TIA,
DaveP


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Re: Numbering sections + erratum
    • Pawson, David - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA14656Thu, 30 Apr 1998 10:05:28 -0400 (EDT) <=