[racket] Trouble using make-base-eval

From: Greg Hendershott (greghendershott at gmail.com)
Date: Mon Mar 3 20:32:19 EST 2014

Or this:

#lang scribble/manual
@(require scribble/eval)
@(define some-eval
   (make-base-eval))
@(require racket)

On Mon, Mar 3, 2014 at 8:29 PM, Greg Hendershott
<greghendershott at gmail.com> wrote:
> I get the same error with your code. It looks like there's a
> #:pretty-print arg that defaults to #t. If I set it #f it works for
> me:
>
> #lang scribble/manual
> @(require scribble/eval)
> @(define some-eval
>    (make-base-eval #:lang 'racket
>                    #:pretty-print? #f))
>
>
> On Mon, Mar 3, 2014 at 8:09 PM, David Van Horn <dvanhorn at cs.umd.edu> wrote:
>> I was just dusting off old notes I have written in scribble that used to
>> work, but now I get an error, which I've boiled down to the following
>> example:
>>
>> $ cat try.scrbl
>> #lang scribble/manual
>> @(require scribble/eval)
>> @(define some-eval
>>    (make-base-eval #:lang 'racket))
>>
>> $ scribble --pdf try.scrbl
>> namespace-attach-module: a different module with the same name is
>> already in the destination namespace
>>   module name:
>> "/Users/dvanhorn/git/racket/racket/collects/racket/pretty.rkt"
>>   context...:
>>
>> /Users/dvanhorn/git/racket/pkgs/scribble-pkgs/scribble-lib/scribble/eval.rkt:342:4
>>
>> /Users/dvanhorn/git/racket/racket/collects/racket/private/more-scheme.rkt:147:2:
>> call-with-break-parameterization
>>    /Users/dvanhorn/git/racket/pkgs/sandbox-lib/racket/sandbox.rkt:833:5:
>> loop
>>
>> This is on 6.0.0.2--2014-02-04.
>>
>> Is this something that should work, or have I done something wrong.  Is
>> there some way for me to work around the pretty.rkt issue?
>>
>> Thanks,
>> David
>> ____________________
>>   Racket Users list:
>>   http://lists.racket-lang.org/users

Posted on the users mailing list.