Subject: RE: Finding the preceeding node. From: Avi Kivity <Avi@xxxxxxxxxxxxx> Date: Tue, 6 Jul 1999 21:14:54 +0300 |
On Tuesday, July 06, 1999 20:11, Jon Haugsand [SMTP:Jon.Haugsand@xxxxx] wrote: > In order to make a horisontal link in my document structure where > chapters, sections, etc. are on separate files, I have the > following > construction: > > (define *kap-ent* '("KAPITTEL" "DEFINISJONER" "REFERANSE" > "REFLIST")) > (define (preceeding-chapter > (node-list-last (node-list-filter > (lambda (x) (member (gi x) *kap-ent*)) > (preced (current-node)))))) > > > The idea is to pick out the preceeding node that is chapter like. This seems right. > However, I don't seem to get this to work. Any suggestions? > Perhaps you're never calling it when (current-node) is after one of these. > By the way, how do you debug your dsssl specifications? > with (debug) and (my-debug). --- "The only words which have meaning are the last ones spoken" DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Finding the preceeding node., Jon Haugsand | Thread | Transformation language, Jose Luis Sierra Rod |
Finding the preceeding node., Jon Haugsand | Date | RE: About the declare-flow-object-c, Frank A. Christoph |
Month |