From: Jay Kerns <gjkernsysu@gmail.com>
To: jamshark70@dewdrop-world.net
Cc: Emacs-orgmode@gnu.org
Subject: Re: [bug] new beamer exporter always adds default width to graphics
Date: Tue, 12 Mar 2013 10:38:27 -0400 [thread overview]
Message-ID: <CAFiLVraNQxP+1mjR9UoKNXYU7b9i51NUD50KshzfM2Gv1wiCmg@mail.gmail.com> (raw)
In-Reply-To: <CAFniQ7U5hjSirT4fjkaOUW1hUiPBWAwZBaKUrV221ePX+hx98g@mail.gmail.com>
Dear James,
On Tue, Mar 12, 2013 at 9:25 AM, James Harkins <jamshark70@gmail.com> wrote:
> Hi,
>
> Apologies if this was previously reported. I read the digest, so I
> might not have seen the most recent e-mails. I took a quick glance at
> gmane's archive and didn't readily see anything.
>
> The width attribute for beamer graphics is not handled properly at
> present (current master).
>
> 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.
>
> Please fix. Thanks.
> hjh
>
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 hope this helps,
--
Jay
next prev parent reply other threads:[~2013-03-12 14:38 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 [this message]
2013-03-12 14:59 ` Suvayu Ali
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=CAFiLVraNQxP+1mjR9UoKNXYU7b9i51NUD50KshzfM2Gv1wiCmg@mail.gmail.com \
--to=gjkernsysu@gmail.com \
--cc=Emacs-orgmode@gnu.org \
--cc=jamshark70@dewdrop-world.net \
/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).