[O] Escaping Square Brackets in LaTeX Export

2011-09-01 Thread Richard Lewis
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

Re: [O] Escaping Square Brackets in LaTeX Export

2011-09-01 Thread Erik Iverson
Richard, On 09/01/2011 06:24 AM, Richard Lewis wrote: 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 This works for me with both python and R code blocks on the latest version pulled from git. Which

Re: [O] Escaping Square Brackets in LaTeX Export

2011-09-01 Thread Jambunathan K
The problem is that org-mode treats s[0] as a footnote reference and produces LaTeX like this: Make sure your Org version is NEWER than this post. https://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg00447.html From the above post , | Footnotes cannot live anymore in example, src,

Re: [O] Escaping Square Brackets in LaTeX Export

2011-09-01 Thread Richard Lewis
At Thu, 01 Sep 2011 17:58:00 +0530, Jambunathan K wrote: The problem is that org-mode treats s[0] as a footnote reference and produces LaTeX like this: Make sure your Org version is NEWER than this post. https://lists.gnu.org/archive/html/emacs-orgmode/2011-07/msg00447.html From the