This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Literals and strings?!?


On Fri, Jun 21, 2002 at 08:48:08AM -0600, Gre7g Luterman wrote:
> > That's line 28, 23th character (not column 23, beware of tabs).  Is
> > that one of the lines you show ?  I'd suppose the problem is somewhere
> > else. 
> 
> Sorry for not including it.  That section is this definition:
> 
> (define (generate-anchor #!optional (nd (current-node)))
>   (string-append "AEN" (number->string (all-element-number nd))))

Looks like (all-element-number nd) returned #f, that is (intuitively),
either nd is not an element node, or there is a bug in the jade
version you're using.

Which version are you using ?

To see what happens, you can insert a (debug) call, like:

(define (generate-anchor #!optional (nd (current-node)))
  (string-append "AEN" (number->string (all-element-number (debug nd)))))

And call (open)jade with -d to get the backtrace on error.  Using
openjade 1.4devel here will give you even more debugging info.

HTH,
-- 
Yann Dirson <Yann.Dirson@fr.alcove.com>                 http://www.alcove.com/
Technical support manager                Responsable de l'assistance technique
Senior Free-Software Consultant          Consultant senior en Logiciels Libres
Debian developer (dirson@debian.org)                        Développeur Debian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]