ob-latex: htlatex and imagemagick
commit510e7037988d44151dea5b98631839fc8003dd57
authorAndreas Leha <andreas.leha@med.uni-goettingen.de>
Sat, 21 Mar 2015 22:22:17 +0000 (21 22:22 +0000)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 23 Mar 2015 23:41:52 +0000 (24 00:41 +0100)
treed86e5b2ec129eb763eecebffcb98085d88b46505
parentc9a52787c14c3a7429bcd3c8975350525e0baa04
ob-latex: htlatex and imagemagick

Hi all,

please find attached a small patch that fixes a problem discussed
in [1].

In short, when executing a latex src block and htlatex is a valid
option, it should be used even if imagemagick is part of the headers.

Regards,
Andreas

[1] http://permalink.gmane.org/gmane.emacs.orgmode/96257

>From 2986826441c24e2f0d6cf5efe6bf8aca75c4bdbb Mon Sep 17 00:00:00 2001
From: Andreas Leha <andreas.leha@gmx.de>
Date: Sat, 21 Mar 2015 22:11:37 +0000
Subject: [PATCH] ob-latex: htlatex preferred over imagemagick

* ob-latex.el (org-babel-execute:latex): change the order of the handlers

When `imagemagick' is given this entry acts as an else option.
So, it should always come last.
lisp/ob-latex.el