all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Unable to use "+LaTeX_HEADER: \input{...}" with latex-preview-fragment
@ 2013-06-04 19:44 Mark Edgington
  0 siblings, 0 replies; only message in thread
From: Mark Edgington @ 2013-06-04 19:44 UTC (permalink / raw)
  To: emacs-orgmode

I attempted recently to have org-mode use a preamble file when
previewing latex-fragments.  I used a line like the following:

    +LaTeX_HEADER: \input{relative-path-to-file.tex}

Unfortunately, the file referenced by the \input{} command doesn't get
copied to the location where the preview tex file is compiled.
Certainly a way of making it work would be to use an absolute path
instead of a relative path, but I really want to have a self-contained
portable directory containing both org-mode and preamble files.

Would it be possible or sensible to make an option which makes
latex-preview-fragment parse +LaTeX_HEADER lines for \input{}
commands, and attempt to copy the input files to the preview
compilation-folder?

Regards,

Mark

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

only message in thread, other threads:[~2013-06-04 19:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-04 19:44 Unable to use "+LaTeX_HEADER: \input{...}" with latex-preview-fragment Mark Edgington

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.