[racket] Scribble: Different output for LaTeX and HTML backends

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Tue Dec 7 11:39:34 EST 2010

On Tue, Dec 7, 2010 at 11:30 AM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
> Define a Scribble function like this:
> (define (exact . items)
>  (make-element (make-style "identity" '(exact-chars))
>                items))
> (provide exact)

This relies on a Latex macro named \identity being defined earlier in
the document.  We might want to add this to the scribble prefix.

Probably there should be an alternate version for HTML (and for other backends).
sam th
samth at ccs.neu.edu

Posted on the users mailing list.