[racket] Scribble: Different output for LaTeX and HTML backends
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