From: Feiming Chen <feimingchen@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Org-Babel Mode : a suggestion and a contribution article [Babel]
Date: Tue, 9 Aug 2011 14:17:56 -0700 (PDT) [thread overview]
Message-ID: <1312924676.57195.YahooMailClassic@web81708.mail.mud.yahoo.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 621 bytes --]
I wonder if it is possible to use the macro option (#+MACRO:) to save the typing
of header options (of code blocks). For example, currently it does NOT work if I try to use
#+MACRO: p :file $1.png :width 1000 :height 800
to shorten the header of a code block to
#+begin_src R {{{p(plot)}}}
Anyway, I found Org-Babel Mode to be a great tool since Sweave for writing R literate program document. I wrote a how-to article on its use (see attached file "how-to-use-*.html", other files are raw and support files). Hopefully it can be useful to some users.
Sincerely,
Feiming Chen
[-- Attachment #1.2: Type: text/html, Size: 848 bytes --]
[-- Attachment #2: test.org --]
[-- Type: application/vnd.lotus-organizer, Size: 639 bytes --]
[-- Attachment #3: test.html --]
[-- Type: text/html, Size: 4580 bytes --]
[-- Attachment #4: how-to-use-Org-Babel-for-R.html --]
[-- Type: text/html, Size: 11956 bytes --]
[-- Attachment #5: how-to-use-Org-Babel-for-R.org --]
[-- Type: application/vnd.lotus-organizer, Size: 5506 bytes --]
next reply other threads:[~2011-08-09 21:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-09 21:17 Feiming Chen [this message]
2011-08-09 21:30 ` Org-Babel Mode : a suggestion and a contribution article [Babel] Nick Dokos
2011-08-11 10:01 ` suvayu ali
2011-08-17 13:32 ` Bastien
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=1312924676.57195.YahooMailClassic@web81708.mail.mud.yahoo.com \
--to=feimingchen@yahoo.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).