From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: [bug] new beamer exporter always adds default width to graphics Date: Tue, 12 Mar 2013 22:55:34 -0400 Message-ID: <87txogatzt.fsf@gmail.com> References: <20130312145955.GD8127@kuru.dyndns-at-home.com> <87boaocvgo.fsf@gmail.com> <20130312221726.GG8127@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFbqu-0001ww-De for emacs-orgmode@gnu.org; Tue, 12 Mar 2013 22:55:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFbqr-00077T-RI for emacs-orgmode@gnu.org; Tue, 12 Mar 2013 22:55:40 -0400 Received: from mail-qc0-x236.google.com ([2607:f8b0:400d:c01::236]:40360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFbqr-00077M-LR for emacs-orgmode@gnu.org; Tue, 12 Mar 2013 22:55:37 -0400 Received: by mail-qc0-f182.google.com with SMTP id k19so256722qcs.13 for ; Tue, 12 Mar 2013 19:55:37 -0700 (PDT) In-Reply-To: <20130312221726.GG8127@kuru.dyndns-at-home.com> 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: Suvayu Ali Cc: emacs-orgmode@gnu.org Hi Suvayu, 2013ko martxoak 12an, Suvayu Ali =20 > That is understandable, but if the aim is to support other kinds of > graphics that support :width, I expect the change to not interfere with > graphics that do not support it. I think there are two cases here: >=20 > 1. the author targets the document for a specific backend that does not > support :width >=20 > 2. the author expects to export to multiple backends and wants to be as > general as possible so uses and expects :width to work. :width is an ATTR_LATEX keyword, as is :options. So they only apply to the LaTeX backend =E2=80=93 and those which derive from it, such as beamer.= If document authors wish to also export to e.g. HTML, they will have to make separate arrangements. >=20 > So now the question is, is it reasonable to expect the author in case > (1) is aware of this subtlety and use :width even though her/his backend > does not support it, or would it be better to handle these deficient > cases "specially" and help the author by not clobbering their :options > argument. Eliminating subtleties is precisely the point of this change. All(-ish)* backends now use :width. * As far as I=E2=80=99ve checked, HTML(+ derived backends) and LaTeX(+deriv= ed backends). If there are any that don=E2=80=99t, they should probably be pa= tched to do so as well. --=20 Aaron Ecay