From: Richard Lewis <richardlewis@fastmail.co.uk>
To: emacs-orgmode@gnu.org
Subject: Escaping Square Brackets in LaTeX Export
Date: Thu, 01 Sep 2011 12:24:52 +0100 [thread overview]
Message-ID: <87mxeowlmj.wl%richard.lewis@gold.ac.uk> (raw)
Hi there,
I want to include the following in an org-mode buffer and be able to
export it to LaTeX:
#+begin_src python :exports code
s[0]
#+end_src
The problem is that org-mode treats s[0] as a footnote reference and
produces LaTeX like this:
\begin{verbatim}
s\footnote{DEFINITION NOT FOUND: 0 }
\end{verbatim}
Is it possible to escape the square brackets?
Thanks,
Richard
next reply other threads:[~2011-09-01 11:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-01 11:24 Richard Lewis [this message]
2011-09-01 12:07 ` Escaping Square Brackets in LaTeX Export Erik Iverson
2011-09-01 12:28 ` Jambunathan K
2011-09-01 15:44 ` Richard Lewis
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=87mxeowlmj.wl%richard.lewis@gold.ac.uk \
--to=richardlewis@fastmail.co.uk \
--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.