From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Guidance for preparing document with code
Date: Wed, 29 May 2013 12:13:16 -0400 [thread overview]
Message-ID: <8738t5lq77.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: loom.20130529T173110-455@post.gmane.org
SabreWolfy <sabrewolfy@gmail.com> writes:
> I'm using Org ~7.8 and would like to prepare a document for export to HTML
> to make available to others to read. This document will contain heading,
> text, etc., R code (for my reference) and the output of the R code. Where
> should I look to learn how to do this in R? Org-babel? Is this literate
> programming? I've read much about Org over the years, and I think I've
> probably tried this already once before, but I'd like to know where to start
> looking.
>
org-babel is the right tool. Getting the headers right might involve
some fiddling: there have been many question on the ML about those so
you can try searching, but if after some effort you are still running
into a wall, just post what you have, what you want to accomplish and
how your purported solution fails: there are lots of people able and
willing to help. The only thing to keep in mind is that the shorter the
example, the better: don't post your 100-page org file; extract the
example(s) that you want help with.
These are all "obvious" but I find that repetition of this sort (although
it might irk the lifers on the list) is useful.
If you are using the R code for your reference, and only presenting the
results, that's *not* literate programming: you don't have to worry
about the noweb stuff.
--
Nick
next prev parent reply other threads:[~2013-05-29 16:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-29 15:33 Guidance for preparing document with code SabreWolfy
2013-05-29 16:06 ` Thomas S. Dye
2013-05-29 17:00 ` Sebastien Vauban
2013-05-29 17:28 ` SabreWolfy
2013-05-30 11:18 ` SabreWolfy
2013-05-29 17:26 ` SabreWolfy
2013-05-29 16:09 ` Thorsten Jolitz
2013-05-30 10:40 ` SabreWolfy
2013-05-29 16:13 ` Nick Dokos [this message]
2013-05-29 17:24 ` SabreWolfy
2013-05-29 17:47 ` Nick Dokos
2013-05-29 17:15 ` Marcin Borkowski
2013-05-29 17:30 ` SabreWolfy
2013-05-29 19:45 ` Marcin Borkowski
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=8738t5lq77.fsf@pierrot.dokosmarshall.org \
--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).