Sfoglia il codice sorgente

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.
Bastien Guerry 13 anni fa
parent
commit
56b47cd0fe
1 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. 11 0
      lisp/org-latex.el

+ 11 - 0
lisp/org-latex.el

@@ -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.