From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Re: Controlling image width and placement in Beamer export Date: Wed, 27 Nov 2013 08:28:19 +0200 Message-ID: <8738miuzng.fsf@syk.fi> References: <87haazb79c.fsf@syk.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlYc7-0004iV-Vl for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 01:28:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlYc0-0008JE-3n for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 01:28:43 -0500 Received: from plane.gmane.org ([80.91.229.3]:51275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlYbz-0008IJ-Sy for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 01:28:36 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VlYby-0000Q5-D6 for emacs-orgmode@gnu.org; Wed, 27 Nov 2013 07:28:34 +0100 Received: from host-137-163-18-130.edu.hel.fi ([137.163.18.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Nov 2013 07:28:34 +0100 Received: from jarmo.hurri by host-137-163-18-130.edu.hel.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Nov 2013 07:28:34 +0100 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: emacs-orgmode@gnu.org Greetings John. John Hendy writes: > This comes up all the time. Perhaps we could lower the frequency by making a small change to the manual? > The key is to put it 1) before results (as you've done) and 2) to use > a named source block (with #+name: foo above your babel code) so that > Org knows what the results block actually is. Otherwise, as you > currently have it, if you re-run the babel block, you'll keep the > results section you already have and it will spit out another one > below it since it no longer recognizes that the babel block and > current, modified results block go together. Done. For some reason not doing 2) also worked correctly, but I agree that it is still a good idea to name the blocks. > Oh, and not that it matters, but I typically do: > #+begin_center > #+ATTR_LATEX: :width 5cm > #+RESULTS: > [[file:triangle.pdf]] > #+end_center Good point, thanks. Jarmo