[Top][All Lists]

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

[Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output

From: Bruno Tavernier
Subject: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output
Date: Thu, 07 Oct 2010 11:09:35 +0900
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Hey Matthew,

Thanks for the pointers.
I toyed with it a bit but that wasn't very successful.

> That is odd. texi2dvi should default to using regular latex. You usually
> have to pass a -p option or use the alias texi2pdf in order to use
> pdflatex.

It does default to latex, what I meant was that it default to pdflatex
with org-mode current setup.

> It might be that you have a LATEX environment variable set. In any case, you
> can alter this behaviour by setting the LATEX environment variable, e.g.
> setting the variable LATEX=xelatex will make texi2dvi use xelatex instead of
> regular latex. 

Setting the variable LATEX=xelatex indeed makes the compilation goes via
xelatex. However, texi2dvi seems to expect a .dvi to be generated (which
xelatex does not do) and thus fail to compile.

> Finally, regarding .eps files, note that the latest version of pdflatex can
> handle .eps graphics without having to go through the latex->dvips->ps2pdf
> route so it might be worth your while upgrading. Failing that, you can put \
> usepackage{epstopdf} in your preamble and then older versions of pdflatex will
> work just fine.

pdflatex -v
| pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Arch Linux)

and still none of the above work. .eps file still require latex.

Nevermind though, the "#+LATEX_CMD" approach that is mentionned in my
previous post in this thread does the job. :-)

Emacs ought to be customized by the user!


reply via email to

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