emacs-orgmode
[Top][All Lists]
Advanced

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

[O] How to use texi2dvi for export to LaTeX?


From: Marius Hofert
Subject: [O] How to use texi2dvi for export to LaTeX?
Date: Thu, 16 Aug 2012 21:43:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Hi,

I found http://orgmode.org/worg/org-dependencies.html and proceeded as described
there to set up texi2dvi for LaTeX export. I don't have the egrep bug mentioned,
so all I had to do was:

1) put this in ~/.emacs:
   (setq org-latex-to-pdf-process "texi2dvi -p %f"); use texi2dvi; see
   http://orgmode.org/worg/org-dependencies.html
2) put this in ~/.profile:
   PDFLATEX="pdflatex --shell-escape"
   export PDFLATEX

texi2dvi is installed on my system (Ubuntu 12.04; Emacs 24; MacBook Air 4,1) and
works. However, if I export an org-mode file via 'C-c C-e p' to LaTeX, I obtain
an error. *Messages* shows:

,----
| call-interactively: Wrong type argument: listp, "texi2dvi -p %f"
`----

Why?

Something I'm wondering: Doesn't %f stand for the base file name with ending
.ps? Shouldn't it be texi2dvi -p %t? Trying this led to the same error, though.

Cheers,

Marius





reply via email to

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