forked from mirrors/org-mode
ox-latex: Fix output for Tikz or PGF images
* lisp/ox-latex.el (org-latex--inline-image): Fix output for Tikz or PGF images.
This commit is contained in:
parent
2ab4540b98
commit
eab7c4e581
|
@ -2425,7 +2425,8 @@ used as a communication channel."
|
||||||
(format "\\resizebox{%s}{%s}{%s}"
|
(format "\\resizebox{%s}{%s}{%s}"
|
||||||
(if (org-string-nw-p width) width "!")
|
(if (org-string-nw-p width) width "!")
|
||||||
(if (org-string-nw-p height) height "!")
|
(if (org-string-nw-p height) height "!")
|
||||||
image-code)))))
|
image-code))
|
||||||
|
(t image-code))))
|
||||||
;; For other images:
|
;; For other images:
|
||||||
;; - add scale, or width and height to options.
|
;; - add scale, or width and height to options.
|
||||||
;; - include the image with \includegraphics.
|
;; - include the image with \includegraphics.
|
||||||
|
|
Loading…
Reference in a new issue