Re: [O] (setq org-html-with-latex nil) is ignored

2017-11-05 Thread Uwe Brauer

   > Hello,
   > Uwe Brauer  writes:


   > "org-mime.el" hard-codes it at line 379:

   >   https://github.com/org-mime/org-mime/blob/master/org-mime.el#L379

Ah ok, thanks 
   > You may want to report it upstream.

I did.

Regards

Uwe 




Re: [O] (setq org-html-with-latex nil) is ignored

2017-11-04 Thread Nicolas Goaziou
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