emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Roland <roland.donat@gmail.com>
To: emacs-orgmode@gnu.org
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)	[thread overview]
Message-ID: <loom.20111005T152527-624@post.gmane.org> (raw)
In-Reply-To: CAJEMt_raqgL_MnDWwz1k0WtGwNtC-ozLFPL95Fnv8RK-NQeRzQ@mail.gmail.com

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	other threads:[~2011-10-05 13:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-05 12:15 [orgmode 7.7] - Latex export problem with footnote, macro and code block evaluation Roland Donat
2011-10-05 13:26 ` Roland [this message]
2011-10-05 14:46   ` Nicolas Goaziou
2011-10-05 19:48     ` Roland Donat
2011-10-05 19:53       ` Nicolas Goaziou

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20111005T152527-624@post.gmane.org \
    --to=roland.donat@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).