Explorar o código

ox-latex: Fix output for Tikz or PGF images

* lisp/ox-latex.el (org-latex--inline-image): Fix output for Tikz or
PGF images.
Nicolas Goaziou %!s(int64=5) %!d(string=hai) anos
pai
achega
eab7c4e581
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      lisp/ox-latex.el

+ 2 - 1
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.