Dear thread participants, please note that we were breaking the rule of
prepending the subject line with the string [babel]!
One question inline below.
Eric Schulte schulte.e...@gmail.com writes:
Thomas S. Dye t...@tsdye.com writes:
On Oct 27, 2009, at 12:55 PM, Eric Schulte wrote:
On Oct 28, 2009, at 5:19 AM, Eric Schulte wrote:
I see, you are using the org-mode file a level above the direct
export. Maybe another option here would be to tag headlines based on
which export target they are included within, and then base your
exports
on the headline tags (using
Dan Davison davi...@stats.ox.ac.uk writes:
Am I right in thinking that one issue remaining in this thread is that
we currently have no means of tangling the output of org-babel-latex?
Thus the 'begin_src latex' blocks that we can tangle have unevaluated
variables, and the resulting
On Oct 28, 2009, at 6:10 AM, Dan Davison wrote:
Dear thread participants, please note that we were breaking the rule
of
prepending the subject line with the string [babel]!
One question inline below.
Eric Schulte schulte.e...@gmail.com writes:
Thomas S. Dye t...@tsdye.com writes:
On
[cc'ing list who were accidentally omitted]
Torsten Wagner torsten.wag...@gmail.com writes:
Hi Dan,
1. Hiding of the source code blocks for export
I like to export the results of the source code block to LaTeX only.
However,
Using ':exports results' specifies that
Thomas S. Dye t...@tsdye.com writes:
On Oct 28, 2009, at 6:10 AM, Dan Davison wrote:
Am I right in thinking that one issue remaining in this thread is that
we currently have no means of tangling the output of org-babel-latex?
Thus the 'begin_src latex' blocks that we can tangle have
On Oct 28, 2009, at 7:15 AM, Eric Schulte wrote:
Thomas S. Dye t...@tsdye.com writes:
On Oct 28, 2009, at 6:10 AM, Dan Davison wrote:
Am I right in thinking that one issue remaining in this thread is
that
we currently have no means of tangling the output of org-babel-
latex?
Thus the
Thomas S. Dye t...@tsdye.com writes:
[...]
Eric,
I think Torsten has a clearer idea than I do about what kinds of
programming structures might be appropriate here, but your suggestion
looks to me like an elegant replacement for the file based technique
I'm using to pass information into
Hi Dan,
thanks for helping me to realize my idea.
Actually, I do not know whether it is not working or it is not working as I
expect:
I used the following simple example:
--8--cut here--start---8---
* Simple Test of org-babel
#+srcname: test()
On Oct 26, 2009, at 2:24 PM, Dan Davison wrote:
Torsten Wagner torsten.wag...@gmail.com writes:
...
...
The inline code blocks will not be processed inside source blocks. I'm
not sure how to achieve what you want with the current machinery, but
have you read the recent posts by Thomas
Ups,
sorry that happens if you are working normally with emacs and compose a
message in a online editor (gmail). My fingers hit some emacs shortcuts
without my brain was telling them ;) ... and fired up the unfinished mail.
Anyhow I hope it is somehow clear what I like to do
Thus, just the
Perhaps this will do what you want? When I run org-babel-tangle on the
following org file, and then LaTeX the output, the resulting pdf file
says: A bit of LATEX code, with the result: 6
* Test org
#+begin_src python
x = 6
f = open('python_results.tex', 'w')
f.write(str(x))
On Oct 27, 2009, at 12:55 PM, Eric Schulte wrote:
Torsten Wagner torsten.wag...@gmail.com writes:
Perhaps this will do what you want? When I run org-babel-tangle
on the following org file, and then
LaTeX the output, the resulting pdf file says: A bit of LATEX
code, with the result:
Torsten Wagner torsten.wag...@gmail.com writes:
...
Within a LaTeX-file (org-file) I like to use python snippets to perform
calculus
and other tasks which are otherwise extremely difficult or time consuming to
perform directly in LaTeX. E.g. on-the-fly-generation of graphs or calculus
Hi,
I started working on an little latex-package to allow the execution of python
code in LaTeX a while ago. It stopped at some point and now it is on my
pending project lists for a while already.
When I read about org-babel I saw a lot of similarities. I like to start again
on the basis of
Hi all.
If I understand correctly, one can make inline images using org-babel and
GNU-R. Will it work with matplotlib and python.
Thanks
Petro.
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
Hi Petro,
Yes, this should be possible. To force the resulting image to be
included in the org-mode file you should add file to your results
header argument, and ensure that your block of python code, generates
the file, saves the file, and returns the path to the file as the last
part of the
At Thu, 15 Oct 2009 13:01:46 -0400,
Dan Davison wrote:
I'm not on ubuntu 9.10 yet. Carsten / others -- is 6.30c what you'd get
with emacs 23 on the current ubuntu beta release, or is org frozen at
6.21 in emacs23?
I can't speak for ubuntu but Debian's unstable version of emacs (which
I'm
Hi Dan,
Eric == Eric S Fraga ucec...@ucl.ac.uk writes:
Eric At Thu, 15 Oct 2009 13:01:46 -0400,
Eric Dan Davison wrote:
I'm not on ubuntu 9.10 yet. Carsten / others -- is 6.30c what you'd get
with emacs 23 on the current ubuntu beta release, or is org frozen at
6.21 in
Hello list!
I haven't still managed to get org-babel to work, but I do have a doubt that
might turn into a feature request :)
Would it be possible to have chunks of code around the buffer get evaluated
when you close them with some kind of token, and them only show the output,
*just like links
Hello,
Well, I'm very, very excited to start using org-babel and making cool stuff
with it. However, I could not yet get it to work here.
The first thing that is not working, and I hope some more emacs-savvy users
could put me in the right direction is that, I have this code in my .emacs:
;ORG
Hi Marcelo,
(Please note that we've agreed to tag org-babel messages with [babel])
Marcelo de Moraes Serpa celose...@gmail.com writes:
Hello,
Well, I'm very, very excited to start using org-babel and making cool stuff
with it. However, I could not yet get it to work here.
OK, we must fix
Marcelo de Moraes Serpa celose...@gmail.com writes:
Hello list!
I haven't still managed to get org-babel to work, but I do have a doubt that
might turn into a feature
request :)
Would it be possible to have chunks of code around the buffer get evaluated
when you close them with some
Hi All,
In a similar way to [1], I want to import my Outlook appointments into
Org. I thought of a less sophisticated way to archive this using Org Babel.
I coded a Ruby script to print out the Appointments in Org Format so I
can see them in the agenda view. I execute the code using the
Hi Miguel,
That is a very cool application. To insert your script's results
directly into the Org-mode buffer try changing your header line from
#+begin_src ruby :results output
to
#+begin_src ruby :results output raw
as this seems like the sort of thing which would be generally useful,
Dan == Dan Davison davi...@stats.ox.ac.uk writes:
Dan Maurizio Vitale
Dan m...@cuma.i-did-not-set--mail-host-address--so-tickle-me
Dan writes:
Dan [...]
It would be nice if it was possible to have multiple result
sections. This way I could embed in the document the
Dan == Dan Davison davi...@stats.ox.ac.uk writes:
Dan Maurizio Vitale maurizio.vit...@polymath-solutions.com
Dan writes:
Dan == Dan Davison davi...@stats.ox.ac.uk writes:
Dan Maurizio Vitale
Dan m...@cuma.i-did-not-set--mail-host-address--so-tickle-me
Dan writes:
Thanks for the work on org-babel.
I'm not sure the following is even mature enough in my mind to qualify
it as a feature request. Maybe in the end it might be replaced by some
other functionality that subsume it.
But here's the scenario: I'd like to use org-babel for documenting the
Maurizio Vitale
m...@cuma.i-did-not-set--mail-host-address--so-tickle-me writes:
[...]
It would be nice if it was possible to have multiple result
sections. This way I could embed in the document the result that was
obtained when writing the documentation, while still allowing the person
Maurizio Vitale maurizio.vit...@polymath-solutions.com writes:
Dan == Dan Davison davi...@stats.ox.ac.uk writes:
Dan Maurizio Vitale
Dan m...@cuma.i-did-not-set--mail-host-address--so-tickle-me
Dan writes:
Dan [...]
It would be nice if it was possible to have
At Mon, 14 Sep 2009 07:44:57 -0600,
Eric Schulte wrote:
Dan Davison and I (Eric Schulte) are happy to announce that Org-babel
has now been released as a contributed package in Org-mode with
corresponding documentation on worg [1].
Org-babel provides the following functionality:
-
Eric S Fraga ucec...@ucl.ac.uk writes:
Eric et al.,
any chance of creating a jython interface? Or has anybody else done
this already?
I've tried creating one from your org-babel-python.el file by changing
all occurrences of python to jython (bar one: the run-python command
as that
Hi,
I've been using org-babel for a couple of weeks now and I really like it
for programming. One thing I've noticed, though, is that source blocks
are not indented when they are output by org-babel-tangle. This makes
the output source hard to read, and incorrect for languages where
indentation
Hi Chris,
You have touched upon a true limitation in the current tangle
functionality. I think this issue has two parts (one of which you
address below).
1) it is impossible to specify a piece of heavily indented code in a
source-code block. For example
--8---cut
Chris, Eric --
Coincidentally, I think the email I just sent to the list provides a
solution to these issues. I've also been using org-babel-tangle to write
a python program this week. I've been finding it very helpful merely
using basic org mode features such as folding and restructuring to
Hey there,
on irc (#org-mode) someone asked how one would go about to insert the
result of a emacs-lisp function without it being transformed into a
org-mode table.
I didn't see any other way, so I wrote a small patch that allows the
parameter :results to accept 'pp'. Is this the right way? And
Benjamin Andresen be...@in-ulm.de writes:
Hello,
after seeing org-babel I immediately thought of the eev project by
Eduardo Ochs (http://angg.twu.net/)
Basically I wanted to do what he does in this video:
http://angg.twu.net/eev-current/anim/channels.anim.html
So I wrote a small
Hello,
I would like to put all my asymptote code in the header of the org file,
and then, display the result later. I tried to move #+resname: but it is
recreated just beneath the corresponding code at each export. I tried to
use #+srcname: without success either.
Is it possible to achieve this
Hello,
after seeing org-babel I immediately thought of the eev project by
Eduardo Ochs (http://angg.twu.net/)
Basically I wanted to do what he does in this video:
http://angg.twu.net/eev-current/anim/channels.anim.html
So I wrote a small org-babel gnu screen interface.
Eev does the same with
Nicolas Goaziou n.goaz...@gmail.com writes:
Hello,
I would like to put all my asymptote code in the header of the org file,
and then, display the result later. I tried to move #+resname: but it is
recreated just beneath the corresponding code at each export. I tried to
use #+srcname:
Eric Schulte schulte.e...@gmail.com writes:
Sebastian Rose sebastian_r...@gmx.de writes:
Hi Dan and Eric,
I'm an org-babel fan now :)
Here are two little things I noticed and that I want to discard from my
todo list.
* load-path
Why is load modified only temporarily in
Hello,
Org-babel looks very interesting. I am pleased to see an asymptote
module included in it. While testing it, I think I found 2 problems :
To activate the asymptote module, you have to begin the source block,
for example, with
#+begin_src asymptote :file bezier.pdf
Unfortunately, the
Hi Nicolas,
Nicolas Goaziou n.goaz...@gmail.com writes:
Hello,
Org-babel looks very interesting. I am pleased to see an asymptote
module included in it. While testing it, I think I found 2 problems :
To activate the asymptote module, you have to begin the source block,
for example, with
Hi Dan and Eric,
I'm an org-babel fan now :)
Here are two little things I noticed and that I want to discard from my
todo list.
* load-path
Why is load modified only temporarily in org-babel-init.el?
Wouldn't this here make sense?
diff --git a/contrib/lisp/org-babel-init.el
Sebastian Rose sebastian_r...@gmx.de writes:
Hi Dan and Eric,
I'm an org-babel fan now :)
Here are two little things I noticed and that I want to discard from my
todo list.
* load-path
Why is load modified only temporarily in org-babel-init.el?
Wouldn't this here make sense?
org-babel doesn't work here. First question: do I have the current
org-version? I updated today and have 6.30trans (On 2 computers, Mac
Leopard and ubuntu).
If that's ok, next:
I have
(require 'org-babel-init)
(require 'org-babel-ruby) ;; requires ruby, irb, ruby-mode, and
inf-ruby
Hi Jörg,
you need to have the contrib/lisp directory of Org on your load path.
- Carsten
On Sep 15, 2009, at 9:58 AM, Jörg Hagmann wrote:
org-babel doesn't work here. First question: do I have the current
org-version? I updated today and have 6.30trans (On 2 computers, Mac
Leopard and
Thank you, David and Carsten.
Now it works with shell scripts.
With Ruby, I get:
Source block produced no output (Using the first example from the manual)
Ruby versions 1.8.6 on the Mac, 1.8.7 on ubuntu.
?
Thanks, Jörg
Carsten Dominik wrote:
Hi Jörg,
you need to have the contrib/lisp
Sorry for the question below. I needed require 'date'; maybe a first
example not needing to load anything would avoid this kind of noise.
In any case, thanks a lot for this tool!
Cheers, Jörg
Jörg Hagmann wrote:
Thank you, David and Carsten.
Now it works with shell scripts.
With Ruby, I
Hi Jörg,
Thanks for the catch, I've added require 'date' to the initial ruby
example. -- Eric
Jörg Hagmann joerg.hagm...@unibas.ch writes:
Sorry for the question below. I needed require 'date'; maybe a first
example not needing to load anything would avoid this kind of noise.
In any case,
Hi Eric,
apropos require: if the result of an emacs-lisp source block is a list, a
function from org-table.el is needed (orgtbl-to-orgtbl, or so) which is not
loaded by default. In other words, somewhere a (require org-table) is missing.
Nice tool, btw,
Stephan
Eric Schulte wrote:
Hi Stephan,
You are correct, surprisingly org-table isn't explicitly required
anywhere in org-babel. It must have already been loaded in every
previous usage. I've just pushed a fix to this issue.
Thanks -- Eric
Stephan Schmitt drmab...@cs.tu-berlin.de writes:
Hi Eric,
apropos require:
201 - 252 of 252 matches
Mail list logo