all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug(?) in org-preview-latex-fragment
@ 2010-11-28 18:38 Sebastian Hofer
  2011-02-12 19:32 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Hofer @ 2010-11-28 18:38 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

it seems that org-preview-latex-fragment does not process \include{} commands in the LATEX_HEADER (while it does process \newcommand). It this supposed to be like that? If not, can it be changed or worked around somehow?

TIA
Sebastian

Minimal example:

test.org:
===================================
#+LATEX_CLASS: article
#+LATEX_HEADER: \include{commands}
#+LATEX_HEADER: \newcommand{\x}{X}
* This works
$\x$
* This doesn't
$\y$
===================================

commands.tex:
===================================
\newcommand{\y}{Y}
===================================

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

end of thread, other threads:[~2011-02-12 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-28 18:38 bug(?) in org-preview-latex-fragment Sebastian Hofer
2011-02-12 19:32 ` Bastien

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.