all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark Edgington <edgimar@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Unable to use "+LaTeX_HEADER: \input{...}" with latex-preview-fragment
Date: Tue, 4 Jun 2013 15:44:52 -0400	[thread overview]
Message-ID: <CAMsBe8qy9tGW5h=Suhwjp6GGQMrzwzUmSV9NTrGDxUBr4UUUTw@mail.gmail.com> (raw)

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

                 reply	other threads:[~2013-06-04 19:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMsBe8qy9tGW5h=Suhwjp6GGQMrzwzUmSV9NTrGDxUBr4UUUTw@mail.gmail.com' \
    --to=edgimar@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.