Re: [O] org-babel export table from R to LaTeX

2012-02-15 Thread Riccardo Romoli
Thanks for your suggestion, I solved the problem using: #+headers: :results output latex #+begin_src R :session *R* :exports results ... print(xtable(summary(mypca))) #+end_src Regards Riccardo 2012/2/14 Andreas Leha andreas.l...@med.uni-goettingen.de Christophe Pouzat

Re: [O] Archiving old instances of repeating todos

2012-02-15 Thread Bernt Hansen
lbml...@hethcote.com writes: How do you archive old instances of repeating todos, C-c C-x C-s archives the whole thing. I'd like to have something that would take the following: ** TODO Mutter an oath DEADLINE: 2012-02-13 Mon ++1d -0d - State DONE from TODO [2012-02-12 Sun

[O] org-store-agenda-views ignores org-export-htmlize-output-type 'css

2012-02-15 Thread Sander Boer
Hi, I'm trying to streamline my agenda views, but I cannot seem to get agendas to be exported *without* inline-css. Right now I have this in my startup files: (setq org-export-htmlize-output-type 'css) (setq org-export-htmlized-org-css-url misc/style.css) Even when trying this in the scratch

Re: [O] multilingual presentation with org

2012-02-15 Thread Nick Dokos
Rustom Mody rustompm...@gmail.com wrote: Thanks to Nick and Jambunathan I have got a minimal setup to be able to type in English (roman script) and easily transliterate to Sanskrit (Devanagari). Now I am exploring how I could 'zip' the two together. My requirements are like this: I

Re: [O] multilingual presentation with org

2012-02-15 Thread suvayu ali
On Wed, Feb 15, 2012 at 14:08, Nick Dokos nicholas.do...@hp.com wrote: I am now exploring the possibilities of how to make a 'presentation' putting the two together. I am not too comfortable using emacs for the final show because emacs occasionally crashes -- due to non-standard fonts,

[O] Babel add comma in front of my '*'

2012-02-15 Thread Daniel Dehennin
Hello, I tryed to babelize an iptables-save file and file to restore it. Babel put a comma in front of my '*', in the following, the '*mangle' became ',*mangle': #+begin_src text # Generated by iptables-save v1.4.4 on Wed Feb 15 10:16:05 2012 ,*mangle :PREROUTING ACCEPT [0:0] :INPUT ACCEPT

Re: [O] Setting multiple variables for code blocks in one property drawer

2012-02-15 Thread Eric Schulte
Viktor Rosenfeld listuse...@googlemail.com writes: Hi, after following the discussion about the new BABEL syntax I was under the impression that the following should work to set two variables in one PROPERTIES drawer: :PROPERTIES: :var: foo=1 :var+: bar=2 :END: However, the definition

Re: [O] issue with babel R evaluate session vs external process

2012-02-15 Thread Eric Schulte
When executing your example below on my system both code blocks work as shown below. #+begin_src R :results output :exports results foo=matrix(1:2) foo #+end_src #+RESULTS: : [,1] : [1,]1 : [2,]2 #+begin_src R :results output :exports results :session *R* foo=matrix(3:8)

Re: [O] Using org-babel with Scheme

2012-02-15 Thread Eric Schulte
Leo Alekseyev dnqu...@gmail.com writes: Is anyone on the list using a recent org-babel with Scheme? I recently started working through SICP, and I'm running into issues evaluating scheme src blocks. Org-babel error buffer pops up with ERROR: Wrong number of arguments to #primitive-generic

Re: [O] sqlite3 in org-babel

2012-02-15 Thread Eric Schulte
Hi Daniel, Have you tried using a sqlite code block? See ob-sqlite.el Best, Daniel Clemente n142...@gmail.com writes: Hi, org-babel works well with sqlite3 if you add this (which I propose for inclusion): - diff --git a/lisp/ob-sql.el b/lisp/ob-sql.el index

[O] [patch] Fix old-way variable assignments

2012-02-15 Thread Sebastien Vauban
From 732a4ef01b93dab34060d64c4deca23ac13aed5e Mon Sep 17 00:00:00 2001 From: Sebastien Vauban s...@mygooglest.com Date: Mon, 26 Dec 2011 12:36:11 +0100 Subject: [PATCH] Fix old-way variable assignments. --- contrib/babel/library-of-babel.org | 68 ++-- 1 files

[O] Bug: [Babel] sqlite if: End of file during parsing

2012-02-15 Thread Philip Rooke
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list.

Re: [O] Temp files from testing are permanent...

2012-02-15 Thread Achim Gratz
Olaf Meeuwissen olaf.meeuwis...@avasys.jp writes: If running `make check` (or similar) creates these files, `make clean` (or similar) should clean them up. I was asking that question to decide whether I do need to extend my Makefile fork to handle the cleanup or if the testsuite needs to be

Re: [O] multilingual presentation with org

2012-02-15 Thread Nick Dokos
brian powell briangpowel...@gmail.com wrote: ... * Now, I know Nick and Jambunathan set up the method to put the translation side-by-side; but, how did they do that? Can't find it in this thread (if I may call it that) [O] multilingual presentation with org--is there a link to how you

Re: [O] Bug: [Babel] sqlite if: End of file during parsing

2012-02-15 Thread Eric Schulte
Does the following work with the addition of :results scalar? #+begin_src sqlite :db ob-bug.db :results output scalar select f_name || || l_name from person; #+end_src If so could you send me the contents of the results block? It appears that ob-sqlite is choking trying to parse the results

Re: [O] Temp files from testing are permanent...

2012-02-15 Thread Brian Wightman
On Wed, Feb 15, 2012 at 11:11 AM, Achim Gratz strom...@nexgo.de wrote: Olaf Meeuwissen olaf.meeuwis...@avasys.jp writes: If running `make check` (or similar) creates these files, `make clean` (or similar) should clean them up. I was asking that question to decide whether I do need to extend

Re: [O] Temp files from testing are permanent...

2012-02-15 Thread Achim Gratz
Brian Wightman midlife...@wightmanfam.org writes: Files created in the system $TMPDIR are not meant (caution: purist view) to remain beyond the execution of the program (or set of programs). You are preaching to the choir... :-) I'm still looking for some wisdom regarding the actual testsuite

Re: [O] multilingual presentation with org

2012-02-15 Thread Rustom Mody
Nick wrote: Rustom has updated a thread on gnu.emacs.help with those suggestions: http://thread.gmane.org/gmane.emacs.help/83724 For some reason my latest update is not showing on gmane but showing on googlegroups

Re: [O] Defcustoms new in Emacs 24.1 missing :version tags

2012-02-15 Thread Glenn Morris
Bastien wrote (on Mon, 13 Feb 2012 at 16:25 +0100): I added the version tags in git: http://orgmode.org/w/?p=org-mode.git;a=commit;h=04971de4b9321becfc2f6f1d0fc78f53726abcc6 Thanks, but if it does not get merged to the Emacs repository before 24.1 is released it won't be too useful.

Re: [O] multilingual presentation with org

2012-02-15 Thread brian powell
* Quoting the original query: I will be teaching singing to a mixed group using a projector. Those who can read sanskrit would be put off by the roman (English) and those who cant of course need the roman. The attached screenshot shows two emacs buffers side-by-side with the two versions. I am

Re: [O] Setting multiple variables for code blocks in one property drawer

2012-02-15 Thread Viktor Rosenfeld
Hi Eric, thanks for your input. I just pulled the latest code from git and while my original example works, the following does not: :PROPERTIES: :var: foo=1 :var+: bar=2 :var+: baz=3 :END: #+BEGIN_SRC sh echo foo: $foo echo bar: $bar echo baz: $baz #+END_SRC If I evaluate the source block I

Re: [O] A manuscript on reproducible research introducing org-mode

2012-02-15 Thread Thomas S. Dye
Aloha Christophe, Has this article appeared in print? If so, can you forward publication details? All the best, Tom Christophe Pouzat christophe.pou...@parisdescartes.fr writes: Thomas S. Dye t...@tsdye.com a écritnbsp;: Christophe Pouzat christophe.pou...@parisdescartes.fr writes: Dear

Re: [O] multilingual presentation with org

2012-02-15 Thread Nick Dokos
brian powell briangpowel...@gmail.com wrote: Make 2 files with line numbers at the begin of each line:  nl sanskrit-song.txt  sanskrit-song_line-numbers-at-front.txt nl english-song.txt english-song_line-numbers-at-front.txt emacs -q -l

Re: [O] A manuscript on reproducible research introducing org-mode

2012-02-15 Thread Samuel Wales
I applaud all of this. Raw data need to be made available by default (with only a few exceptions). Org can help people reproduce all of the succeeding steps also. Another aspect is fraud, which is rampant. A psychologist in Europe recently accused of fraud was said to have been able to guard

Re: [O] multilingual presentation with org

2012-02-15 Thread brian powell
* That'd be cool if it worked, but at least in my case, it doesn't --It works if you put line numbers at the beginning of each line--then it highlights the diff per line in both buffers/in both files--you do Mx ediff-buffers on--I know it works if you do--I tested it before I posted. I usually use

Re: [O] Bug: [Babel] sqlite if: End of file during parsing

2012-02-15 Thread Philip Rooke
Eric Schulte eric.schu...@gmx.com writes: Does the following work with the addition of :results scalar? Yes, there is no error although the format of the result is different to the one database line query or the equivalent shell command. This is what happens for me: #+begin_src sqlite :db

Re: [O] multilingual presentation with org

2012-02-15 Thread brian powell
* Nick mentioned no n to follow the bouncing ball...--in jest I believe; but, seriously, you can do that too with EMACS and XAUTOMATION do: apt-get install xautomation (this will install xte I believe) ** well, if you wanted a bouncing ball to follow the music, in a say, 1 line per 3 seconds

Re: [O] A manuscript on reproducible research introducing org-mode

2012-02-15 Thread Christophe Pouzat
Aloha Tom, Not yet in print, still on the accepted papers list (http://www.sciencedirect.com/science/journal/aip/09284257), sorry. It seems that I chose the slowest neuroscience journal! Your JSS paper of last month (with Eric, Dan and Carsten) is great by the way. It seems that I missed the

Re: [O] multilingual presentation with org

2012-02-15 Thread Nick Dokos
brian powell briangpowel...@gmail.com wrote: --It works if you put line numbers at the beginning of each line--then it highlights the diff per line in both buffers/in both files--you do Mx ediff-buffers on--I know it works if you do--I tested it before I posted. I did and it

Re: [O] multilingual presentation with org

2012-02-15 Thread Jambunathan K
Nick What Brian is saying is this and I am interpreting. There is a line by line correspondence between the two files. So, 1. Put the English file under version control and check it in. 2. Overwrite the English file with the Sanskrit file (remember to preserve line by line correspondence)

Re: [O] multilingual presentation with org

2012-02-15 Thread Nick Dokos
Jambunathan K kjambunat...@gmail.com wrote: Nick What Brian is saying is this and I am interpreting. There is a line by line correspondence between the two files. So, 1. Put the English file under version control and check it in. 2. Overwrite the English file with the Sanskrit file

Re: [O] Defcustoms new in Emacs 24.1 missing :version tags

2012-02-15 Thread Jambunathan K
Bastien Thanks, but if it does not get merged to the Emacs repository before 24.1 is released I am a planning a commit to org.texi sometime tomorrow and I would to see the changes hit the bzr repo. Just giving you a heads up so that you can plan accordingly. --

Re: [O] multilingual presentation with org

2012-02-15 Thread Jambunathan K
Nick Dokos nicholas.do...@hp.com writes: Jambunathan K kjambunat...@gmail.com wrote: Nick What Brian is saying is this and I am interpreting. There is a line by line correspondence between the two files. So, See the attached screenshot. 1. Put the English file under version control

Re: [O] requesting help debugging tangle on windows

2012-02-15 Thread Andrew Cheng
Reproduced the issue with a clean Emacs 24 on Windows with and without my .emacs and .emacs.d on the same machine and on a different machine. Is this message related? Could not read org-id-values from ~\.emacs.d\.org-id-locations. Setting it to nil.

Re: [O] O[PATCH] org-export-generic table exporting

2012-02-15 Thread Wes Hardaker
On Tue, 7 Feb 2012 23:44:42 -0500, Tom Alexander tomalexan...@paphus.com said: TA I noticed that the org-export-generic.el script had options for basic TA features like checkboxes but not for tables, which were locked into TA ascii exporting. The attached patch creates many variables to allow

[O] highlight latex code

2012-02-15 Thread Riccardo Romoli
Hi, is there a way to highlight latex code like \ref{}, \si{}, \ce{}, and so on, such as in org *bold* and /emph/? Regards Riccardo

Re: [O] Temp files from testing are permanent...

2012-02-15 Thread Olaf Meeuwissen
Achim Gratz strom...@nexgo.de writes: Olaf Meeuwissen olaf.meeuwis...@avasys.jp writes: If running `make check` (or similar) creates these files, `make clean` (or similar) should clean them up. I was asking that question to decide whether I do need to extend my Makefile fork to handle the

Re: [O] Defcustoms new in Emacs 24.1 missing :version tags

2012-02-15 Thread Bastien
Hi Jambunathan, Jambunathan K kjambunat...@gmail.com writes: Bastien Thanks, but if it does not get merged to the Emacs repository before 24.1 is released I am a planning a commit to org.texi sometime tomorrow and I would to see the changes hit the bzr repo. Just giving you a heads up so

Re: [O] Defcustoms new in Emacs 24.1 missing :version tags

2012-02-15 Thread Bastien
Hi Glenn, Glenn Morris r...@gnu.org writes: Bastien wrote (on Mon, 13 Feb 2012 at 16:25 +0100): I added the version tags in git: http://orgmode.org/w/?p=org-mode.git;a=commit;h=04971de4b9321becfc2f6f1d0fc78f53726abcc6 Thanks, but if it does not get merged to the Emacs repository before

[O] Weirdness re: inclusion of figures

2012-02-15 Thread Paul Magwene
Hi All, I'm trying to get up to speed with org-mode and babel for doing reproducible computational research. I'm just starting to play around with simple examples, and I'm baffled by the following. This first example, when exported to HTML or LaTeX produces the expected result -- a simply code

Re: [O] Weirdness re: inclusion of figures

2012-02-15 Thread Paul
Paul Magwene pmmagic at gmail.com writes: Hi All, I'm trying to get up to speed with org-mode and babel for doing reproducible computational research. I'm just starting to play around with simple examples, and I'm baffled by the following. Oh, and I forgot to mention, my setup is:

Re: [O] Weirdness re: inclusion of figures

2012-02-15 Thread Nick Dokos
Paul Magwene pmma...@gmail.com wrote: Hi All, I'm trying to get up to speed with org-mode and babel for doing reproducible computational research. I'm just starting to play around with simple examples, and I'm baffled by the following. This first example, when exported to HTML or LaTeX

[O] Usage tip: M-x list-load-path-shadows

2012-02-15 Thread Jambunathan K
Frequently there are issues wrt load-paths and multiple org trees in the load-path. To isolate these issues one can do M-x list-load-path-shadows --