[plt-scheme] Scribble doc referring to another Scribble doc

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed May 26 11:09:29 EDT 2010

At Wed, 26 May 2010 10:45:29 -0400, Stephen Bloch wrote:
> 
> On May 26, 2010, at 10:26 AM, David Van Horn wrote:
> 
> > On 5/26/10 10:23 AM, Carl Eastlund wrote:
> >> On Wed, May 26, 2010 at 9:46 AM, David Van Horn<dvanhorn at ccs.neu.edu>  
> wrote:
> >>> How do you reference the 2htdp/image section of this document?  The various
> >>> things I've tried haven't worked and I couldn't find a good example of
> >>> #:tag-prefixes.
> >>> 
> >>> David
> >> 
> >> Ooh, I was going to say @secref[#:doc '(lib
> >> "teachpack/teachpack.scrbl") "image"], which should mean tag "image"
> >> in the teachpack documentation.  But there's two tags called "image",
> >> aren't there?  One for htdp/image and one for 2htdp/image.  Is that
> >> the problem you're running into?
> > 
> > Yes -- I am only able to reference htdp/image but not 2htdp/image.  But I 
> also can't reference universe, and there is only one tag for that (I think).
> 
> Yes, those are exactly the problems I was running into.  Matthew says there's 
> a bug in the interaction between #:doc and #:tag-prefixes, but gave me another 
> way that's working just fine:
> 
> @schememodlink[2htdp/image]{the image teachpack}
> @schememodlink[2htdp/universe]{the universe teachpack},

Sorry --- I missed that the discussion moved off-list yesterday.

The bug with mixing #:doc and #tag-prefixes is now fixed, but
`schememod' and `schememodlink' are better ways to refer to library
documentation.



Posted on the users mailing list.