[racket] require and provide from scrbl files?

From: Stephen Chang (stchang at ccs.neu.edu)
Date: Fri Nov 21 14:52:21 EST 2014

Ok so if I want to share common code between scribble files, I should
probably define and provide them in a plain Racket file?

On Fri, Nov 21, 2014 at 2:48 PM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
>
> 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.