emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-preview-latex-fragment ignores \includes in the LATEX_HEADER
@ 2015-05-27 13:02 Stefan Otte
  2015-05-27 13:37 ` Robert Klein
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Stefan Otte @ 2015-05-27 13:02 UTC (permalink / raw)
  To: emacs-orgmode

Hey,

I'm using orgmode with lots of LaTeX for equations. A typical document
start with

  #+TITLE: Some Title
  #+LaTeX_HEADER: \include{commands}

commands.tex contains commands like:
  \newcommand{\RRR}{{\mathbb{R}}}

The pdf export works flawlessly, however `org-preview-latex-fragment`
seems to ignore "\include{commands}", i.e., equations that use
commands that are defined in commands.tex are rendered as blank/empty
image.

Is it the intended behavior that `org-preview-latex-fragment` ignores
"\include", is it a bug, or is there a better way to do it?


Best,
 Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-05-29  8:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-27 13:02 org-preview-latex-fragment ignores \includes in the LATEX_HEADER Stefan Otte
2015-05-27 13:37 ` Robert Klein
2015-05-28  9:21   ` Stefan Otte
2015-05-28 16:09 ` Nick Dokos
2015-05-29  7:44 ` Eric S Fraga

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).