emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [new exporter][latex] does org-preview-latex-fragment use #+late


From: Myles English
Subject: Re: [O] [new exporter][latex] does org-preview-latex-fragment use #+latex_header ?
Date: Tue, 26 Feb 2013 00:26:52 +0000
User-agent: mu4e 0.9.9.5-dev6; emacs 24.2.1

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 via email to

[Prev in Thread] Current Thread [Next in Thread]