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.
This commit is contained in:
Bastien Guerry 2013-01-02 23:50:18 +01:00
parent af5514b848
commit 56b47cd0fe

View file

@ -652,6 +652,17 @@ and `org-export-with-tags' instead."
:version "24.3" :version "24.3"
:type 'string) :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 (defcustom org-export-latex-inline-image-extensions
'("pdf" "jpeg" "jpg" "png" "ps" "eps") '("pdf" "jpeg" "jpg" "png" "ps" "eps")
"Extensions of image files that can be inlined into LaTeX. "Extensions of image files that can be inlined into LaTeX.