From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: controling width of graphviz source block result
Date: Tue, 17 Jun 2014 14:25:27 +0200 [thread overview]
Message-ID: <86vbrzen9k.fsf@somewhere.org> (raw)
In-Reply-To: 87sin9daof.fsf@channing.harvard.edu
regcl wrote:
> Thank you for your earlier comments. In order to adjust the scaling of
> a graphic generated by a R source block I am doing this ...
>
> ** adjusting scaling of a figure generated from source
>
> #+begin_src R :results graphics silent :file foo2.pdf :exports results
> plot(c(1:10), c(10:1))
> #+end_src
>
> #+attr_latex: :width .35\textwidth
> file:foo2.pdf
>
> While this does work, it is a wee bit unsatisfying to type "foo2.pdf""
> twice.
>
> Is there a better way to apply the latex keyword to the results?
What I do is that I simply execute it a first time, so that the link is
created (that is, the name is copied) by Org.
Best regards,
Seb
--
Sebastien Vauban
prev parent reply other threads:[~2014-06-17 12:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-21 16:55 controling width of graphviz source block result regcl
2014-02-21 17:25 ` Nicolas Goaziou
2014-02-21 20:11 ` regcl
2014-02-22 8:45 ` Nicolas Goaziou
2014-02-23 3:01 ` regcl
2014-06-12 22:29 ` regcl
2014-06-14 11:54 ` Nicolas Goaziou
2014-06-17 12:25 ` Sebastien Vauban [this message]
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=86vbrzen9k.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).