emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James Harkins <jamshark70@gmail.com>
To: Emacs-orgmode@gnu.org
Subject: [bug] new beamer exporter always adds default width to graphics
Date: Tue, 12 Mar 2013 21:25:37 +0800	[thread overview]
Message-ID: <CAFniQ7U5hjSirT4fjkaOUW1hUiPBWAwZBaKUrV221ePX+hx98g@mail.gmail.com> (raw)

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

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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12 13:25 James Harkins [this message]
2013-03-12 14:38 ` [bug] new beamer exporter always adds default width to graphics Jay Kerns
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=CAFniQ7U5hjSirT4fjkaOUW1hUiPBWAwZBaKUrV221ePX+hx98g@mail.gmail.com \
    --to=jamshark70@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).