emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: export failed when using footnotes inside src blocks [7.7]


From: Nick Dokos
Subject: Re: [O] Bug: export failed when using footnotes inside src blocks [7.7]
Date: Sat, 30 Jul 2011 05:58:23 -0400

Jambunathan K <address@hidden> wrote:

> Nick Dokos <address@hidden> writes:
> 
> > Günter Kolousek <address@hidden> wrote:
> >
> >> 
> >> Hi, using footnotes i.e. [2] inside #+begin_src #+end_src causes errors
> >> during export using orgmode 7.7 and tip.
> >> 
> >> Günter
> >> 
> >> ...
> >> 
> >> * Test
> >>   foo
> >>   #+begin_src python
> >>   lst = [-1, -2, 2, -3, -4]
> >> 
> >>   for x in lst[:]:
> >>       if x < 0:
> >>           lst.remove(x)
> >> 
> >>   print(lst) # [2] <- does not work!
> >>   #+end_src
> >> 
> 
> This should set the thing to rest.
> 

Acctually, no: I took the OP's request (and I presume I misled you into
thinking that too) as a functionality request, but I didn't read it
carefully enough.  I think he is complaining about getting an error (see
the attached backtrace).

Nick

Attachment: foo.bt
Description: backtrace

> ,----[ 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")
> | 
> | 
> | Documentation:
> | Names of blocks where footnotes are not allowed.
> | 
> | [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.
> 

reply via email to

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