emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>,
	Rainer M Krug <r.m.krug@gmail.com>
Subject: Re: [BABEL] Bugin :session? Export html - works --- export pdf not
Date: Fri, 09 Jul 2010 08:54:52 -0700	[thread overview]
Message-ID: <87r5jchcqb.fsf@gmail.com> (raw)
In-Reply-To: <CCC6C351-12F6-4C07-9029-0FB067CB5B4C@gmail.com> (Carsten Dominik's message of "Fri, 9 Jul 2010 10:00:22 +0200")

Carsten Dominik <carsten.dominik@gmail.com> writes:

[...]
>
> No, we really need to fix this.
>
> Can someone please try if the following patch does fix this issue?
>

Hi Carsten,

I've just tested your patch against the following minimal example, and
it does fix the problem, in that both of the R blocks now use the
session from the #+BABEL: header.

--8<---------------cut here---------------start------------->8---
#+Title: testing preservation of babel header
#+Author: Eric
#+BABEL: :session *R*

* top header

#+begin_src R :exports code
  x <- 1
#+end_src

The result from the above block + 1 should be src_R{x+1}.
--8<---------------cut here---------------end--------------->8---

Additionally I tested it against the in example which my previous patch
was causing errors, namely

--8<---------------cut here---------------start------------->8---
#+OPTIONS: skip:nil

text before first
* Test


\begin{equation}
E=mc^2
\end{equation}
--8<---------------cut here---------------end--------------->8---

and this exported without problem.  So it looks to me like this patch
should be applied.

Thanks for implementing a solution here.

Best -- Eric

      reply	other threads:[~2010-07-09 15:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-08 10:42 [BABEL] Bugin :session? Export html - works --- export pdf not Rainer M Krug
2010-07-08 18:40 ` Eric Schulte
2010-07-09  7:21   ` Rainer M Krug
2010-07-09  8:00     ` Carsten Dominik
2010-07-09 15:54       ` Eric Schulte [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=87r5jchcqb.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=carsten.dominik@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).