From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Bug: export failed when using footnotes inside src blocks [7.7] Date: Sat, 30 Jul 2011 14:49:41 +0530 Message-ID: <81tya4unv6.fsf@gmail.com> References: <4E33BF33.2050508@htlwrn.ac.at> <7790.1312016444@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn5iL-0003p6-5E for emacs-orgmode@gnu.org; Sat, 30 Jul 2011 05:20:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qn5iI-0002iB-Oa for emacs-orgmode@gnu.org; Sat, 30 Jul 2011 05:20:09 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:61702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn5iI-0002hB-LK for emacs-orgmode@gnu.org; Sat, 30 Jul 2011 05:20:06 -0400 Received: by iyb14 with SMTP id 14so6192635iyb.0 for ; Sat, 30 Jul 2011 02:20:05 -0700 (PDT) In-Reply-To: <7790.1312016444@alphaville.dokosmarshall.org> (Nick Dokos's message of "Sat, 30 Jul 2011 05:00:44 -0400") 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: ko@htlwrn.ac.at Cc: emacs-orgmode@gnu.org Nick Dokos writes: > G=FCnter Kolousek wrote: > >>=20 >> Hi, using footnotes i.e. [2] inside #+begin_src #+end_src causes errors >> during export using orgmode 7.7 and tip. >>=20 >> G=FCnter >>=20 >> ... >>=20 >> * Test >> foo >> #+begin_src python >> lst =3D [-1, -2, 2, -3, -4] >>=20 >> for x in lst[:]: >> if x < 0: >> lst.remove(x) >>=20 >> print(lst) # [2] <- does not work! >> #+end_src >>=20 This should set the thing to rest. ,----[ C-h v org-footnote-forbidden-blocks RET ] | org-footnote-forbidden-blocks is a variable defined in `org-footnote.el'. | Its value is | ("example" "verse" "src" "ascii" "beamer" "docbook" "html" "latex" "odt") |=20 |=20 | Documentation: | Names of blocks where footnotes are not allowed. |=20 | [back] `---- OP can search for for alternative ways to reference code block lines in the following section of the manual http://orgmode.org/org.html#Literal-examples (Hint: Search for ref:jump) Jambunathan K.