From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shavkat Rustamov Subject: Re: scale inline images in orgmode Date: Tue, 24 Feb 2015 19:23:41 +0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f23569d5c1c34050fd64604 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQGPQ-0004b6-0G for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 09:24:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQGPP-0007vn-4X for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 09:24:23 -0500 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:56938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQGPO-0007vh-Tz for emacs-orgmode@gnu.org; Tue, 24 Feb 2015 09:24:23 -0500 Received: by mail-wi0-f169.google.com with SMTP id em10so27508016wid.0 for ; Tue, 24 Feb 2015 06:24:21 -0800 (PST) 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: bzg@altern.org Cc: Org-mode --e89a8f23569d5c1c34050fd64604 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, This setting works fine: (setq org-image-actual-width 300) =3D> always resize inline images to 300 pixels However, this does not {it falls back to 400 and ignores #+ATTR}: (setq org-image-actual-width '(400)) =3D> if there is a #+ATTR.*: width=3D"200", resize to 200, otherwise resize to 400 I tried different versions of #+ATTR, including: ##+ATTR.*: :width 150px ##+ATTR.*: width=3D"100" ##+ATTR_HTML: :width 300px #+ATTR_HTML: :width=3D"100" Any idea what=E2=80=99s wrong? --e89a8f23569d5c1c34050fd64604 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

This setting works fine:

(setq org-im= age-actual-width 300)

=C2=A0 =3D> always resize inline images to = 300 pixels

However, this does not {it falls back to 400 and ignores = #+ATTR}:

(setq org-image-actual-width '(400))

=C2=A0 =3D&= gt; if there is a #+ATTR.*: width=3D"200", resize to 200,
=C2= =A0 =C2=A0 =C2=A0otherwise resize to 400

I tried different versions = of #+ATTR, including:

##+ATTR.*: :width 150px
##+ATTR.*: width=3D= "100"
##+ATTR_HTML: :width 300px
#+ATTR_HTML: :width=3D&quo= t;100"

Any idea what=E2=80=99s wrong?


--e89a8f23569d5c1c34050fd64604--