From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: [ODT] image scaling overridden by long caption Date: Wed, 18 Jan 2012 09:52:37 +0100 Message-ID: <87aa5lwfxm.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnRGP-0006DN-Kr for emacs-orgmode@gnu.org; Wed, 18 Jan 2012 03:53:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RnRGL-0006FK-Pw for emacs-orgmode@gnu.org; Wed, 18 Jan 2012 03:53:01 -0500 Received: from lo.gmane.org ([80.91.229.12]:43429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnRGL-0006FG-JQ for emacs-orgmode@gnu.org; Wed, 18 Jan 2012 03:52:57 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RnRGI-0005Iw-A7 for emacs-orgmode@gnu.org; Wed, 18 Jan 2012 09:52:54 +0100 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jan 2012 09:52:54 +0100 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jan 2012 09:52:54 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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