emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] BUG: footnote conflicts with code export to pdf


From: Nick Dokos
Subject: Re: [O] BUG: footnote conflicts with code export to pdf
Date: Mon, 24 Oct 2011 15:01:28 -0400

zwz <address@hidden> wrote:


> >> Then you modify it:
> >> #+begin_src org
> >> * test
> >>   #+BEGIN_SRC c
> >>   void main(){
> >>     int a[5];
> >>   }
> >>   #+END_SRC
> >> #+end
> >> 
> >> It says "org-export-latex-preprocess: Wrong type argument: stringp,
> > nil"
> >> when you try to export the file.
> >> 
> >> 
> >
> > You didn't say what version of org you are using. I cannot reproduce it
> > in Org-mode version 7.7 (release_7.7.416.g93bd.dirty)
> >
> > Nick
> 
> I am using org-mode 7.7-1 (installed by pacman on Archlinux).
> 
> 

Just for future reference: this version does not exist in git, so it
doesn't tell me much. What does M-x org-version say? That's the
important thing (of course, the Archlinux people might have modified it
but it's still the best bet when reporting versions).

Be that as it may, I checked that release_7.7 had the problem, so I tried
a bisection and found that the fix is in the following commit:

,----
| commit c3631aae7e68565978433cad8c4a2b286e91dfac
| Author: Nicolas Goaziou <address@hidden>
| Date:   Sat Jul 30 12:38:06 2011 +0200
| 
|     org-footnote: prevent LaTeX export from catching footnotes in protect 
environment
|     
|     * lisp/org-footnote.el (org-footnote-in-valid-context-p): check
|       `org-protected' property before allowing to match a footnote.
|     (org-footnote-at-reference-p): remove an obsolete test. It's now done
|     in the previous function.
`----

Nick






reply via email to

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