Nick Dokos <[email protected]> writes:
> Günter Kolousek <[email protected]> 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.