[racket-dev] [scribble] Unicode in exact-chars elements

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Wed Jan 4 11:08:54 EST 2012

I think you could find out how far away we are from that by using
'scribble --latex' and then running xetex on the output file. You may
be lucky and we may be close....

Robby

On Wed, Jan 4, 2012 at 9:31 AM, J. Ian Johnson <ianj at ccs.neu.edu> wrote:
> I've been writing a paper in scribble, dropping to LaTeX every so often to write in native math mode. I notice that unicode characters don't show up. I've ripped off display-protected from latex-render.rkt, removed the latex command syntax escaping (so I can have backslashes, underscores and carets) and every time I have a new unicode character I want to use, I have to add to the big case expression. I then translate all elements before putting them in the exact-chars element. I don't know how to wrap delayed and part-relative elements, but I haven't needed to yet.
>
> What's worse is that I have to do a 1 character look-ahead for composing characters such as \hat{#1} and \tilde{#1} (\u0302 \u0303).
> This is getting tiring, and from a short Googling I found that we could be using XeTeX as the backend instead to get direct unicode support. Are there plans for a XeTeX backend? I'm not sure how much work that would be as I don't know the subtle differences between it and LaTeX.
>
> I'll keep doing my dispatching for now, I'm just curious.
> Thanks,
> -Ian
> _________________________
>  Racket Developers list:
>  http://lists.racket-lang.org/dev



Posted on the dev mailing list.