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

From: Stephen Bloch (sbloch at adelphi.edu)
Date: Wed May 26 10:45:29 EDT 2010

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},

Stephen Bloch
sbloch at adelphi.edu

Posted on the users mailing list.