From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: behavior of org-image-actual-size with units in attr_* :width Date: Tue, 30 Sep 2014 17:09:12 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ4fw-0007FE-AC for emacs-orgmode@gnu.org; Tue, 30 Sep 2014 17:09:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZ4fq-0002yw-19 for emacs-orgmode@gnu.org; Tue, 30 Sep 2014 17:09:36 -0400 Received: from plane.gmane.org ([80.91.229.3]:57899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ4fp-0002yi-Qb for emacs-orgmode@gnu.org; Tue, 30 Sep 2014 17:09:29 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XZ4fn-0001WM-3L for emacs-orgmode@gnu.org; Tue, 30 Sep 2014 23:09:27 +0200 Received: from johns-air.wv.cc.cmu.edu ([128.237.171.29]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Sep 2014 23:09:27 +0200 Received: from jkitchin by johns-air.wv.cc.cmu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Sep 2014 23:09:27 +0200 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 I have set this in my init file (setq org-image-actual-width '(600)) It works great, unless I use: #+attr_latex: :width 4in This makes my images 4 inches wide in LaTeX, but it sets my images to approximately 4 pixels wide! I feel like it is worth modifying the regexp that gets the width to catch these cases and fall back on the variable value when they exist. Any thoughts? -- ----------------------------------- John Kitchin http://kitchingroup.cheme.cmu.edu