emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [ODT] image scaling overridden by long caption
@ 2012-01-18  8:52 Andreas Leha
  2012-01-19 20:03 ` Jambunathan K
  0 siblings, 1 reply; 15+ messages in thread
From: Andreas Leha @ 2012-01-18  8:52 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I experience unexpected behaviour with the excellent odt exporter in case of
included images.
When I add a #+caption the text width of that caption overrides the
specified image width (#ATTR_ODT: :witdh X), which I use to downscale
the image in the odt.
Especially if that caption will span across multiple lines, that effect
is visible.

Here is the example:

-----------------------------------------------------------------------
* odt image test
  #+caption: foo
  #+ATTR_ODT: :width 8
  #+header: :file foo.png
  #+header: :width 3600 :height 3600 :res 600
  #+begin_src R :exports results :results graphics
    plot(1:100, 1:100)
  #+end_src

  #+caption: foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo
  #+ATTR_ODT: :width 8
  #+header: :file foo.png
  #+header: :width 3600 :height 3600 :res 600
  #+begin_src R :exports results :results graphics
    plot(1:100, 1:100)
  #+end_src
-------------------------------------------------------------------------


I'd expect the image scaling to take place in either case.  Maybe even
the caption should wrap at the specified width.

On a related note:  Could I place two (correctly scaled) images
side-by-side?

Regards,
Andreas

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

end of thread, other threads:[~2012-02-15  0:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-18  8:52 [ODT] image scaling overridden by long caption Andreas Leha
2012-01-19 20:03 ` Jambunathan K
2012-01-21 10:18   ` Andreas Leha
2012-01-23 19:53     ` Jambunathan K
2012-01-23 21:20       ` Nicolas Goaziou
2012-02-01  9:16         ` comments and attributes Jambunathan K
2012-02-01 13:04           ` Nicolas Goaziou
2012-02-15  0:03       ` [ODT] image scaling overridden by long caption Andreas Leha
2012-01-27 14:40     ` Jambunathan K
2012-01-27 22:41       ` Andreas Leha
2012-01-31  4:59         ` Jambunathan K
2012-02-07 10:04           ` Andreas Leha
2012-01-23  1:53   ` Side-by-side support (was:Re: [ODT] image scaling overridden by long caption) Christian Wittern
2012-01-23 16:34     ` Side-by-side support Jambunathan K
2012-01-23 23:51       ` Christian Wittern

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).