[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-mime-htmlize and org-preview-latex-fragment
From: |
Eric Schulte |
Subject: |
Re: [O] org-mime-htmlize and org-preview-latex-fragment |
Date: |
Mon, 26 Mar 2012 07:31:19 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Uwe Brauer <address@hidden> writes:
>>> On Thu, 22 Mar 2012 23:34:08 +0100, Uwe Brauer <address@hidden> 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/