all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [new exporter][latex] does org-preview-latex-fragment use #+latex_header ?
@ 2013-02-24 17:00 Myles English
  2013-02-24 18:04 ` Myles English
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Myles English @ 2013-02-24 17:00 UTC (permalink / raw)
  To: Emacs-orgmode


Hi,

I have just pulled from git and have been migrating to use the new
exporter.

I have a problem where org-preview-latex-fragment appears not to use a
style file the latex header.

Starting emacs like this:

emacs -Q -l ~/minimal.el ~/file.org

When I export the whole buffer to pdf it looks right.

When I call org-preview-latex-fragment on the fragment the definitions
in a.sty are not picked up.  This previously worked when using the
new exporter before it was merged.

Can anyone help?

Thanks,
Myles


---------------------------------- ~/bug.sty --------------
\newcommand{\mysymbol}{\mathbf v}

---------------------------------- minimal.el ------------
(add-to-list 'load-path "~/.emacs.d/plugins/org-mode/lisp")
(require 'ox)

---------------------------------- file.org ---------------
#+STARTUP: indent
#+LATEX_HEADER: \usepackage{~/bug}

* heading

\[ \mysymbol = f \]    -- NO WORK

\[ 0 = f \]            -- WORKS

----------------------------------------------------------

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

end of thread, other threads:[~2013-02-26 21:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-24 17:00 [new exporter][latex] does org-preview-latex-fragment use #+latex_header ? Myles English
2013-02-24 18:04 ` Myles English
2013-02-25 23:07 ` Nicolas Goaziou
2013-02-26  0:26   ` Myles English
2013-02-26  8:04     ` Nicolas Goaziou
2013-02-26 12:41       ` Myles English
2013-02-26 14:03 ` Bastien
2013-02-26 14:21   ` Myles English
2013-02-26 14:54     ` Evan Misshula
2013-02-26 15:16       ` Evan Misshula
2013-02-26 15:33       ` Myles English

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.