From a85438bc6950351c6372b18daf53a2baacb2d9f4 Mon Sep 17 00:00:00 2001 From: Vincent St-Amour Date: Fri, 31 Aug 2012 19:31:20 -0400 Subject: [PATCH] Add comment about the current state of the latex character table. --- collects/scribble/latex-render.rkt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/collects/scribble/latex-render.rkt b/collects/scribble/latex-render.rkt index da8c11d6ed..e9f145c07d 100644 --- a/collects/scribble/latex-render.rkt +++ b/collects/scribble/latex-render.rkt @@ -785,6 +785,11 @@ [(#\uDF) "{\\ss}"] [else (if ((char->integer c) . > . 127) + ;; latex-prefix.rkt enables utf8 input, but this does not work for + ;; all the characters below (e.g. ∞). Some parts of the table + ;; below are therefore necessary, but some parts probably are not. + ;; Which parts are necessary may depend on the latex version, + ;; though, so we keep this table around to avoid regressions. (case c [(#\u2011) "\\mbox{-}"] ; non-breaking hyphen [(#\uB0) "$^{\\circ}$"] ; degree