[O] plotting tables

2013-03-23 Thread Eric Abrahamsen
I'm trying to get my head around plotting data from org tables, for use in LaTeX exports. I've been looking at these two pages: http://orgmode.org/worg/org-tutorials/org-plot.html http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html As far as I can tell, there are two general a

Re: [O] Agenda in MobileOrg for Android

2013-03-23 Thread John Hendy
On Sat, Mar 23, 2013 at 8:52 PM, Marcin Borkowski wrote: > Hello list, > > I've bought an Adroid phone and (of course) installed and set up > MobileOrg. Two things make me wonder whether I've found a bug or not. > > 1. I tried to use encryption (by means of (setq > org-mobile-use-encryption t)),

[O] Agenda in MobileOrg for Android

2013-03-23 Thread Marcin Borkowski
Hello list, I've bought an Adroid phone and (of course) installed and set up MobileOrg. Two things make me wonder whether I've found a bug or not. 1. I tried to use encryption (by means of (setq org-mobile-use-encryption t)), but it didn't work. 2. When I choose the menu and then "Outline", I c

Re: [O] Frustrated user of orgmode

2013-03-23 Thread John Hendy
On Sat, Mar 23, 2013 at 5:53 PM, Suvayu Ali wrote: > Hi John, > > On Sat, Mar 23, 2013 at 09:48:16AM -0500, John Hendy wrote: >> >> I hope to get some of the finer details either added to Worg somewhere >> in a usage guide to the new exporter, or perhaps just link to my post >> from Worg somewhere

Re: [O] Using :results output org with new exporter exporting as verbatim with LaTeX

2013-03-23 Thread John Hendy
On Sat, Mar 23, 2013 at 5:12 PM, Eric Schulte wrote: > John Hendy writes: > >> I have an org file with R src block that spits out some file names to >> embed. I don't think I need to reproduce the block for testing >> purposes, but the gist is that I use cat() to spit out some >> =#+begin_center=

Re: [O] Using cat() with R prints R session prompt (>) in results block

2013-03-23 Thread John Hendy
On Sat, Mar 23, 2013 at 5:20 PM, Eric Schulte wrote: > [...] >> I'm getting the > prompt from my R session output >> with the cat() command. For example: >> >> #+name: test >> #+begin_src R :session r :results output raw :exports results >> >> cat(paste("#+end_center")) >> cat("\n") >> >> #+end_sr

Re: [O] python sessions

2013-03-23 Thread John Hendy
On Sat, Mar 23, 2013 at 5:07 PM, Eric Schulte wrote: > Andreas Röhler writes: > >> Am 21.03.2013 08:43, schrieb Bastien: >>> Hi Andreas, >>> >>> Andreas Röhler writes: >>> Nonetheless, still thinking let-var session in org-babel-execute:python needs the fix. >>

Re: [O] [patch] LaTeX export using tabu tables

2013-03-23 Thread Vikas Rawal
> > Attached is a patch that lets you use the "tabu" and "longtabu" table > environments. Mostly the patch is necessary because tabu has its own > annoying syntax for table width declarations. Where everyone else does > something like: Great! > Dunno if this is worth it for other people, but th

[O] [PATCH] bugfix: fix `org-babel-execute-src-block' on remote hosts

2013-03-23 Thread Suhail Shergill
see attached patch. >From 7037a45f3504a8d95019bd2b496a919081e85331 Mon Sep 17 00:00:00 2001 From: Suhail Shergill Date: Sat, 23 Mar 2013 19:26:31 -0400 Subject: [PATCH] bugfix: fix `org-babel-execute-src-block' on remote hosts * lisp/ob.el (org-babel-temp-file): For remote hosts, modify the pref

Re: [O] Frustrated user of orgmode

2013-03-23 Thread Suvayu Ali
Hi John, On Sat, Mar 23, 2013 at 09:48:16AM -0500, John Hendy wrote: > > I hope to get some of the finer details either added to Worg somewhere > in a usage guide to the new exporter, or perhaps just link to my post > from Worg somewhere that makes sense. You can add your information here:

Re: [O] Including setupfile settings during subtree export (new exporter)

2013-03-23 Thread Nicolas Goaziou
John Hendy writes: >> #+INCLUDE: "file" replaces keyword with "file" contents. During subtree >> export, replacement will happen if the keyword is located within the >> subtree being exported. >> >> #+SETUPFILE: "file" just reads Org keywords within "file". All Org >> keywords are global, this on

Re: [O] [PATCH] * lisp/ob-core.el (org-babel-execute-src-block): insert hash for silent results

2013-03-23 Thread Eric Schulte
Aaron Ecay writes: > Hi Eric, > > I’m jointly replying to 2 of your emails. > > 2013ko martxoak 13an, Eric Schulte-ek idatzi zuen: >> This is what is already taking place. The :var header arguments are >> automatically expanded into dependencies between code blocks, and the >> results of previou

Re: [O] Programmatically insert source-blocks

2013-03-23 Thread Eric Schulte
> So here is my FEATURE REQUEST: > > either modify `org-babel-demarcate-block' so that it can be used to > insert a language-specific code-block (with args?) non-interactively, or > add something like `org-insert-block' to Org-mode's core. I would prefer > signature > > ,---

Re: [O] Using cat() with R prints R session prompt (>) in results block

2013-03-23 Thread Eric Schulte
[...] > I'm getting the > prompt from my R session output > with the cat() command. For example: > > #+name: test > #+begin_src R :session r :results output raw :exports results > > cat(paste("#+end_center")) > cat("\n") > > #+end_src > > #+RESULTS: test > #+end_center> > > How do I stop that? > >

Re: [O] Using :results output org with new exporter exporting as verbatim with LaTeX

2013-03-23 Thread Eric Schulte
John Hendy writes: > I have an org file with R src block that spits out some file names to > embed. I don't think I need to reproduce the block for testing > purposes, but the gist is that I use cat() to spit out some > =#+begin_center= and =[[filename]]= stuff. > > R code block header: > > #+nam

Re: [O] python sessions

2013-03-23 Thread Eric Schulte
Andreas Röhler writes: > Am 21.03.2013 08:43, schrieb Bastien: >> Hi Andreas, >> >> Andreas Röhler writes: >> >>> Nonetheless, still thinking >>> >>> let-var session in >>> >>> org-babel-execute:python >>> >>> needs the fix. >> >> I've not been following this thread, can you send a patch with >>

Re: [O] Including setupfile settings during subtree export (new exporter)

2013-03-23 Thread John Hendy
On Sat, Mar 23, 2013 at 5:08 PM, Nicolas Goaziou wrote: > John Hendy writes: > >>> At the moment, there's no way to override a #+setupfile: keyword >>> locally. >> >> I guess I don't understand the purpose of #+include, then. It seems we >> have only two options: >> >> 1) #+setupfile: Will apply

Re: [O] Including setupfile settings during subtree export (new exporter)

2013-03-23 Thread Nicolas Goaziou
John Hendy writes: >> At the moment, there's no way to override a #+setupfile: keyword >> locally. > > I guess I don't understand the purpose of #+include, then. It seems we > have only two options: > > 1) #+setupfile: Will apply to entire buffer as well as subtree > exports. Cannot be overridden

Re: [O] Bug formatting source code in new latex exporter

2013-03-23 Thread Nicolas Goaziou
Hello, Rick Frankel writes: > The cross reference approach seems clever, but maybe a simpler > approach would simply be to add an ATTR_LaTeX(:longlisting) and leave > it up to the user. That's the most reasonable option, indeed. The following patch implements :long-listing attribute for src-bl

Re: [O] Including setupfile settings during subtree export (new exporter)

2013-03-23 Thread John Hendy
On Sat, Mar 23, 2013 at 3:49 PM, Nicolas Goaziou wrote: > John Hendy writes: > >> Thanks for the clarification. For me (since I'm not an elisper), the >> mechanics aren't too important. All I really want is the correct way >> to apply org-mode settings to a buffer or a subtree by default, unless

Re: [O] Including setupfile settings during subtree export (new exporter)

2013-03-23 Thread Nicolas Goaziou
John Hendy writes: > Thanks for the clarification. For me (since I'm not an elisper), the > mechanics aren't too important. All I really want is the correct way > to apply org-mode settings to a buffer or a subtree by default, unless > I specify otherwise inside a subtree to override the buffer-w

Re: [O] Including setupfile settings during subtree export (new exporter)

2013-03-23 Thread John Hendy
On Sat, Mar 23, 2013 at 3:24 PM, Nicolas Goaziou wrote: > Hello, > > John Hendy writes: > >> #+begin_src setupfile >> >> #+AUTHOR:John Henderson >> #+latex_header: \usepackage[hmargin=2.5cm,vmargin=2.5cm]{geometry} >> #+latex_header: \usepackage{mathpazo} >> >> #+end_src >> #+begin_src test-s

Re: [O] Including setupfile settings during subtree export (new exporter)

2013-03-23 Thread Nicolas Goaziou
Hello, John Hendy writes: > #+begin_src setupfile > > #+AUTHOR:John Henderson > #+latex_header: \usepackage[hmargin=2.5cm,vmargin=2.5cm]{geometry} > #+latex_header: \usepackage{mathpazo} > > #+end_src > #+begin_src test-setupfile.org > > #+include: "/path/to/setupfile" Use "#+setupfile:" in

Re: [O] [RFC] Org version of the Org manual

2013-03-23 Thread Nicolas Goaziou
Hello, Achim Gratz writes: > Am 22.03.2013 19:17, schrieb Nicolas Goaziou: >>> You might want to use the (function (lambda ...)) form. >> >> Why? (function (lambda ...)) is equivalent to (lambda ...). In fact, >> `lambda' uses `function' as a subroutine. > > http://www.gnu.org/software/emacs/man

Re: [O] Frustrated user of orgmode

2013-03-23 Thread John Hendy
On Wed, Mar 6, 2013 at 3:45 AM, Vikas Rawal wrote: >> > I have migrated the migration instructions and tips here: >> > http://orgmode.org/worg/org-8.0.html >> > > I have managed to get the new exporter working. Thank you everyone for > helping. Glad you got it working! As promised, I created a bl

[O] Versioning and releases

2013-03-23 Thread Gustav Wikström
Hi! The information of the current release of Org, and the link to the code is not correct on the page orgmode.org. As of this writing, the current version on orgmode.org says 7.9.4, but looking at the link of the zip-archive, it will download version 7.9.3f. And the release-notes doesn't mention

Re: [O] problems with org-protocol + capture templates

2013-03-23 Thread Alvar Maciel
On Wed, Mar 20, 2013 at 6:54 PM, Sebastien Vauban wrote: > AFAIK thanks :P I will change that in my emacs session

Re: [O] Sum marked values in table

2013-03-23 Thread Michael Brand
Hi Stefan On Fri, Mar 22, 2013 at 11:19 AM, Stefan Nobis wrote: > Is there any way to somehow mark cells in an org-table and then sum > over all marked cells of the whole table. For example in the following > table I marked some time values bold: > > || Col 1 | Col 2 | Col 3 | Col4 |

Re: [O] [RFC] Org version of the Org manual

2013-03-23 Thread Achim Gratz
Am 22.03.2013 19:17, schrieb Nicolas Goaziou: You might want to use the (function (lambda ...)) form. Why? (function (lambda ...)) is equivalent to (lambda ...). In fact, `lambda' uses `function' as a subroutine. http://www.gnu.org/software/emacs/manual/html_node/elisp/Anonymous-Functions.htm