[racket] [scribble] rendering of fractions

From: Eric Tanter (etanter at dcc.uchile.cl)
Date: Sat Nov 19 18:52:05 EST 2011

Thanks, this seemed to work (after adding a (begin ...) around), but then it turned out to be a nightmare of dependencies (snips, simple-settings, ...). 

So I'm giving up--it was not crucial anyway.

I'll patiently wait for a cute update ;-)

-- Éric


On Nov 19, 2011, at 3:42 PM, Matthew Flatt wrote:

> At Sat, 19 Nov 2011 13:41:33 -0300, Eric Tanter wrote:
>> More precisely here, how can I specify that I want a specific 
>> pretty-print-print-hook for the whole evaluator?
> 
> You'll need to set `current-print' to use `pretty-print'. Also set
> `pretty-print-size-hook' and `pretty-print-print-hook' imperatively:
> 
> @interaction-eval[
> #:eval my-eval
> (require racket/pretty)
> (current-print pretty-print-handler)
> (pretty-print-size-hook ....)
> (pretty-print-print-hook ....)
> ]
> 
> 




Posted on the users mailing list.