[racket] [scribble] rendering of fractions

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Nov 19 13:42:38 EST 2011

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:

 #: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.