emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [bug] new beamer exporter always adds default width to graphics
Date: Tue, 12 Mar 2013 23:17:26 +0100	[thread overview]
Message-ID: <20130312221726.GG8127@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <87boaocvgo.fsf@gmail.com>

Hi Aaron,

On Tue, Mar 12, 2013 at 02:40:55PM -0400, Aaron Ecay wrote:
> Hi Suvayu,
> 
> 2013ko martxoak 12an, Suvayu Ali-k idatzi zuen:
> > I believe Nicolas mentioned sometime back the :width option is available
> > only for floats whereas :options is the only way for included graphics
> > files (because of how LaTeX works).  This addition is a bit inconsistent
> > with that line of thought.
> 
> I helped write this change, so that org could support kinds of graphics
> where the width is not specified by an options string, but rather by
> another means.  The new syntax is hopefully more consistent in the long
> run: one uses :width to set the width of anything.
> 
> Nicolas and I originally discussed a transition period where the default
> :width would not be inserted, but ultimately we decided to just go ahead
> with the change.  The new exporter is after all not yet stable, though
> thanks to the fantastic effort of the community it is continually
> improving.

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:

1. the author targets the document for a specific backend that does not
   support :width

2. the author expects to export to multiple backends and wants to be as
   general as possible so uses and expects :width to work.

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.

I hope I expressed myself clearly.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.

  reply	other threads:[~2013-03-12 22:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12 13:25 [bug] new beamer exporter always adds default width to graphics James Harkins
2013-03-12 14:38 ` Jay Kerns
2013-03-12 14:59   ` Suvayu Ali
2013-03-12 18:40     ` Aaron Ecay
2013-03-12 22:17       ` Suvayu Ali [this message]
2013-03-13  2:55         ` Aaron Ecay
2013-03-13  8:30   ` James Harkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130312221726.GG8127@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).