all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Myles English <mylesenglish@gmail.com>
To: Nicolas Goaziou <n.goaziou@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:26:52 +0000	[thread overview]
Message-ID: <87fw0jdinn.fsf@gmail.com> (raw)
In-Reply-To: <878v6cdmbm.fsf@gmail.com>


Nicolas Goaziou 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.
>> ---------------------------------- ~/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.

Thanks for looking at this, I tried just now and can't see any change in
what I reported above.

Myles

  reply	other threads:[~2013-02-26  0:25 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
2013-02-26  0:26   ` Myles English [this message]
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

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

  git send-email \
    --in-reply-to=87fw0jdinn.fsf@gmail.com \
    --to=mylesenglish@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=n.goaziou@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 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.