[racket] [scribble] rendering of fractions
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 ....)
]