emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [orgmode 7.7] - Latex export problem with footnote, macro and co


From: Roland
Subject: Re: [O] [orgmode 7.7] - Latex export problem with footnote, macro and code block evaluation
Date: Wed, 5 Oct 2011 13:26:46 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.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.




reply via email to

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