emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Error exporting to temp buffer
Date: Thu, 19 Mar 2009 18:36:08 -0400	[thread overview]
Message-ID: <11742.1237502168@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from Sebastian Rose <sebastian_rose@gmx.de> of "Thu, 19 Mar 2009 23:10:23 BST." <8763i5p3jk.fsf@kassiopeya.MSHEIMNETZ>

Sebastian Rose <sebastian_rose@gmx.de> wrote:

> David Maus <maus.david@gmail.com> 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	other threads:[~2009-03-19 22:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-19  6:03 Error exporting to temp buffer Leo
2009-03-19 16:40 ` Carsten Dominik
2009-03-19 21:18   ` Leo
2009-03-19 21:59 ` David Maus
2009-03-19 22:10   ` Sebastian Rose
2009-03-19 22:36     ` Nick Dokos [this message]
2009-03-19 23:22       ` Leo
2009-03-20 13:07       ` Carsten Dominik
  -- strict thread matches above, loose matches on Subject: below --
2009-03-20  8:25 Giovanni Ridolfi
2009-03-20 15:10 ` Leo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11742.1237502168@alphaville.usa.hp.com \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastian_rose@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).