From: zwz <zhangweize@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: BUG: footnote conflicts with code export to pdf
Date: Tue, 25 Oct 2011 21:54:15 +0800 [thread overview]
Message-ID: <87vcrddvnc.fsf@gmail.com> (raw)
In-Reply-To: 7414.1319482888@alphaville.americas.hpqcorp.net
Nick Dokos <nicholas.dokos@hp.com> writes:
> zwz <zhangweize@gmail.com> 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 <n.goaziou@gmail.com>
> | 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
Thanks for pointing this out.
Now I get the latest org, and it is smooth.
prev parent reply other threads:[~2011-10-25 13:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-23 2:55 BUG: footnote conflicts with code export to pdf zwz
2011-10-23 3:02 ` Nick Dokos
2011-10-24 6:23 ` zwz
2011-10-24 19:01 ` Nick Dokos
2011-10-25 13:54 ` zwz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vcrddvnc.fsf@gmail.com \
--to=zhangweize@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.