From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Controlling image width and placement in Beamer export
Date: Wed, 27 Nov 2013 08:51:17 -0500 [thread overview]
Message-ID: <87ob56kl62.fsf@gmail.com> (raw)
In-Reply-To: 8738miuzng.fsf@syk.fi
Jarmo Hurri <jarmo.hurri@syk.fi> writes:
> Greetings John.
>
> John Hendy <jw.hendy@gmail.com> 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.
>
Yes, Eric fixed that problem some months ago, so the urgency of naming
code blocks has gone way down - but it should still be considered "best
practice" imo.
--
Nick
next prev parent reply other threads:[~2013-11-27 13:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-26 13:51 Controlling image width and placement in Beamer export Jarmo Hurri
2013-11-26 15:06 ` John Hendy
2013-11-27 6:28 ` Jarmo Hurri
2013-11-27 13:51 ` Nick Dokos [this message]
2013-11-26 15:08 ` John Hendy
2013-11-26 15:19 ` Nick Dokos
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=87ob56kl62.fsf@gmail.com \
--to=ndokos@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).