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

From: David Van Horn (dvanhorn at ccs.neu.edu)
Date: Wed May 26 09:46:18 EDT 2010

On 5/25/10 8:21 AM, Matthew Flatt wrote:
> A documented is identified by its main module. So, instead of
>
>   '(lib "teachpack/2htdp/scribblings/2htdp.scrbl")
>
> use
>
>   '(lib "teachpack/teachpack.scrbl")

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


> At Tue, 25 May 2010 06:51:46 -0400, Stephen Bloch wrote:
>> How do I put a hot-link in a Scribble document to another (standard, bundled)
>> Scribble document?
>>
>> There's an example in the doc that looks like
>> @secref[#:doc '(lib "scribblings/reference/reference.scrbl") "concurrency"]
>> or
>> @seclink[#:doc '(lib "scribblings/reference/reference.scrbl") "concurrency"
>> "dummy link"]
>> which both work: they produce perfectly good HTML hotlinks.
>>
>> But when I try to extend that analogy to a different library, like
>> @secref[#:doc '(lib "teachpack/2htdp/scribblings/2htdp.scrbl") "image"],
>> @secref[#:doc '(lib "teachpack/2htdp/scribblings/2htdp.scrbl") "universe"],
>> @seclink[#:doc '(lib "teachpack/2htdp/scribblings/2htdp.scrbl") "image" "the
>> image teachpack"], or
>> @seclink[#:doc '(lib "teachpack/2htdp/scribblings/2htdp.scrbl") "universe"
>> "the universe teachpack"],
>> the generated HTML code looks like
>> <font class="badlink">(part ("(lib teachpack/2htdp/scribblings/2htdp.scrbl)"
>> "image"))</font>
>> or, at best,
>> <font class="badlink">the image teachpack</font>.
>>
>> Stephen Bloch
>> sbloch at adelphi.edu
>> _________________________________________________
>>    For list-related administrative tasks:
>>    http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> _________________________________________________
>    For list-related administrative tasks:
>    http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.