From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Subject: Re: [orgmode 7.7] - Latex export problem with footnote, macro and code block evaluation Date: Wed, 5 Oct 2011 13:26:46 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBRmi-0001Ta-7S for emacs-orgmode@gnu.org; Wed, 05 Oct 2011 09:45:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBRmg-0006ly-WB for emacs-orgmode@gnu.org; Wed, 05 Oct 2011 09:45:20 -0400 Received: from lo.gmane.org ([80.91.229.12]:35830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBRmg-0006lW-MJ for emacs-orgmode@gnu.org; Wed, 05 Oct 2011 09:45:18 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RBRmT-0004Kj-Hw for emacs-orgmode@gnu.org; Wed, 05 Oct 2011 15:45:07 +0200 Received: from 192.196.142.22 ([192.196.142.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Oct 2011 15:45:05 +0200 Received: from roland.donat by 192.196.142.22 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Oct 2011 15:45:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello again, I just add some complements to the problem. First, here is a more compact buffer to reproduce the bug : == Cut here begin == # -*- coding: utf-8 -*- #+TITLE: Title #+AUTHOR: Roland #+OPTIONS: H:3 num:t toc:nil \n:nil @:t ::t |:t ^:{} f:t TeX:t author:t #+LaTeX_CLASS: article #+LaTeX_CLASS_OPTIONS: [a4paper,twoside,10pt] #+MACRO: TBL src_emacs-lisp[:var v=$1[$2,$3]]{v} #+TBLNAME: test-macro | 1 | 2 | | 3 | 4 | * A footnote A footnote [fn:1: yihaa!] * A macro The value (1,1) of table test-macro is {{{TBL(test-macro,1,1)}}}. * A code block latex #+begin_src latex $$a^{2} = b^{2} + c^{2}$$ #+end_src == cut here end == Remember if you try to export to latex, you get a "org-export-latex-preprocess: Wrong type argument: integer-or-marker-p, nil" message. But if you comment at least the content under one of the three headlines, it works. And I have just noticed that if you add a new headline, say "* test" after the latex source block, the export is done just fine without commenting anything. Please help me before I get crazy... Thanks. Roland.