Re: [Orgmode] Re: org-style folding for a .emacs

2009-07-31 Thread Eric Schulte
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric, Eric Schulte wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: [...] To demonstrate creation of documents, open the test-export.org file in the base of the org-babel directory, and export it as you would any other org

Re: [Orgmode] Literate Programming with Org mode

2009-07-31 Thread Eric Schulte
Hi Sébastien, Thanks for the description. This is very interesting and I think warrants a re-working of the tangle functionality in org-babel. Given your description below I think I may try to add the Nuweb link/reference syntax source-block-name to org-babel. As source-code blocks are already

Re: [Orgmode] Export plots made with org-plot

2009-07-31 Thread Eric Schulte
Hi Dan, org-plot does not have support for automatic generation of plots on export. Currently to include plots in an exported document you must manually plot the data to a file using the 'file' argument in your plot string, then include the generated file into your org-mode document as you would

Re: [Orgmode] Re: Literate Programming with Org mode

2009-07-31 Thread Eric Schulte
Hi Sam, Not to be overly picky, but I think the scenario you described (while very engaging) is an instance of Reproducible Research [1]. My understanding of Reproducible Research and Literate Programming and their relation is as follows... - Literate Programming :: A style of programming in

Re: [Orgmode] YASnippet fix not working

2009-08-02 Thread Eric Schulte
Kyle Sexton k...@mocker.org writes: I'm trying to get YASnippet working with org-mode, but the fix I've found online doesn't seem to be working. --snip-- (add-hook 'org-mode-hook (lambda () (org-set-local 'yas/trigger-key [tab]) (define-key yas/keymap

Re: [Orgmode] Re: Literate Programming with Org mode

2009-08-03 Thread Eric Schulte
Hi Sébastien, Thanks for giving this a try, comments below... Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric, Eric Schulte wrote: Eric Schulte schulte.e...@gmail.com writes: [...] As source-code blocks are already named in the current org-babel setup this wouldn't be a very

Re: [Orgmode] Go to top node

2009-08-07 Thread Eric Schulte
Nick Dokos nicholas.do...@hp.com writes: Geralt usr.gen...@googlemail.com wrote: is there a command that brings me from somewhere below a top-node to the top-node of this (sub-tree)? C-c C-u is the keybinding for outline-up-heading: this can take a prefix argument to go up multiple

Re: [Orgmode] Re: org-link-mode ...

2009-08-08 Thread Eric Schulte
Bastien bastiengue...@googlemail.com writes: Hi Lennart, (I'm copying the Orgmode mailing list because it helps to get people's opinion on such ideas...) Lennart Borgman lennart.borg...@gmail.com writes: I am missing the minor mode org-link-mode. I just had a look at linkd.el again and

Re: [Orgmode] [PATCH] fontified source-code on latex export with listings package

2009-08-11 Thread Eric Schulte
added a FAQ entry to worg which encapsulates the *very little* I do know about using the listings and color packages in LaTeX documents. http://orgmode.org/worg/org-faq.php#fontified_source_code_w_latex Best -- Eric - Carsten On Aug 8, 2009, at 8:59 PM, Eric Schulte wrote: Hi

Re: [Orgmode] [PATCH] fontified source-code on latex export with listings package

2009-08-11 Thread Eric Schulte
Carsten Dominik carsten.domi...@gmail.com writes: Hi Eric, thanks! BTW, when adding your patch, I added a few more languages to the default settings. Oh, wonderful, Actually looking at your additions I have a few more which may make sense. :gnuplot Gnuplot :ocaml Caml :caml Caml :sql SQL

Re: [Orgmode] Re: Literate Programming with Org mode

2009-08-11 Thread Eric Schulte
Hi Sébastien, Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric, Eric Schulte wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Eric Schulte wrote: Eric Schulte schulte.e...@gmail.com writes: [...] Now (I've done some changes, explained below), I can... Stored

Re: [Orgmode] Re: Org-special-blocks for code chunks

2009-08-13 Thread Eric Schulte
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: [...] Look, I've done an ECM with the different ways I currently see for Org-mode: I haven't followed this whole thread, so please forgive me if I'm duplicating information. With the latest Org-mode from git, regular source-code blocks can

Re: [Orgmode] Re: how to draw picture in org-mode ? Does it support tikz/pgf ?

2009-08-16 Thread Eric Schulte
Hi, Adding support for a new block type is fairly easy for any tool that can be called from the command line. If you would like to try this please read the documentation of org-exp-blocks on worg [1] and follow the example of the asymptote block type [2]. Best -- Eric Footnotes: [1]

Re: [Orgmode] Re: how to draw picture in org-mode ? Does it support tikz/pgf ?

2009-08-16 Thread Eric Schulte
Sorry, Please disregard this email, I didn't realize tikz/pgf was a package of TeX macros and not an external tool. -- Eric Eric Schulte schulte.e...@gmail.com writes: Hi, Adding support for a new block type is fairly easy for any tool that can be called from the command line. If you would

[Orgmode] [PATCH] handle the case when a language's name isn't it's major mode's name

2009-08-16 Thread Eric Schulte
cd4ce4bd47398ae43d477d7a02af0e2139ddcc15 Mon Sep 17 00:00:00 2001 From: Eric Schulte schulte.e...@gmail.com Date: Sun, 16 Aug 2009 17:53:06 -0600 Subject: [PATCH] adding org-src-lang-modes to map languages to their major modes --- lisp/org-exp.el |6 +- lisp/org-src.el | 12 +++- 2 files changed, 16

[Orgmode] [PATCH] fix bug in org-exp-blocks, removing src code indentation

2009-08-17 Thread Eric Schulte
Hi, Please apply the attached patch which replaces `indent-region' with `indent-code-rigidly' in org-exp-blocks. This fixes the problem of indentation being removed from source-code blocks. Thanks -- Eric diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el index 6025ce7..8df0ac1

[Orgmode] variable to publish .org source with project

2009-08-18 Thread Eric Schulte
Hi List, I believe that the following has been discussed in the mailing list fairly recently but for the life of me I can't find any information in the list archives or in the documentation, so here goes... Is there a variable or setting which will enable the publishing of .org source files

[Orgmode] Re: variable to publish .org source with project

2009-08-18 Thread Eric Schulte
Exactly what I was after! Thanks -- Eric Bernt Hansen be...@norang.ca writes: Eric Schulte schulte.e...@gmail.com writes: Is there a variable or setting which will enable the publishing of .org source files alongside the generated .html files when I publish a series of pages to the web

[Orgmode] [patch] now possible to search for text in folded blocks

2009-08-19 Thread Eric Schulte
Please apply, I don't *think* this can break anything. Thanks -- Eric From f73d4b67c027209905dd90868d57440ceacdea28 Mon Sep 17 00:00:00 2001 From: Eric Schulte schulte.e...@gmail.com Date: Wed, 19 Aug 2009 15:17:09 -0600 Subject: [PATCH] now possible to search for text inside of folded blocks

Re: [Orgmode] BEGIN_SRC

2009-08-20 Thread Eric Schulte
Hi Kyle, I tried this with MuMaMo-minor-mode a while back. There is discussion and some code available in the old email threads, see [1] and [2]. Unfortunately MuMaMo-minor-mode fought with Org-mode and the result was too buggy to really use. I believe the author of MuMaMo has been intending a

Re: [Orgmode] org-exp-blocks: what about previewing blocks ?

2009-08-27 Thread Eric Schulte
I don't have any plans to add previewing to org-exp-blocks, however there is an alternative. Org-babel provides for the evaluation and viewing of the results of blocks in Org-mode documents. As such, it is possible to use Org-babel to preview the output of blocks. For example, with Org-babel

Re: [Orgmode] org-exp-blocks: what about previewing blocks ?

2009-08-28 Thread Eric Schulte
and nothing came up. - Carsten On Aug 27, 2009, at 8:51 PM, Eric Schulte wrote: I don't have any plans to add previewing to org-exp-blocks, however there is an alternative. Org-babel provides for the evaluation and viewing of the results of blocks in Org-mode documents

[Orgmode] multiline description list, partial patch

2009-09-09 Thread Eric Schulte
Hi, I've noticed that the bold face isn't applied to multiline description lists. This patch [1] partially fixes the problem, but for some reason I keep losing the bold. Any thoughts/ideas? On a related topic, I'd like to consistently indent my decision list text, rather than sometimes moving

Re: [Orgmode] multiline description list, partial patch

2009-09-11 Thread Eric Schulte
Carsten Dominik carsten.domi...@gmail.com writes: Hi Eric, I am assuming you are trying to do something like this: - a very long description item :: here is the explanation This is not going to work properly with export. Exactly, when description items line-wrap I'd like to preserve

Re: [Orgmode] Re: Exporting after executing code

2009-09-12 Thread Eric Schulte
andrea Crotti andrea.crott...@gmail.com writes: Carsten Dominik carsten.dominik at gmail.com writes: or, for a lighter solution http://repo.or.cz/w/org-mode.git?a=blob_plain;f=contrib/lisp/org-eval.el;hb=HEAD or http://orgmode.org/worg/org-contrib/org-eval-light.php But org-babel

[Orgmode] [Announcement] Org-babel initial release

2009-09-14 Thread Eric Schulte
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: - Source-code execution and control of output in org buffers - currently

Re: [Orgmode] Emacs 21.4.1 support

2009-09-14 Thread Eric Schulte
d...@teklibre.org (Dave Täht) writes: You are right, but I have found the default install of emacs to be so lame on so many distros for so long that I can understand why people have flocked to other editors. Take, for example, the fact that no distro that I know of installs an emacs

Re: [Orgmode] org-babel

2009-09-15 Thread Eric Schulte
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,

Re: [Orgmode] [Announcement] Org-babel initial release

2009-09-15 Thread Eric Schulte
mayor el viento que se opone a su ascenso. - José Ingenieros On Mon, Sep 14, 2009 at 8:44 AM, Eric Schulte schulte.e...@gmail.com 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

Re: [Orgmode] [Announcement] Org-babel initial release

2009-09-15 Thread Eric Schulte
Hi Miguel, It seems I spoke too soon, It looks like the current version of Org-babel will support dynamic clock tables if they are structured as the following with a #+tblname: line preceding the block. --8---cut here---start-8--- #+TBLNAME: todays-clock

Re: [Orgmode] org-babel

2009-09-15 Thread Eric Schulte
: 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 Jörg, Thanks

Re: [Orgmode] [Announcement] Org-babel initial release

2009-09-15 Thread Eric Schulte
Hi Sebastian, Sebastian Rose sebastian_r...@gmx.de writes: Eric Schulte schulte.e...@gmail.com writes: 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]. What else

Re: [Orgmode] [Announcement] Org-babel initial release

2009-09-15 Thread Eric Schulte
Sebastian Rose sebastian_r...@gmx.de writes: Eric Schulte schulte.e...@gmail.com writes: Yes, currently the best way to get a feel for how to add languages would be to start with an existing language file (I'd suggest org-babel-python.el or org-babel-ruby.el, or for simpler less

Re: [Orgmode] [Announcement] Org-babel initial release

2009-09-15 Thread Eric Schulte
Rick Moynihan rick.moyni...@gmail.com writes: Was having a similar idea, as I language I'd love to use with this is my current fave clojure: http://clojure.org/ Everyone I talk to seems to love clojure, I need to find an excuse to use it myself. It's a language based on the JVM and

Re: [Orgmode] [Announcement] Org-babel initial release

2009-09-15 Thread Eric Schulte
Rick Moynihan rick.moyni...@gmail.com writes: I'd imagine most of the time the source blocks within a single file would share the vast majority of environment settings too (for example setting the JVM's class path) so being able to specify these values to pass to the interpreter, once at the

Re: [Orgmode] org-babel, src blocks and asymptote

2009-09-16 Thread Eric Schulte
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

Re: [Orgmode] Re: org-babel, src blocks and asymptote

2009-09-16 Thread Eric Schulte
Nicolas Goaziou n.goaz...@gmail.com writes: Actually, about the first problem, I found about org-src-lang-modes variable and that you can do (add-to-list 'org-src-lang-modes '(asymptote . asy)) this is now provided in the default value of org-src-lang-modes About the second problem, I

Re: [Orgmode] org-babel: load-path question and indentation of blocks

2009-09-16 Thread Eric Schulte
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?

Re: [Orgmode] Re: Using yasnippet with org Mode (C-i works TAB doesn't)

2009-09-19 Thread Eric Schulte
Hmm, The following works for me --8---cut here---start-8--- (add-hook 'org-mode-hook (lambda () (make-variable-buffer-local 'yas/trigger-key) (setq yas/trigger-key [tab]) (define-key yas/keymap [tab]

Re: [Orgmode] Re: Using yasnippet with org Mode (C-i works TAB doesn't)

2009-09-20 Thread Eric Schulte
Nicolas Goaziou n.goaz...@gmail.com writes: Jeff Kowalczyk j...@yahoo.com writes: (add-hook 'org-mode-hook (lambda () (org-set-local 'yas/trigger-key [tab]) (define-key yas/keymap [tab] 'yas/next-field-group))) According to the yasnippet FAQ (or is it on its forum), it should be

Re: [Orgmode] Re: Using yasnippet with org Mode (C-i works TAB doesn't)

2009-09-22 Thread Eric Schulte
Carsten Dominik carsten.domi...@gmail.com writes: Hi Eric, could I ask you to update the FAQ with this issue? done, should update to Worg within the hour -- Eric ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the

Re: [Orgmode] org-babel, position and indentation of resname

2009-09-22 Thread Eric Schulte
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:

[Orgmode] [BUG] org-export-normalize-links: Invalid function: org-if-unprotected-at

2009-09-22 Thread Eric Schulte
Hi, When publishing large html projects I sometimes run into the following error. : org-export-normalize-links: Invalid function: org-if-unprotected-at This happens unpredictably, and I find that it can normally be fixed by some combination of... - updating Org-mode with git pull - running make

Re: [Orgmode] [BUG] org-export-normalize-links: Invalid function: org-if-unprotected-at

2009-09-23 Thread Eric Schulte
Carsten Dominik carsten.domi...@gmail.com writes: On Sep 23, 2009, at 4:59 AM, Eric Schulte wrote: Hi, When publishing large html projects I sometimes run into the following error. : org-export-normalize-links: Invalid function: org-if-unprotected-at This happens unpredictably, and I

Re: [Orgmode] Advanced table

2009-09-29 Thread Eric Schulte
Hi, Using Org-babel the following source-code block could prove at least a partial solution. --8---cut here---start-8--- #+begin_src emacs-lisp (let ((total 0) (responding t) purchases) (while responding (setq purchases (cons

Re: [Orgmode] Is there a good way to use org as blog system?

2009-09-30 Thread Eric Schulte
Water Lin water...@ymail.com writes: I want to mantain a local static html blog system on my local computer. I think org is good enough to organise the stuff. For static html using the built in publishing features of Org-mode is probably sufficient (see [1]). If you want to get more

[Orgmode] LaTeX export bug (skipping outline levels)

2009-09-30 Thread Eric Schulte
Hi, I've noticed that when exporting to LaTeX Org-mode will skip levels that are two deeper than their immediate parent level. See the attached example where the *** third level headline is not exported to LaTeX. simple.org Description: Binary data I'll also attach the resulting .tex file

Re: [Orgmode] Re: Is there a good way to use org as blog system?

2009-09-30 Thread Eric Schulte
Nagarjuna G. nagar...@gnowledge.org writes: org offers multiple ways of solving problems. worg, blorg, and Manoj's perl script, and I am sure there will be others. I am now thinking on the following idea: Using the new features (babel) added in the fresh release of org, it is indeed

Re: [Orgmode] Org-mode version 6.31trans; Exporting src blocks to LaTeX produces .tex file that fails to compile

2009-10-01 Thread Eric Schulte
Hi Chris, I've replied in-line below... cg...@win.tue.nl writes: The org file contains: #+srcname: determine the neighbors of the segments that the bisector hits #+begin_src lua :tangle no :exports code local s1, s2 = intersecting_segs[1], intersecting_segs[2] local n1 =

Re: [Orgmode] suppress \label{} in LaTeX export

2009-10-01 Thread Eric Schulte
---8--- Thanks -- Eric Nick Dokos nicholas.do...@hp.com writes: Eric Schulte schulte.e...@gmail.com wrote: Is it possible to suppress the \label{sec-1} lines following each headline after a LaTeX export? I've found no mention of this in the manual, and the presence of headline

Re: [Orgmode] Re: Org-mode version 6.31trans; Exporting src blocks to LaTeX produces .tex file that fails to compile

2009-10-02 Thread Eric Schulte
Chris Gray chrismg...@gmail.com writes: Eric Schulte wrote: with my personal Emacs configuration and I got the following in the resulting .tex file #+begin_example \lstset{language=lua} \begin{lstlisting} local s1, s2 = intersecting_segs[1], intersecting_segs[2] local n1

Re: [Orgmode] Re: allow emacs-lisp results to be pretty-printed

2009-10-04 Thread Eric Schulte
Hi Benny, Benjamin Andresen be...@in-ulm.de writes: Benjamin Andresen be...@in-ulm.de writes: where should this special parameter be documented? I would add a page on Worg that is linked from org-babel.org that contains the following. I have done this for org-babel-screen.org here:

[Orgmode] Re: allow emacs-lisp results to be pretty-printed

2009-10-04 Thread Eric Schulte
Benjamin Andresen be...@in-ulm.de writes: I was talking about language specific documentation. I don't think every language mode should be documented at [1]. That could become very big and cumbersome to look through. agreed Yesterday I added a section called Language specific

[Orgmode] [patch] latex export: org preprocesses code inside #+begin/end_latex block

2009-10-06 Thread Eric Schulte
Hi, I just wanted to share the following bug and potential patch. When code inside of a #+begin/end_latex block looks like a table, org-mode processes it as a table on latex export. For example given the following Org-mode --8---cut here---start-8--- The

Re: [Orgmode] Buffer-wide definitions in org-babel

2009-10-07 Thread Eric Schulte
Juan Reyero joa...@gmail.com writes: Greetings, Hi, I am trying to define buffer-wide initializations in org-babel, so that I can import a python module once and then use its exported symbols in all the code chunks throughout the buffer.  Is there a way to do it?  I have tried all the

Re: [Orgmode] Buffer-wide definitions in org-babel

2009-10-07 Thread Eric Schulte
development file. Thanks for helping to point out this need. Best -- Eric Eric Schulte schulte.e...@gmail.com writes: Juan Reyero joa...@gmail.com writes: Greetings, Hi, I am trying to define buffer-wide initializations in org-babel, so that I can import a python module once

Re: [Orgmode] org-babel-tangle indentation

2009-10-08 Thread Eric Schulte
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

Re: [Orgmode] problem with example block and headings

2009-10-12 Thread Eric Schulte
Giovanni Ridolfi giovanni.rido...@yahoo.it writes: --- Lun 12/10/09, Eric S Fraga ucec...@ucl.ac.uk ha scritto: Footnotes: [1]  I wonder whether there should be a separate orb-babel mailing list to avoid too much noise in the org-mode list? what about a tag in the subject line such as:

Re: [Orgmode] [org-babel] Idea: Rendering output of code blocks inline (like org links)

2009-10-15 Thread Eric Schulte
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

Re: [Orgmode] Org Babel, Ruby and Outlook

2009-10-15 Thread Eric Schulte
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,

Re: [Orgmode] Evangelize the world with Org-mode

2009-10-16 Thread Eric Schulte
Karl Maihofer ignora...@gmx.de writes: Am 16.10.09 11:29, schrieb Sébastien Vauban: - or, even better (as it would be install-less): a Wiki based on Org syntax with document generation capability (button to generate a PDF). Perhaps ikiwiki? also blorgit could be relevant

[babel] Re: [Orgmode] Re: [org-babel] Idea: Rendering output of code blocks inline (like org links)

2009-10-16 Thread Eric Schulte
Maurizio Vitale m...@cuma.i-did-not-set--mail-host-address--so-tickle-me writes: Eric == Eric Schulte schulte.e...@gmail.com writes: Eric 3) the results of a source code block are in no way Eric constrained to be located after the body of the block. In Eric cases where

Re: [Orgmode] [babel] language support

2009-10-17 Thread Eric Schulte
Hi Tom, I certainly believe what you describe should be possible, although it pains me to imagine embedding pure latex code in an Org-mode document and losing the ability to use the org latex export helpers :), but I digress. Org-babel needs to be told to recognize latex source code blocks and

[Orgmode] Re: [babel] allow emacs-lisp results to be pretty-printed

2009-10-18 Thread Eric Schulte
Eric Schulte schulte.e...@gmail.com writes: WRT the pp patch for emacs-lisp, I think it is an excellent addition and in fact I think that it points to a more general need. Languages should have the option of returning values as they would appear when written in the language. That is how

Re: [Orgmode] [babel] Is :results output inline possible ?

2009-10-19 Thread Eric Schulte
Hi al, This is currently possible by adding either raw or org to your results headers. So the following should work. #+srcname: demoruby #+begin_src ruby :results output org require 'date' puts * heading for demo puts This demo done on #{Date.today} puts Try to create a table in org-mode syntax

Re: [Orgmode] [babel] :session

2009-10-19 Thread Eric Schulte
Hi Tom, Thomas S. Dye t...@tsdye.com writes: Aloha all, In org-babel.org one of the R examples uses a header argument :session that is not otherwise documented. What a glaring omission, we will have to add this to the documentation. Thanks for pointing this out. I don't trust my Lisp

Re: [Orgmode] Worg: Patch w/ fixes for two broken links in org-web

2009-10-19 Thread Eric Schulte
applied David Maus maus.da...@gmail.com writes: Hi there, Attached patch fixes two broken links on Worg/org-web: Two personal pages were moved. Regards, -- David ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the

Re: [Orgmode] [babel] noweb for :sessions?

2009-10-19 Thread Eric Schulte
Hi Tom, That is an interesting proposal, and surprisingly simple to implement. Please pull the latest version of Org-mode, and you will find that there is now a :noweb header argument available for source-code blocks which has the effect of expanding noweb references before source-block

Re: [Orgmode] org-babel and matplotlib?

2009-10-19 Thread Eric Schulte
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

Re: [Orgmode] [babel] :noweb and R

2009-10-19 Thread Eric Schulte
Thomas S. Dye t...@tsdye.com writes: Hi Eric, The :noweb argument works for me with python, but not with R. [...] This throws an error in the 2nd block funcall: Symbol's function definition is void: R-mode: Hi Tom, The problem here is that `R-mode' is not available on your system,

Re: [Orgmode] Other modes in SRC

2009-10-20 Thread Eric Schulte
andrea andrea.crott...@gmail.com writes: Is it possible maybe automatically activate other modes inside a #+BEGIN_SRC block? I've seen there is CCC (or something like that) enables to have multi modes in the same buffer, but maybe there's also a quicker way inside org-mode... If you mean

Re: [Orgmode] Sage Math - Maybe some inspiration for org-babel

2009-10-21 Thread Eric Schulte
Hi Darlan, Thanks for pointing out this interesting tool. my comment are inline below Darlan Cavalcante Moreira darc...@gmail.com writes: Hello org-users I have been reading with attention the E-Mails about org-babel here on the list and decided to play with it a little this weekend. It

Re: [Orgmode] Sage Math - Maybe some inspiration for org-babel

2009-10-22 Thread Eric Schulte
Darlan Cavalcante Moreira darc...@gmail.com writes: Hi Eric, My comments are also inline At Wed, 21 Oct 2009 09:11:50 -0600, Eric Schulte wrote: [...] what behavior would you suggest results from a :hide header argument? My suggestion is that if a source block has the :hide header

Re: [Orgmode] org-babel: Meta-LaTeX-Python-Environment

2009-10-28 Thread Eric Schulte
Thomas S. Dye t...@tsdye.com writes: On Oct 27, 2009, at 12:55 PM, Eric Schulte wrote: Although I still don't fully understand the need to embed latex *inside* of source-code blocks, perhaps the attached org-babel-latex.el file [1] will represent a simpler solution for embedding

Re: [babel] Re: [Orgmode] org-babel: Meta-LaTeX-Python-Environment

2009-10-28 Thread Eric Schulte
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

Re: [babel] Re: [Orgmode] org-babel: Meta-LaTeX-Python-Environment

2009-10-28 Thread Eric Schulte
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

Re: [Orgmode] [babel] noweb expansion in latex source blocks

2009-11-01 Thread Eric Schulte
Thomas S. Dye t...@tsdye.com writes: On Nov 1, 2009, at 9:47 AM, Dan Davison wrote: Thomas S. Dye t...@tsdye.com writes: Aloha all, Noweb expansion in latex source blocks inserts spaces that can introduce unwanted paragraph breaks in LaTeX. Hi Tom, I've just fixed this issue and the

Re: [Orgmode] org-babel-tangle xml text

2009-11-03 Thread Eric Schulte
Martin G. Skjæveland mart...@ifi.uio.no writes: Is there a way I can add xml and n3 to the list of supported languages? These languages does not need interpretation, so I'm thinking it should be quite easy to add. I have fumblingly tried (add-to-list 'org-babel-tangle-langs '(xml)) and

Re: [Orgmode] [babel] options to the example directive

2009-11-03 Thread Eric Schulte
Dan Davison davi...@stats.ox.ac.uk writes: This is a consequence of the same issue: org-exp-blocks preprocesses your src block in a pre-export buffer (a copy of the original), hands it to org-babel, which creates the results block (overwriting the version where you had manually inserted

[Orgmode] possible patch: org-edit-src-code breaking window configuration

2009-11-03 Thread Eric Schulte
Hi, I've noticed that org-edit-src breaks my window configuration. The patch below fixes this, but introduces a new global variable, and might not have sensible behavior if multiple source-code blocks are edited at once. Even so I personally prefer it's behavior to the current default behavior

Re: [Orgmode] [babel] options to the example directive

2009-11-04 Thread Eric Schulte
Dan Davison davi...@stats.ox.ac.uk writes: Eric S Fraga ucec...@ucl.ac.uk writes: At Tue, 03 Nov 2009 13:57:22 -0700, Eric Schulte wrote: Dan Davison davi...@stats.ox.ac.uk writes: This is a consequence of the same issue: org-exp-blocks preprocesses your src block in a pre-export

Re: [Orgmode] [babel] demonstration mode-switching between code blocks

2009-11-04 Thread Eric Schulte
Torsten Wagner torsten.wag...@gmail.com writes: Hi Adam, Thanks for sharing.  Just for reference, there are few major modes out there implementing this kind of approach:  http://www.emacswiki.org/emacs/MultipleModes For example I have used mmm-mode to good effect

Re: [Orgmode] [babel] trimming tangled code

2009-11-04 Thread Eric Schulte
Hi Martin, I just pushed up some changes to the org-babel-tangle functionality which should fix this problem. Best -- Eric Martin G. Skjæveland mart...@ifi.uio.no writes: Hi all, I'm using org-babel to tangle XML documents. That works fine (thanks to help from Eric S. on this list

Re: [Orgmode] [babel] dot in pdf directly

2009-11-09 Thread Eric Schulte
Sebastian Rose sebastian_r...@gmx.de writes: andrea Crotti andrea.crott...@gmail.com writes: Still a couple of questions, I found something here in the newsgroup but nothing helped me... First, how many and where can I find all the possible #+begin_...? I mean why is #+begin_dot and not

Re: [Orgmode][babel] noweb does not work (as expected)

2009-11-09 Thread Eric Schulte
Torsten Wagner torsten.wag...@gmail.com writes: I think the main point is that the current set up means that org-mode and org-babel share a common history of commits. My current idea of git submodules is that I would include something as a submodule when it is a module that gets used by

Re: [Orgmode] Clojure support for org-babel

2009-11-09 Thread Eric Schulte
Hi Joel, Thanks for this excellent addition, and for the comprehensive test suite! org-babel-clojure is now available in the latest org-mode from git, and the org-babel-clojure test suite has been added to worg in org-contrib/babel/development.org Thanks! -- Eric Joel Boehland

Re: [Orgmode] Re: [babel] dot in pdf directly

2009-11-10 Thread Eric Schulte
Sebastian Rose sebastian_r...@gmx.de writes: andrea Crotti andrea.crott...@gmail.com writes: Eric Schulte schulte.eric at gmail.com writes: The two separate mechanisms are confusion, but for now are necessary to allow org-mode users to evaluate some simple block types (like dot) on export

Re: [Orgmode] Re: [babel] dot in pdf directly

2009-11-10 Thread Eric Schulte
andrea Crotti andrea.crott...@gmail.com writes: Eric Schulte schulte.eric at gmail.com writes: Note that the solution I'm about to propose relies on the use of org-babel and #+begin_src dot blocks rather than #+begin_dot blocks. When in these situations I will often set the block so

Re: [Orgmode] Is there a good way to use org as blog system?

2009-11-11 Thread Eric Schulte
Would someone be willing to generate a worg page to address using org as blogging system? This questions seems to be appear on list every month or two, and there have been a wealth of interesting tools and solutions proposed. It would be great to have them collected with links and feedback

Re: [Orgmode] emacs for the mac -- best distribution/version

2009-11-12 Thread Eric Schulte
Marcelo de Moraes Serpa celose...@gmail.com writes: Hello fellows orgers, After almost 5 years in a love-hate relationship with Linux and lately, Ubuntu (which I acknowledge, is a marvelous OS, and that has been getting greater with each release), I decided to go to the next level (read:

Re: [Orgmode] [babel] problem removing label from src

2009-11-12 Thread Eric Schulte
Hi Martin, Thanks for pointing this out, our regular-expression was greedily consuming too much of the source block switches. I've just pushed up a change which should fix you issue. Best -- Eric Martin G. Skjæveland mart...@ifi.uio.no writes: Hi all, I use the -r -l option for source

Re: [Orgmode] Blorgit SVN integration

2009-11-13 Thread Eric Schulte
Francesco Pizzolante f...@missioncriticalit.com writes: Hi, I've started playing with Blorgit and it really looks very promising... I have a few questions: 1) Is it possible to integrate Blorgit with SVN instead of git? If yes, how can I do it? Yes, it should be possible to use any

Re: [Orgmode] Ignore some lines when using org-plot/gnuplot

2009-11-14 Thread Eric Schulte
Darlan Cavalcante Moreira darc...@gmail.com writes: Hi everybody, Is there a way to ignore some lines when using org-plot/gnuplot to plot a table in Org? I have a table with some expenses, but the last two lines are the total calculated from the previous lines. I'd like to plot only the

[Orgmode] [PATCH] sha1 hash of latex fragments to avoid regeneration

2009-11-15 Thread Eric Schulte
that this greatly speeds up export to html and the `org-preview-latex-fragment' command. Cheers -- Eric From 13e1c48fa6cac43b0c87ca0fbc8e349f7a9fa864 Mon Sep 17 00:00:00 2001 From: Eric Schulte schulte.e...@gmail.com Date: Sun, 15 Nov 2009 17:00:09 -0700 Subject: [PATCH] latex fragment images cached

Re: [Orgmode] [babel] problems with :exports results [6.33trans (release_6.33c.7.g69b46)]

2009-11-16 Thread Eric Schulte
Hi Martin, Thanks for the bug report. It appears that the issue was related to searching backwards to the previous source-code block before block evaluation. Our many results types present no short supply of potential red herrings. I just pushed up a fix to this issue, please let me know if

Re: [Orgmode] [PATCH] sha1 hash of latex fragments to avoid regeneration

2009-11-16 Thread Eric Schulte
. I'll give this some more thought, but perhaps the latex image fragment patch is now viable. Best -- Eric From 0e9a359c1d5e8f67c20066533171fb1edc11ba61 Mon Sep 17 00:00:00 2001 From: Eric Schulte schulte.e...@gmail.com Date: Mon, 16 Nov 2009 16:53:34 -0700 Subject: [PATCH] latex fragment images

Re: [Orgmode] [PATCH] sha1 hash of latex fragments to avoid regeneration

2009-11-16 Thread Eric Schulte
Eric Schulte schulte.e...@gmail.com writes: Hi Carsten, Thanks for the feedback, I have comments inline below Carsten Dominik carsten.domi...@gmail.com writes: [...] Now, I am sure that you are already planning to do the same for ditaa images etc? of course :) A first pass at a patch

Re: [Orgmode] [babel] latex code in final pdf

2009-11-17 Thread Eric Schulte
Hi Andrea, It looks as thought the |s in your Haskell code are being interpreted as tables by org-mode. This was a problem a couple of months ago but has since been fixed. For example when I export #+begin_src haskell sumListCond :: Int - Int - [Int] - Int sumListCond l n xs | foldl

Re: [Orgmode] [PATCH] sha1 hash of latex fragments to avoid regeneration

2009-11-17 Thread Eric Schulte
would like to make, so if it looks good to you I would say yes, please apply it. Thanks -- Eric - Carsten On Nov 17, 2009, at 3:42 AM, Eric Schulte wrote: Eric Schulte schulte.e...@gmail.com writes: Hi Carsten, Thanks for the feedback, I have comments inline below Carsten Dominik

Re: [Orgmode] [PATCH] sha1 hash of latex fragments to avoid regeneration

2009-11-17 Thread Eric Schulte
! - Carsten On Nov 17, 2009, at 4:24 PM, Eric Schulte wrote: Carsten Dominik carsten.domi...@gmail.com writes: Wow, this is fantastic! Do you think it is ready to be included (because you say first pass...) Yes, I said first pass because I had only done minimal testing. However all

  1   2   3   4   5   6   7   8   9   10   >