From: "Eric Schulte" <schulte.eric@gmail.com>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [BABEL] html export for R not working, but for sh and others
Date: Thu, 01 Jul 2010 08:55:25 -0700 [thread overview]
Message-ID: <87mxubqjrm.fsf@gmail.com> (raw)
In-Reply-To: <AANLkTinW3aIKQOsrjgfp3ZZILMT0dS3jv2WUMILsyf3U@mail.gmail.com> (Rainer M. Krug's message of "Thu, 1 Jul 2010 10:14:13 +0200")
Hi Rainer,
Rainer M Krug <r.m.krug@gmail.com> writes:
> Hi
>
> I am trying to export the attached test.org file to HTML, but I can only
> export it, when I change the source block language to anything different
> from R.
>
> I also attach my emacs.org file, but I am not doing any customisations to R.
>
I've just started up a minimal Emacs instance and loaded the babel
portion of your attached config, but I am able to export your attached
org file w/o error. A couple of questions.
1) are you able to export to latex? If so, then maybe the issue has to
do with fontification of R code by htmlize-buffer
2) could you send in the actual error being reported by Emacs, or a
stack trace?
>
> In addition: if I specify :session *R* in #:BABEL: , the code is
> evaluated, even though I specified :exports code. Is this intended?
>
Yes, this is for Sweave like behavior.
If you have a session specified for every block in the buffer, and you
are exporting the buffer, there are cases when you need a block to be
executed (e.g. because it sets the value of a variable used by a
subsequent block) even though you *do not* want the results of the block
included in the final document. To support these use cases, on export
every block with a session is executed so that it's effects on the
persist session takes place.
Cheers -- Eric
>
> Thanks,
>
> Rainer
next prev parent reply other threads:[~2010-07-01 15:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-01 8:14 [BABEL] html export for R not working, but for sh and others Rainer M Krug
2010-07-01 15:55 ` Eric Schulte [this message]
2010-07-02 7:44 ` Rainer M Krug
2010-07-02 12:37 ` Rainer M Krug
2010-07-02 22:52 ` Eric Schulte
2010-07-03 18:42 ` Rainer M Krug
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=87mxubqjrm.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=r.m.krug@gmail.com \
/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).