From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: Re: [new exporter][latex] does org-preview-latex-fragment use #+latex_header ? Date: Tue, 26 Feb 2013 00:26:52 +0000 Message-ID: <87fw0jdinn.fsf@gmail.com> References: <87mwutd4ui.fsf@gmail.com> <878v6cdmbm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA8MZ-0001Yw-Sy for Emacs-orgmode@gnu.org; Mon, 25 Feb 2013 19:25:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UA8MW-0001FP-U9 for Emacs-orgmode@gnu.org; Mon, 25 Feb 2013 19:25:43 -0500 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:40396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA8MW-0001F9-Nh for Emacs-orgmode@gnu.org; Mon, 25 Feb 2013 19:25:40 -0500 Received: by mail-we0-f179.google.com with SMTP id p43so2929633wea.38 for ; Mon, 25 Feb 2013 16:25:39 -0800 (PST) In-reply-to: <878v6cdmbm.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Emacs-orgmode 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