[Top][All Lists]

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

[O] org-preview-latex-fragment does not include #+LaTeX_CLASS definition

From: Michael Bach
Subject: [O] org-preview-latex-fragment does not include #+LaTeX_CLASS definition
Date: Tue, 10 Jan 2012 14:58:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Hello everyone,

org-mode version 7.8.02

When doing `org-preview-latex-fragment' on a buffer with custom set
#+LaTeX_CLASS and some #+LATEX_HEADER lines, the pdflatex process to
create the ltxpng/*.png images fails e.g. with:

Failed to create dvi file from /tmp/orgtex1650tNa.tex

Now when I check the temporary .tex file under
e.g. /tmp/orgtex1650tNa.tex, I see that the #+LATEX_HEADER: parts of my
file got put in, but the preamble does not include the #+LaTeX_CLASS
\usepackage definitions.

The #+LATEX_HEADER lines depend on the packages loaded in my
#+LaTeX_CLASS definition, so there is no wonder pdflatex fails.

My actual question: Why is the tmp tex file generated without the custom
#+LaTeX_CLASS preamble?

Best Regards,

reply via email to

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