summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-01-02 22:50:18 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-01-02 22:50:18 (GMT)
commit56b47cd0fe2c2cba246e475b44e5d0fb6fb8ea26 (patch)
tree56547485867ec7a4e8a136e8201e8304211640be
parentaf5514b84858709551a1bfcc2397f7055a0b92a8 (diff)
downloadorg-mode-56b47cd0fe2c2cba246e475b44e5d0fb6fb8ea26.zip
org-mode-56b47cd0fe2c2cba246e475b44e5d0fb6fb8ea26.tar.gz
org-latex.el (org-export-latex-inline-images): New option
* org-latex.el (org-export-latex-inline-images): New option. This fixes a bug introduced in 4aaf1a, as `org-export-latex-inline-images' is now needed. Thanks to Gary Oberbrunner for reporting this and to Nick Dokos for pointing at the problem.
-rw-r--r--lisp/org-latex.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 55866e8..464a364 100644
--- a/lisp/org-latex.el
+++ b/lisp/org-latex.el
@@ -652,6 +652,17 @@ and `org-export-with-tags' instead."
:version "24.3"
:type 'string)
+(defcustom org-export-latex-inline-images 'maybe
+ "Non-nil means inline images into exported LaTeX pages.
+If this option is `maybe', then images in links with an empty
+description will be inlined, while images with a description will
+be linked only."
+ :group 'org-export-html
+ :version "24.3"
+ :type '(choice (const :tag "Never" nil)
+ (const :tag "Always" t)
+ (const :tag "When there is no description" maybe)))
+
(defcustom org-export-latex-inline-image-extensions
'("pdf" "jpeg" "jpg" "png" "ps" "eps")
"Extensions of image files that can be inlined into LaTeX.