Uwe Brauer <o...@mat.ucm.es> writes:

>>> On Thu, 22 Mar 2012 23:34:08 +0100, Uwe Brauer <o...@mat.ucm.es> wrote:
>
>
>    > Now org-mime-htmlize allows me to htmlize a message buffer
>    > but seems not to work with org-preview-latex-fragment
>    > either the png is not exported or I obtain an error message
>    > of the sort:
>
>    > Unknown conversion type nil for latex fragments.
> I am very confused the code in question contains a line of
> the sort:
>        (org-export-with-LaTeX-fragments "dvipng")
>
> Uwe Brauer 
> So the functionality seems to be implemented?
>

This functionality certainly used to work (and was one of my main
reasons for using org-mime-htmlize).  There is a new error in the
`org-export-string' function when `org-export-with-LaTeX-fragments' is
set to "dvipng" which is causing export to fail.  To exercise this bug
run the following elisp snippet.

  (let ((org-export-with-LaTeX-fragments "dvipng"))
    (org-export-string "A fraction $\\frac{1}{2}$." 'html "/tmp/"))

Which throws the following error.

  org-format-latex: Unknown conversion type nil for latex fragments

Once this bug is fixed the use of LaTeX to generated inline images with
Org-mime should work once again.

Best,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

Reply via email to