emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH]: Fix latex image bug in org-mime-org-buffer-htmlize


From: Nicolas Goaziou
Subject: Re: [O] [PATCH]: Fix latex image bug in org-mime-org-buffer-htmlize
Date: Tue, 14 Jun 2016 14:25:50 +0200

Hello,

Carlo Nucera <address@hidden> writes:

> attached is a patch that should fix a bug in the function
> org-mime-org-buffer-htmlize (thanks to punchagan on irc!).
>
> When exporting an org buffer with a latex snippet including the org
> option tex: dvipng the images were always created in /tmp/ltxpng/, but
> the reported link in the htmlized buffer was the local ./ltxpng folder;
> so, unless the org file to htmlize was actually in /tmp, the user got an
> error saying that the image could not be found.
>
> This was caused by the two different ways in which the function
> org-mime-replace-images is used inside of org-mime-org-buffer-htmlize
> and org-mime-htmlize.
>
> To correct the problem, the function org-mime-replace-images doesn't
> take anymore the current-file parameter (that was only used to get its
> directory) and instead always creates a temporary directory using
> temporary-file-directory.

I amended the commit message so as to include references to the
functions being modified, and applied the patch. Thank you.

Regards,

-- 
Nicolas Goaziou



reply via email to

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