I used to be able to scale down an inline image in org-mode with
#+attr_html: :width 650 px
[[file:~/org/def/202a3-9.jpeg]]
But now it doesn't work anymore, presumably because of an update to 8.3.5. What to do?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityI used to be able to scale down an inline image in org-mode with
#+attr_html: :width 650 px
[[file:~/org/def/202a3-9.jpeg]]
But now it doesn't work anymore, presumably because of an update to 8.3.5. What to do?
set option in your emacs init file:
(setq org-image-actual-width nil)
And add this property upon image link:
#+NAME: fig:figure name
#+CAPTION: figure name
#+ATTR_ORG: :width 200
#+ATTR_LATEX: :width 2.0in
#+ATTR_HTML: :width 200
[[file:./file.png]]
The width value 200
and 2.0in
can be any inch number value if you want.
:width
attribute for all formats at once?
Jan 30, 2018 at 7:12
#+NAME
does not do anything for me. The label of the figure is still automatically generated...
Jan 30, 2018 at 7:19
Some testing seem to show that just adding a space before the #
solve the problem. It look like a bug. May be you should report it to the org-list.