Re: [O] aide

2012-06-25 Thread Olaf.Hamann
Hello Sylvie, I never used odt-export before and I can reproduce your problem. I'm using MS Windows and Emacs 24.1.50 with orgmode 7.8.10. It looks like, that org-export expects a Windows command line tool called 'zip'. I downloaded the Gzip binary from

Re: [O] aide

2012-06-25 Thread Olaf.Hamann
Am 25.06.2012 12:31, schrieb Jambunathan K: Olaf.Hamanno.ham...@gmx.net writes: After that M-x org-export-as-odt does not display the zip-Error any more, but stops with 'Unable to create odt file (1)' in my case. When this happens, the *Messages* buffer usually contains the error string

Re: [O] org-mode and google calendar

2012-04-26 Thread Olaf.Hamann
https://github.com/kiwanami/emacs-calfw Thank you for this hint. org-mode was mentioned in a german linux magazine article with topic calfw - should help to popularize org-mode. http://www.linux-magazin.de/NEWS/Emacs-Calfw-1.0-zeigt-Google-und-Org-Kalender

Re: [O] [babel] would like to to do simple text block expansion with parameters or multiline macro replacement text

2012-04-21 Thread Olaf.Hamann
I think I will try to adapt m4 as org-language so that it can be used for executing src-blocks. m4 is no solution as it does not support multibyte character

Re: [O] [babel] Literate Programming for publication

2012-04-12 Thread Olaf.Hamann
Torsten Wagnertorsten.wag...@gmail.com writes: How can I manage to use different code blocks (latex and python) but still be able to inject results from python into the latex code blocks? noweb and vars looked good but it did not work for me. Hi Torsten, chapter 14.8.2.1 of the Org Mode

Re: [O] [babel] would like to to do simple text block expansion with parameters or multiline macro replacement text

2012-04-12 Thread Olaf.Hamann
Am 07.04.2012 19:22, schrieb Olaf.Hamann: Hello all, Is there an easy way to do a simple text block expansion with parameters, I mean sth like this: #+begin_src xsl :tangle outputfile :noweb tangle {{{gCV(argument1,param2)}}} #+end_src #+MACRO: gCV replacement text... ...spread over different

Re: [O] var expansion on tangling only once per file

2012-04-12 Thread Olaf.Hamann
Am 12.04.2012 09:41, schrieb Rainer M Krug: On 11/04/12 16:15, Eric Schulte wrote: Would it be possible to simply only declare the variable in a header argument applying to the first code block? Using a session would keep that variables state through all subsequent code blocks. Would work

[O] [babel] would like to to do simple text block expansion with parameters or multiline macro replacement text

2012-04-07 Thread Olaf.Hamann
Hello all, I'm very happy with all the new features I discovered in org-babel (since 6.8 or so) and played around a lot trying to convert my old funnelweb-techniques (kind of LPstuff) into org-babel and now I'm a little confused with all that elaborated stuff like header arguments, result

Re: [O] Literate Programming - Continue a Source Block?

2011-06-16 Thread Olaf.Hamann
Am 08.06.2011 17:20, schrieb Neeum Zawan: [...] Now the original noweb allows what I'm asking for. If you begin a source block with a name of an existing block but append an = symbol, it knows to append to that source block. It would be great if org-mode could add that capability. Another

Re: [O] Formal description of Org files

2011-04-20 Thread Olaf.Hamann
If I remember well, the thing with BNF and similar approaches was called 'context free grammar' - and I'm not sure, if this requirement is fullfilled by the org syntax. As I mean to remember is e.g. that Perl could not be declared fully with a context free grammar. As if 'parse an org-file

Re: [O] how to compare org-mode version to current file needs

2011-03-17 Thread Olaf.Hamann
Hi Bastien, I'm using head of git repository and Eric Schulte has just added a feature to org-babel, which I do use very often (expanding macros in src blocks). Tangling without that new feature produce corrupt code files. So I would like to give a hint to myself (as I run different Emacse in

Re: [O] how to compare org-mode version to current file needs

2011-03-17 Thread Olaf.Hamann
Am 17.03.2011 10:12, schrieb Bastien: [...] I don't see the real need for something complicated. Just say that the .org file needs current head until it's not true anymore. If you don't want to have to update this message, say (insert This file needs (org-version)) [..] Pragmatical, easy to

[O] how to compare org-mode version to current file needs

2011-03-16 Thread Olaf.Hamann
Hello, is there any org-mode expression for saying this org-file needs org-version xxx which will compare current needs of the file to used orgmode at org-file startup and present a little message to the user? I think, it could be done with an emacs-lisp block comparing org-version to a

[O][Babel] tangle - kind of macro expansion inside src blocks?

2011-03-14 Thread Olaf.Hamann
Hello all, is there a way to do so or are there plans to integrate a macro expansion mechanism into org-babel-tangle like that one org-mode already provides? #+MACRO: name replacement {{{name}}} I would like to replace config parameter in begin_src...end_src blocks. Change at one place in

[O][Babel] Deep interest in LP feature of org-mode

2011-03-14 Thread Olaf.Hamann
Hello all, this starts with kind of an introduction to the list as I will post more in future and leads to a few concept questions concerning org-babel-detangle at the end. First of all many thanks to the authors of the babel package! Integrating babel into core orgmode made me discovering

Re: [O][Babel] Deep interest in LP feature of org-mode

2011-03-14 Thread Olaf.Hamann
Thank you for your quick reply and the precise answers, Eric. Comparing org-export vs. org-tangle I've mixed up how I used text processing: * for myself I often use it simply for creating codefiles (tangling) - org-export would be sufficient * for tasks in office there is need for creating a

Re: [O][Babel] tangle - kind of macro expansion inside src blocks?

2011-03-14 Thread Olaf.Hamann
Hi Eric, thank you very much, it works as announced. I have probs with replacing/overlaying the built-in org-mode in my Emacs (w32-binary), but that's not issue here. After an eval-buffer of ob-tangle.el I can reproduce the expected result. Exporting the buffer first is necessary, but that