From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Cubizolles Subject: Re: org-latex-image-default-width ignored Date: Sun, 25 Mar 2018 09:52:37 +0200 Message-ID: <877eq0mw1m.fsf@free.fr> References: <87k1u1jyf9.fsf@free.fr> <87in9lz793.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f00SP-0008Nz-EY for emacs-orgmode@gnu.org; Sun, 25 Mar 2018 03:52:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f00SL-0002tM-It for emacs-orgmode@gnu.org; Sun, 25 Mar 2018 03:52:49 -0400 Received: from [195.159.176.226] (port=33757 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f00SL-0002sH-CR for emacs-orgmode@gnu.org; Sun, 25 Mar 2018 03:52:45 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1f00QF-000354-Vt for emacs-orgmode@gnu.org; Sun, 25 Mar 2018 09:50:35 +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" To: emacs-orgmode@gnu.org Eric S Fraga writes: > On Saturday, 24 Mar 2018 at 16:20, Julien Cubizolles wrote: >> I'd like all inline images resized during beamer and latex export. I >> tried setting org-latex-image-default-width to ".3\\linewidth" but after >> export the latex file still uses the default .9\linewidth default. See >> the following examples. > > Your example works for me with up to date org from git. What version > are you using? Found the cause of the problem, my default configuration exports in async mode, so this variable should be set in org-export-async-init.el. Is there a way to have a variable set during export to avoid setting it for all exports? Julien.