From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lewis Subject: Escaping Square Brackets in LaTeX Export Date: Thu, 01 Sep 2011 12:24:52 +0100 Message-ID: <87mxeowlmj.wl%richard.lewis@gold.ac.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qz5ON-0004Ji-73 for emacs-orgmode@gnu.org; Thu, 01 Sep 2011 07:25:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qz5OM-0000UY-6y for emacs-orgmode@gnu.org; Thu, 01 Sep 2011 07:25:07 -0400 Received: from sif.gold.ac.uk ([158.223.16.10]:55421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qz5OM-0000QB-0L for emacs-orgmode@gnu.org; Thu, 01 Sep 2011 07:25:06 -0400 Received: from [158.223.51.88] (helo=fayrfax.doc.gold.ac.uk.gold.ac.uk) by sif.gold.ac.uk with esmtp id 1Qz5O9-0007UD-1N for emacs-orgmode@gnu.org; Thu, 01 Sep 2011 12:24:53 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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