Re: [O] Integration of RefTeX and LaTeX export

2012-02-16 Thread Andreas Willig
Hi Nick, thanks for this, but i cannot get it to work ... I have started a vanilla emacs without any init file (emacs -q), have loaded your snippet from a file and evaluated the buffer. Again, the export-handler does not get called. I am running Debian 6.0.4 and my emacs is the one coming with it

Re: [O] Integration of RefTeX and LaTeX export

2012-02-16 Thread Nick Dokos
Andreas Willig wrote: > > Hi Thomas, > > thanks for this hint. I have looked at this, the changed / added functions are > below, everything else has not changed. I still have a problem. > > I have created a new link type as you suggested and have consulted google > on how to do it (my emacs-li

Re: [O] Integration of RefTeX and LaTeX export

2012-02-16 Thread Andreas Willig
Hi Thomas, thanks for this hint. I have looked at this, the changed / added functions are below, everything else has not changed. I still have a problem. I have created a new link type as you suggested and have consulted google on how to do it (my emacs-lisp-fu is not good enough to sort out dir

Re: [O] multilingual presentation with org

2012-02-16 Thread Rustom Mody
On Fri, Feb 17, 2012 at 4:29 AM, Daniel Clemente wrote: > > > El Wed, 15 Feb 2012 13:33:49 +0530 Rustom Mody va escriure: > > > Now I am exploring how I could 'zip' the two together. My requirements > are like this: > > > > Any thoughts/suggestions? > > > > I made a small markup language which l

[O] Bug: Habit consistency graph redisplay bug involving filters [7.8.03 (release_7.4.2711.gc2c5.dirty)]

2012-02-16 Thread Thomas Morgan
I've been noticing that some habit consistency graphs get wiped out by clocking in; I'd like to offer this minimal test case and patch. To reproduce the bug, save this Org file as `test-case.org': * TODO Item One

Re: [O] Killing list and subtree?

2012-02-16 Thread Leo
On 2012-02-16 23:08 +0800, François Pinard wrote: > Is there an easy command to kill a list and its subtree hierarchy? > Something like `C-c C-x C-w' but which would work at the list level > rather than at the item level? fold the tree using TAB and then C-k? Leo

Re: [O] sqlite3 in org-babel

2012-02-16 Thread Daniel Clemente
> Have you tried using a sqlite code block? See ob-sqlite.el I didn't notice there were both ob-sql and ob-sqlite. It would be useful to mention sqlite inside ob-sql. Perhaps they should be united? I still prefer ob-sql for sqlite because it lets me pass the parameter ":init /dev/null"

Re: [O] Controlling pagination on headings in Latex/PDF export?

2012-02-16 Thread Jos'h Fuller
Hi! Thanks for your kind words! ; - ) I did wrap the "mykeepwithnextpar" definition and I moved the call between the heading and the table as suggested, but it still doesn't seem to want to cooperate (heading on one page, table on the next). Since this seems to be strange behaviour, I will set

Re: [O] multilingual presentation with org

2012-02-16 Thread Daniel Clemente
El Wed, 15 Feb 2012 13:33:49 +0530 Rustom Mody va escriure: > Now I am exploring how I could 'zip' the two together. My requirements are > like this: > > Any thoughts/suggestions? > I made a small markup language which lets you write it in this way: -

Re: [O] Integration of RefTeX and LaTeX export

2012-02-16 Thread Thomas S. Dye
Andreas Willig writes: > Hi, > > i am relatively new to org mode. Yesterday i have tried to use org mode for > the first time to write the beginnings of a paper, and found that i wanted to > insert literature references and a bibliography. I like RefTeX a lot and > google > provided me some link

Re: [O] Controlling pagination on headings in Latex/PDF export?

2012-02-16 Thread Nick Dokos
Jos'h Fuller wrote: > OK, I'm an idiot. I forgot to put in the ":" after the "#+latex", so > it didn't get processed correctly. Indeed, I've *never* made such an idiotic mistake (well, at least not since yesterday) - how could you? :-) OTOH, I tend to forget the + routinely, but you know what t

Re: [O] Controlling pagination on headings in Latex/PDF export?

2012-02-16 Thread Nick Dokos
Sebastien Vauban wrote: > Jos'h, > > Jos'h Fuller wrote: > > OK, I'm an idiot. I forgot to put in the ":" after the "#+latex", so it > > didn't get processed correctly. > > That happens to everybody... No need to be an idiot ;-) > > > However, once I did put it in, it does work to keep the hea

[O] Integration of RefTeX and LaTeX export

2012-02-16 Thread Andreas Willig
Hi, i am relatively new to org mode. Yesterday i have tried to use org mode for the first time to write the beginnings of a paper, and found that i wanted to insert literature references and a bibliography. I like RefTeX a lot and google provided me some links for proper integration. As a result,

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

2012-02-16 Thread Samuel Wales
As a followup to my last comment, this explains how Stapel fooled almost everybody and kept raw data hidden: http://chronicle.com/blogs/percolator/the-fraud-who-fooled-almost-everyone/27917 And NYT "Fraud Case Seen as a Red Flag for Psychology Research" which has a raw data take: http://ww

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

2012-02-16 Thread Achim Gratz
Achim Gratz writes: > Barring any setup or options I might have missed, it looks like I will > have to do two things: first, set TMPDIR to a newly created directory > during the test runs and second, remove that directory after the test > (with an option to keep it for inspection and removing only

Re: [O] Controlling pagination on headings in Latex/PDF export?

2012-02-16 Thread Sebastien Vauban
Jos'h, Jos'h Fuller wrote: > OK, I'm an idiot. I forgot to put in the ":" after the "#+latex", so it > didn't get processed correctly. That happens to everybody... No need to be an idiot ;-) > However, once I did put it in, it does work to keep the headings together with > the table data. Howeve

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

2012-02-16 Thread Stephen Eglen
Samuel Wales writes: > 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. Some people on the list might like to see the short (13 min) segment on Duke University's recent problem

Re: [O] Controlling pagination on headings in Latex/PDF export?

2012-02-16 Thread Jos'h Fuller
OK, I'm an idiot. I forgot to put in the ":" after the "#+latex", so it didn't get processed correctly. However, once I did put it in, it does work to keep the headings together with the table data. However... it also seems to embed the spurious word "afterheading" (in italics) after most (but

Re: [O] Controlling pagination on headings in Latex/PDF export?

2012-02-16 Thread Jos'h Fuller
Hi Sebastien! I tried it, and it didn't work. However, I may not have set it up right: --snip!-- #+latex \def\mykeepwithnextpar{\par\nobreak\@afterheading} #+latex: \newpage * Period... ** Asset #+latex: \mykeepwithnextpar{} *** DEPARTMENT | Table | Data | Here | --snip!-- Did I do this cor

Re: [O] Controlling pagination on headings in Latex/PDF export?

2012-02-16 Thread Sebastien Vauban
Hi Jos'h, Jos'h Fuller wrote: > I am familiar with \newpage (and I especially like to put it at the front of > the document to keep my content out of my table of contents!), but I was > hoping to be able to do this in some more automatic fashion, since these are > long reports and I want to be abl

[O] [0][babel][R] Undesired conversion of integers to floats in R code block output

2012-02-16 Thread Daniel Drake
Hi All, I'm using R in org-mode/babel to analyze data from a psychological study. The subjects in this study are identified by nine digit integers (e.g., 987654321) that I treat as strings (or factors) in my R data frames. Tables output by an R code block that contain these subject IDs are not

Re: [O] Controlling pagination on headings in Latex/PDF export?

2012-02-16 Thread Russell Adams
I often use newpage myself, and have wondered if there were a way to ensure every first level (maybe second level too?) always had an automatic newpage before it. On Thu, Feb 16, 2012 at 06:25:40PM +, Jos'h Fuller wrote: > Hi! > > I am familiar with \newpage (and I especially like to put it a

Re: [O] Controlling pagination on headings in Latex/PDF export?

2012-02-16 Thread Jos'h Fuller
Hi! I am familiar with \newpage (and I especially like to put it at the front of the document to keep my content out of my table of contents!), but I was hoping to be able to do this in some more automatic fashion, since these are long reports and I want to be able to process them unattended.

Re: [O] Controlling pagination on headings in Latex/PDF export?

2012-02-16 Thread Nick Dokos
Jos'h Fuller wrote: > Hi! > > I'm have an org-mode document something like this: > > * Period 2012-02-06 to 2012-02-12 > ** Asset > *** DEPARTMENT > | Data| Data | Data | Data | > |-+--+--+--| > | XX |1 |1 |0 | > | YY

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

2012-02-16 Thread Achim Gratz
Olaf Meeuwissen writes: > Successful tests can clean up after themselves but failed tests should > not so you can debug. The decision to remove these files should be left > to whoever runs the test suite. That implies that even successful tests > don't really have to bother cleaning up after the

[O] Controlling pagination on headings in Latex/PDF export?

2012-02-16 Thread Jos'h Fuller
Hi! I'm have an org-mode document something like this: * Period 2012-02-06 to 2012-02-12 ** Asset *** DEPARTMENT | Data| Data | Data | Data | |-+--+--+--| | XX |1 |1 |0 | | YY |5 |4 |0 | (There are more "As

Re: [O] hidestarsfile: "hidestars" for file

2012-02-16 Thread Michael Brand
Hi all For the case that anyone should be interested in this, still only a monolog: On Thu, Feb 9, 2012 at 19:57, Michael Brand wrote: > Now I see that for testing how a hidestarsfile looks like in a file > viewer or simple editor, preferred over switching the major mode is: > Just stay in Org m

Re: [O] understanding column groups

2012-02-16 Thread Jambunathan K
Rustom Mody writes: > I am trying to make (and understand!) column groups for html export > According to http://orgmode.org/manual/Column-groups.html having a > line starting / and then showing < for group start and group end > makes column groups. > > When I make and org file containing these 4

Re: [O] understanding column groups

2012-02-16 Thread Chris Malone
Hi Rustom, I think the issue is that you have missed assigning a column (the 3rd) to a group. Also, to simplify things, as stated no the link you gave, you can just specify the start of column groups. Something like the following should work as expected: * head | / | <

[O] understanding column groups

2012-02-16 Thread Rustom Mody
I am trying to make (and understand!) column groups for html export According to http://orgmode.org/manual/Column-groups.html having a line starting / and then showing < for group start and group end makes column groups. When I make and org file containing these 4 lines: * head | / | <

Re: [O] Table formulas: Cannot use column names on the left hand side

2012-02-16 Thread Michael Brand
Hi Yu On Thu, Feb 16, 2012 at 16:56, Yu wrote: > I tried today to use named columns for calculations. While this works > on the right hand side of the equation, names don't seem to work for > the left hand side -- Named columns are not supported on the left hand side. > which is a problem, beca

Re: [O] using variables in org text

2012-02-16 Thread Thomas S. Dye
Rainer M Krug writes: > Hi > > I have defined a variable as follow > > #+property: var DC="/home/rkrug/tmp/CLUSTER" > > and I am using this path quite often in source blocks (works nicely as > expected) but also in org directly, e.g. > > * DC path is $DC$ > The DC path $DC$ is pointing to a di

[O] Table formulas: Cannot use column names on the left hand side

2012-02-16 Thread Yu
Hello! I tried today to use named columns for calculations. While this works on the right hand side of the equation, names don't seem to work for the left hand side -- which is a problem, because a change in column arrangement, that isn't caused by org functions (e.g. manually inserting a column w

[O] Killing list and subtree?

2012-02-16 Thread François Pinard
Hi, Org friends. Is there an easy command to kill a list and its subtree hierarchy? Something like `C-c C-x C-w' but which would work at the list level rather than at the item level? For now, I'm either repeating a string of `C-k' or setting a region to cut, and it happens that neither is very ef

[O] [PATCH] Add "Time-stamp: <>" in (first 8 lines of) export template

2012-02-16 Thread Sebastien Vauban
>From 74f376c12cceae196f5a856eac1a39cdbcc8e360 Mon Sep 17 00:00:00 2001 From: Sebastien Vauban Date: Thu, 16 Feb 2012 15:48:37 +0100 Subject: [PATCH] Add Time-stamp in export template --- lisp/org-exp.el |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lisp/org-exp.el b/l

[O] [PATCH] Fix old Babel syntax in library-of-babel.org

2012-02-16 Thread Sebastien Vauban
>From 3569c16e1d4270e6004441d8cdcc92801b3a01cd Mon Sep 17 00:00:00 2001 From: Sebastien Vauban Date: Thu, 16 Feb 2012 15:50:17 +0100 Subject: [PATCH] Fix old Babel syntax --- contrib/babel/library-of-babel.org |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/contrib/babe

[O] using variables in org text

2012-02-16 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I have defined a variable as follow #+property: var DC="/home/rkrug/tmp/CLUSTER" and I am using this path quite often in source blocks (works nicely as expected) but also in org directly, e.g. * DC path is $DC$ The DC path $DC$ is pointing to

Re: [O] Archiving old instances of repeating todos

2012-02-16 Thread Brian Wightman
On Wed, Feb 15, 2012 at 5:33 AM, Bernt Hansen wrote: > 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

Re: [O] Weirdness re: inclusion of figures

2012-02-16 Thread Yu
Hello! The behaviour is actually as expected. To understand this, you have to consider, that org-mode currently only seems to recognize the relation between source block and #+result paragraph if one of these two conditions holds: o The "#+result:" line follows the source code without any text i

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

2012-02-16 Thread Christophe Pouzat
Hello Jambunathan, The ODT version was prepared "by hand" using LibreOffice. This was written (last May) before your org-odt functions became part of org-mode (if I'm right). I would now also do it with org-mode. Christophe Jambunathan K writes: > Christophe > > I see an ODT file in there - L

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

2012-02-16 Thread Jambunathan K
Christophe I see an ODT file in there - LFPdetection_in.odt http://hal.archives-ouvertes.fr/hal-00591455/ May I ask how the document was produced. Do you have any insights on how the Org's ODT exporter performs wrt your input Org file. Just curious. > @article{Delescluse2011, > title = "Making

[O] short section titles in TOC

2012-02-16 Thread Tamas Papp
Hi, Is it possible to have a short version of a section title in the table of contents? Eg in LaTeX, one can use \section[Suggestions]{Suggestions for discussion} and the first one would show up in the TOC. I was wondering if one can do this in org-mode. Best, Tamas