* lisp/ox-latex.el (org-latex--inline-image): Fix commit
  7b36019069.
This commit is contained in:
Nicolas Goaziou 2013-03-17 22:17:31 +01:00
parent 7b36019069
commit 90faed3672

View file

@ -1856,8 +1856,9 @@ used as a communication channel."
(setq image-code
(format "\\includegraphics%s{%s}"
(cond ((not (org-string-nw-p options)) "")
((= (aref options 0) ?,) (substring options 1))
(t options))
((= (aref options 0) ?,)
(format "[%s]"(substring options 1)))
(t (format "[%s]" options)))
path)))
;; Return proper string, depending on FLOAT.
(case float