all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Gauland <mikelygee@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Exporting Source Blocks with Symbols
Date: Thu, 14 Jan 2016 04:45:03 +0000 (UTC)	[thread overview]
Message-ID: <loom.20160114T053828-815@post.gmane.org> (raw)

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	other threads:[~2016-01-14  4:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-14  4:45 Michael Gauland [this message]
2016-01-17 20:10 ` Exporting Source Blocks with Symbols Michael Gauland
2016-01-20  2:26   ` Grant Rettke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20160114T053828-815@post.gmane.org \
    --to=mikelygee@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.