From eab7c4e581a08ec42eb0b679266add4a5da45877 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 7 Dec 2019 12:30:19 +0100 Subject: [PATCH] ox-latex: Fix output for Tikz or PGF images * lisp/ox-latex.el (org-latex--inline-image): Fix output for Tikz or PGF images. --- lisp/ox-latex.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 65f40fb7a..ddf9a3d63 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -2425,7 +2425,8 @@ used as a communication channel." (format "\\resizebox{%s}{%s}{%s}" (if (org-string-nw-p width) width "!") (if (org-string-nw-p height) height "!") - image-code))))) + image-code)) + (t image-code)))) ;; For other images: ;; - add scale, or width and height to options. ;; - include the image with \includegraphics.