|
Subject: Finding the preceeding node. From: Jon Haugsand <Jon.Haugsand@xxxxx> Date: 06 Jul 1999 19:11:16 +0200 |
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.
However, I don't seem to get this to work. Any suggestions?
By the way, how do you debug your dsssl specifications?
--
Jon Haugsand
Norwegian Computing Center, <http://www.nr.no/engelsk/>
<mailto:haugsand@xxxxx> Pho: +47 22852608 / +47 22852500,
Fax: +47 22697660, Pb 114 Blindern, N-0314 OSLO, Norway
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: About the declare-flow-object-c, Matthias Clasen | Thread | RE: Finding the preceeding node., Avi Kivity |
| RE: About the declare-flow-object-c, Didier PH Martin | Date | RE: Finding the preceeding node., Avi Kivity |
| Month |