emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] [new exporter] bug in subtree export
@ 2012-11-10 13:47 Andreas Leha
  2012-11-10 14:00 ` Andreas Leha
  2012-11-10 14:01 ` Nicolas Goaziou
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Leha @ 2012-11-10 13:47 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I am not able to export a subtree, that has babel references pointing
outside, when I use the new exporter (it is working with the old one).

See the following example and export the second subtree only to
reproduce the problem:

---[ example orgmode file ]
#+TITLE: refs not in tree
#+LATEX_HEADER: \usepackage{hyperref}


* Some code
#+name: mycode
#+begin_src R
1 + 1
#+end_src

#+results: mycode
: 2


* Some text
Here, I input the results:
1 + 1 is src_R[:var ttt=mycode() :results raw]{paste("=", ttt)}
---------


Regards,
Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [babel] [new exporter] bug in subtree export
  2012-11-10 13:47 [babel] [new exporter] bug in subtree export Andreas Leha
@ 2012-11-10 14:00 ` Andreas Leha
  2012-11-10 14:01 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Leha @ 2012-11-10 14:00 UTC (permalink / raw)
  To: emacs-orgmode

Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:

> Hi all,
>
> I am not able to export a subtree, that has babel references pointing
> outside, when I use the new exporter (it is working with the old one).
>
> See the following example and export the second subtree only to
> reproduce the problem:
>
> ---[ example orgmode file ]
> #+TITLE: refs not in tree
> #+LATEX_HEADER: \usepackage{hyperref}
>
>
> * Some code
> #+name: mycode
> #+begin_src R
> 1 + 1
> #+end_src
>
> #+results: mycode
> : 2
>
>
> * Some text
> Here, I input the results:
> 1 + 1 is src_R[:var ttt=mycode() :results raw]{paste("=", ttt)}
> ---------

After a restart of emacs, I am not able to reproduce it myself, anymore.
Sorry for the noise.

Regards,
Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [babel] [new exporter] bug in subtree export
  2012-11-10 13:47 [babel] [new exporter] bug in subtree export Andreas Leha
  2012-11-10 14:00 ` Andreas Leha
@ 2012-11-10 14:01 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2012-11-10 14:01 UTC (permalink / raw)
  To: Andreas Leha; +Cc: emacs-orgmode

Hello,

Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:

> I am not able to export a subtree, that has babel references pointing
> outside, when I use the new exporter (it is working with the old one).

I cannot reproduce it.

When exporting "* Some text" subtree on:

--8<---------------cut here---------------start------------->8---
#+TITLE: refs not in tree
#+LATEX_HEADER: \usepackage{hyperref}


* Some code
#+name: mycode
#+BEGIN_SRC emacs-lisp 
(+ 1 1)
#+END_SRC


* Some text
Here, I input the results:
1 + 1 is src_emacs-lisp[:var ttt=mycode() :results raw]{ttt}
--8<---------------cut here---------------end--------------->8---

I get:

--8<---------------cut here---------------start------------->8---
\begin{document}

\maketitle
Here, I input the results:
1 + 1 is 2
% Generated by Org mode 7.9.2 in Emacs 24.2.1.
\end{document}
--8<---------------cut here---------------end--------------->8---

Do you use the latest Org? Is it specific to R, or can you reproduce my
example?


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-10 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-10 13:47 [babel] [new exporter] bug in subtree export Andreas Leha
2012-11-10 14:00 ` Andreas Leha
2012-11-10 14:01 ` Nicolas Goaziou

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).