Bug or insurmountable limitation? In the sample scribble/lp2 file below, the 
@racket[foo] reference at the end will *not* end up hyperlinked to the 
documentation for `foo` above it. I infer this is because `foo` and `bar` are 
treated as unbound identifiers.

If you add @(require (for-label "test.scrbl")) to the top, you get a 
loading-cycle error.



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; test.scrbl
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

#lang scribble/lp2
@(require scribble/manual)

@title[#:style manual-doc-style]{test.scrbl}

@chunk[<*>
  (provide foo bar)
  (define (foo) 42)
  (define (bar) (foo))]

@defproc[(foo) any/c] 
42.

@defproc[(bar) any/c] 
Like @racket[foo].

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to