[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Exporting Source Blocks with Symbols

From: Michael Gauland
Subject: [O] Exporting Source Blocks with Symbols
Date: Thu, 14 Jan 2016 04:45:03 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

I've become fond of using Greek symbols in my R code (mu, sigma, etc). R
handles these just fine, but most of them disappear in the listing when I
export to LaTeX (lower-case mu comes through OK). I think the basic problem
is the the listings package can't handle the characters. I've come across
some ideas for coping with this in LaTeX, but they involve modifying the
source (e.g., escaping the symbols to math mode). Of course if I do that, R
won't know what to do with the characters.

Any suggestions? Does babel provide any hooks for pre-processing source
blocks for export? I didn't find any, but I often miss what's right in front
of me (just ask my wife!).

Kind Regards,
Michael Gauland

reply via email to

[Prev in Thread] Current Thread [Next in Thread]