Browse Source

org-e-latex: Fix bug with inline images

* contrib/lisp/org-e-latex.el (org-e-latex--inline-image): Use
  appropriate string.

This bug was introduced by 984ef56e651fe218067de30293a001a8a1188932.
Nicolas Goaziou 5 years ago
parent
commit
785e470c6c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/lisp/org-e-latex.el

+ 1 - 1
contrib/lisp/org-e-latex.el

@@ -1766,7 +1766,7 @@ used as a communication channel."
 \\centering
 \\includegraphics%s{%s}
 %s\\end{figure}" placement options path caption))
-      (t (format "\\includegraphics[%s]{%s}" attr path)))))
+      (t (format "\\includegraphics%s{%s}" options path)))))
 
 (defun org-e-latex-link (link desc info)
   "Transcode a LINK object from Org to LaTeX.