all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-preview-latex-fragment does not include #+LaTeX_CLASS definition
@ 2012-01-10 13:58 Michael Bach
  0 siblings, 0 replies; only message in thread
From: Michael Bach @ 2012-01-10 13:58 UTC (permalink / raw
  To: emacs-orgmode

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,
Michael

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-10 13:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-10 13:58 org-preview-latex-fragment does not include #+LaTeX_CLASS definition Michael Bach

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.