emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Error exporting to temp buffer


From: Nick Dokos
Subject: Re: [Orgmode] Error exporting to temp buffer
Date: Thu, 19 Mar 2009 18:36:08 -0400

Sebastian Rose <address@hidden> wrote:

> David Maus <address@hidden> writes:
> > Cannot reprocude this either. C-x b org-bug <RET>, paste sample, C-c C-e
> > H gives an *Org HTML Export* buffer with the exported sample.
> 
> Same here.
> 
> 
Same here, but I was wondering: the function that Leo fingers looks like this

,----
| (defun org-export-html-preprocess (parameters)
|   ;; Convert LaTeX fragments to images
|   (when (plist-get parameters :LaTeX-fragments)
|     (org-format-latex
|      (concat "ltxpng/" (file-name-sans-extension
|                       (file-name-nondirectory
|                        org-current-export-file)))
|      org-current-export-dir nil "Creating LaTeX image %s"))
|   (message "Exporting..."))
`----

and when I step through it, the when expression evaluates to nil, so the
whole thing is skipped. So it may be some setting in Leo's setup or maybe
something is missing from the fragment, that would make that expression
non-nil. So my question is:

What do I have to do to make

     (plist-get parameters :LaTeX-fragments)

non-nil?

Nick




reply via email to

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