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 15:59:55 +0100	[thread overview]
Message-ID: <20130312145955.GD8127@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <CAFiLVraNQxP+1mjR9UoKNXYU7b9i51NUD50KshzfM2Gv1wiCmg@mail.gmail.com>

On Tue, Mar 12, 2013 at 10:38:27AM -0400, Jay Kerns wrote:
> Dear James,
> 
> On Tue, Mar 12, 2013 at 9:25 AM, James Harkins <jamshark70@gmail.com> wrote:

[...]

> > The org file contains:
> >
> > #+BEGIN_CENTER
> > #+ATTR_LaTeX: :options width=6cm
> > [[./img/new-version.png]]
> > #+END_CENTER
> >
> > In the .tex file, I see:
> >
> > \begin{center}
> > \includegraphics[width=6cm,width=.9\linewidth]{./img/new-version.png}
> > \end{center}
> >
> > Two widths appear: the one that I wanted, and the default that I was
> > trying to override. LaTeX obeys the one that I didn't want.
> >
> > The problem is somewhere between HEAD and this commit (i.e., 8cc6c13
> > is a "good" commit; head is "bad"):
> >
> > commit 8ee6c13c7fd6eacc2e8c2ace8054f8aac3548966
> > Author: Bastien Guerry <bzg@altern.org>
> > Date:   Sat Feb 23 13:47:44 2013 +0100
> >     Fix typo: an headline -> a headline.
> 
> Yes, the same thing happened to me too, and yes, there was a change
> recently, and here is a link to the discussion about it:
> 
> http://comments.gmane.org/gmane.emacs.orgmode/68011
> 
> I believe you can do the following to get what you were expecting:
> 
> #+ATTR_LaTeX: :width 6cm

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.

-- 
Suvayu

Open source is the future. It sets us free.

  reply	other threads:[~2013-03-12 15:00 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 [this message]
2013-03-12 18:40     ` Aaron Ecay
2013-03-12 22:17       ` Suvayu Ali
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=20130312145955.GD8127@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).