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: Jambunathan K
Subject: Re: [O] Bug: export failed when using footnotes inside src blocks [7.7]
Date: Sat, 30 Jul 2011 14:49:41 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

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.

,----[ 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]