[racket] require and provide from scrbl files?

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Fri Nov 21 14:48:17 EST 2014

Scribble does not linguistically inherit Racket's modules. 
But you can try (prefix-in ..) and then access doc that way. 
I did this for last year's course page in scribble. 



On Nov 21, 2014, at 2:34 PM, Stephen Chang <stchang at ccs.neu.edu> wrote:

> Is this allowed?
> 
> 
> File A.scrbl:
> 
> #lang scribble/manual
> 
> 
> File B.scrbl:
> 
> #lang scribble/manual
> 
> @(require "A.scrbl")
> 
> 
> Right now when I run B, I get the error:
> 
> module: identifier is already imported in: doc
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users


Posted on the users mailing list.