emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Escaping Square Brackets in LaTeX Export


From: Richard Lewis
Subject: [O] Escaping Square Brackets in LaTeX Export
Date: Thu, 01 Sep 2011 12:24:52 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

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



reply via email to

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