mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-01-13 16:38:24 +00:00
ox-latex: Fix 7b36019069
* lisp/ox-latex.el (org-latex--inline-image): Fix commit
7b36019069
.
This commit is contained in:
parent
7b36019069
commit
90faed3672
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user