From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Myles English <mylesenglish@gmail.com>
Cc: Emacs-orgmode <Emacs-orgmode@gnu.org>
Subject: Re: [new exporter][latex] does org-preview-latex-fragment use #+latex_header ?
Date: Tue, 26 Feb 2013 00:07:41 +0100 [thread overview]
Message-ID: <878v6cdmbm.fsf@gmail.com> (raw)
In-Reply-To: <87mwutd4ui.fsf@gmail.com> (Myles English's message of "Sun, 24 Feb 2013 17:00:37 +0000")
Hello,
Myles English <mylesenglish@gmail.com> writes:
> 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
>
> ----------------------------------------------------------
I removed this functionality when clearing out old exporter from org.el.
It should be back in master.
Thank you for your report.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2013-02-25 23:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878v6cdmbm.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=Emacs-orgmode@gnu.org \
--cc=mylesenglish@gmail.com \
/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 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).