emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] Should #+attr_latex affect image display within the org buffer itself?
@ 2020-05-26  4:01 Vladimir Nikishkin
  2020-05-26  4:06 ` Vladimir Nikishkin
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Nikishkin @ 2020-05-26  4:01 UTC (permalink / raw)
  To: emacs-orgmode

Hello, everyone

My problem is the following:

Compare the following three pieces of  org code:

#+attr_latex: :width 80px
[[file:figure-1-1-dot.png]]

#+attr_latex: :width 8cm
[[file:figure-1-1-dot.png]]

#+attr_latex: :width 80mm
[[file:figure-1-1-dot.png]]

They get exported into LaTeX as expected.
But if you org-redisplay-inline-images, you will see that the first
one is rendered 80 pixels wide,
the second one ise rendered 8 pixels wide, and the third one is
rendered 80 (again) pixels wide.

So it seems that org is using #+attr_latex as a guide in setting the
width of the images in the org-buffer.

This seems wrong.

-- 
Yours sincerely, Vladimir Nikishkin


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-26 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26  4:01 [bug] Should #+attr_latex affect image display within the org buffer itself? Vladimir Nikishkin
2020-05-26  4:06 ` Vladimir Nikishkin
2020-05-26 16:54   ` John Kitchin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).