From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: behavior of org-image-actual-size with units in attr_* :width Date: Fri, 03 Oct 2014 10:03:17 +0200 Message-ID: <87eguptwai.fsf@nicolasgoaziou.fr> References: <877g0j8ubx.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZxp1-0002sU-DG for emacs-orgmode@gnu.org; Fri, 03 Oct 2014 04:02:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZxou-0005jD-PD for emacs-orgmode@gnu.org; Fri, 03 Oct 2014 04:02:39 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:49589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZxou-0005j7-Io for emacs-orgmode@gnu.org; Fri, 03 Oct 2014 04:02:32 -0400 In-Reply-To: (John Kitchin's message of "Wed, 01 Oct 2014 19:51:31 -0400") 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: John Kitchin Cc: emacs-orgmode@gnu.org Hello, John Kitchin writes: > Nicolas Goaziou writes: > > is it the case that ATTR_HTML width attributes are only in pixels? No, but it's the only export back-end dedicated to on-screen display. So, in-buffer width is probably only meaningful there. > If so, that is certainly an easier modification to make, and would > solve my problem (we almost exclusively use attr_latex for that > export). > > Your comment inspired me to solve it this way: > > #+attr_latex: :width 4in :placement [H] > #+attr_org: :width 400 > [[./images/batch-multiple.png]] > > > For inline images, the attr_org is found first, but in latex export it > is ignored and it gets the width there. > > Maybe no change is needed at all. It works but is certainly hackish. Regards, -- Nicolas Goaziou