[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] [need test]Restruct `org-create-formula-image' function
From: |
Feng Shu |
Subject: |
Re: [O] [PATCH] [need test]Restruct `org-create-formula-image' function |
Date: |
Sun, 21 Jul 2013 06:20:38 +0800 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.2 (gnu/linux) |
Nick Dokos <address@hidden> writes:
> feng shu <address@hidden> writes:
>
>> `org-create-formula-image-with-dvipng' and
>> `org-create-formula-image-with-imagemagick'
>> share a good deal of logic, so combine them to a function.
>>
>>
>
> I have wondered aloud in the past whether it is necessary to have two
> methods for this. They are pretty much equivalent although the
> imagemagick method is IMO slightly less brittle than the dvipng method.
> So instead of spending time to tie them even more closely together, we
> should investigate whether one of them should go.
>
> Maybe we can have a poll...
imagemagick method is useful for xelatex users, but it compile a snippet
more slower than dvipng method.
We don't need remove one of them. we can do like this:
1. conbine tex:dvipng and tex:imagemagick to tex:image
2. remove `org-latex-create-formula-image-program'
3. defcustom `org-create-formula-image-processes' in my patch.
4. update document.
It is very similar `org-latex-pdf-process'
--