From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: (setq org-html-with-latex nil) is ignored Date: Sat, 04 Nov 2017 22:26:46 +0100 Message-ID: <878tflpwfd.fsf@nicolasgoaziou.fr> References: <87wp36t60c.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eB5xp-0006Xp-2B for emacs-orgmode@gnu.org; Sat, 04 Nov 2017 17:26:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eB5xo-0007IN-3Y for emacs-orgmode@gnu.org; Sat, 04 Nov 2017 17:26:49 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:60769) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eB5xn-0007I1-SZ for emacs-orgmode@gnu.org; Sat, 04 Nov 2017 17:26:48 -0400 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id D6D0E172098 for ; Sat, 4 Nov 2017 22:26:46 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eB5xm-0005Dl-3A for emacs-orgmode@gnu.org; Sat, 04 Nov 2017 22:26:46 +0100 In-Reply-To: <87wp36t60c.fsf@mat.ucm.es> (Uwe Brauer's message of "Sat, 04 Nov 2017 16:31:31 +0100") 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" To: emacs-orgmode@gnu.org Hello, Uwe Brauer writes: > Hi I want to sent the following message > > * Matlab code > f=@(t,y)[-t*y^2]; > [t,y]=ode45(f,[0 1],1); > t=[t(1),t(end)]; > y=[y(1),y(end)]; > disp('\begin{align*}') > fprintf('t = [%g \\quad %g] \\\\\n', t) > fprintf('y = [%g \\qquad %g] \n', y) > disp('\end{align*}') > > > And I want to run org-mime-htmlize. When I do this the function > complains about the incorrect latex syntax. So I set > (setq org-html-with-latex nil), > either like this or with customize-option > I even check that it is indeed nil, run again > org-mime-htmlize. > > But then I obtain the *same error* and now the variable is, > magically, set to dvipng!!!! > > > What the heck is going on? "org-mime.el" hard-codes it at line 379: https://github.com/org-mime/org-mime/blob/master/org-mime.el#L379 You may want to report it upstream. Regards, -- Nicolas Goaziou