emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Bug in #+INCLUDE?


From: Andrea Crotti
Subject: [O] Bug in #+INCLUDE?
Date: Thu, 07 Jul 2011 11:30:50 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

I experienced a weird behavior when including a C++ file, and after an
update to the latest revision of org-mode the problem is still there.

It's very simple to reproduce, with a test.org and test.cpp file as
attached, trying to export to pdf (and latex) org-mode puts in the
output file "footnote definition not found".

The problem I think is that it tries to evaluate the footnote in
expressions like:
my_map[0] = 1;

But it should not since it's just a raw file inclusion.

Another thing since I'm here, I'm still seeing all the compilation
warnings relative to "interactive-p", but if I check the source code
where I see the warnings I see the new macro.

And I don't see how the macro can expand to interactive-p since already
the first condition is satisfied.
--8<---------------cut here---------------start------------->8---
     (if (or (> emacs-major-version 23)
--8<---------------cut here---------------end--------------->8---

my_map[0] = 1;
#+INCLUDE: "test.cpp" src C++
Org-mode version 7.6 (release_7.5.591.g9c05)
GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.7.0, NS apple-appkit-1038.35)
of 2011-06-24

reply via email to

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