emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: emacs-orgmode@gnu.org
Subject: Re: (setq org-html-with-latex nil) is ignored
Date: Sat, 04 Nov 2017 22:26:46 +0100	[thread overview]
Message-ID: <878tflpwfd.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87wp36t60c.fsf@mat.ucm.es> (Uwe Brauer's message of "Sat, 04 Nov 2017 16:31:31 +0100")

Hello,

Uwe Brauer <oub@mat.ucm.es> 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

  reply	other threads:[~2017-11-04 21:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-04 15:31 (setq org-html-with-latex nil) is ignored Uwe Brauer
2017-11-04 21:26 ` Nicolas Goaziou [this message]
2017-11-05 15:56   ` Uwe Brauer

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=878tflpwfd.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    /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).