[O] date calculation in org table

2013-05-22 Thread The Dude
Hi all, I'm having hard time to find a solution to my problem. I've got a simple table with a dates column where I set an $sdate variable in the first row. What I want to achieve is that the dates in the column 4 are the sum of the date from the row above plus the number of days in column 3 in t

Re: [O] Bug in structmode++?

2013-05-22 Thread The Dude
-> Igor Sosa Mayor writes: > Am Sun, May 12, 2013 at 03:59:00PM +0100, Christopher Schmidt wrote: >> Please give the current master a try. > After the commit 0ea11e26e46f2f562c1997cf1645dd744d5f6f2f you did, it > seems to work again. Yes, I confirm, it works for me too. Thanks man! > thanks a

Re: [O] Minor problems with dvipng latex image preview

2013-05-22 Thread Nick Dokos
Nicolas Goaziou writes: >> ... I set: >> >> (setq org-export-latex-listings 'minted) > > You mean `org-latex-listings'. `org-export-latex-listings' belongs to > the old export framework (like almost all variables with > "org-export-BACKEND-" prefix). > Yes, indeed. >> (add-to-list 'org-latex-p

Re: [O] Org-babel & R exporting multiple tables

2013-05-22 Thread Eric Schulte
Joe Bogner writes: > Figured it out. Option #2 works with ob-org as long as the defaults > are set to output the results > > (setq org-babel-default-header-args:org '((:results . "raw") (:exports > . "results"))) > > By default it looks like it's silent. > Another option may be to try option 3,

Re: [O] Org-babel & R exporting multiple tables

2013-05-22 Thread Joe Bogner
Figured it out. Option #2 works with ob-org as long as the defaults are set to output the results (setq org-babel-default-header-args:org '((:results . "raw") (:exports . "results"))) By default it looks like it's silent. On Wed, May 22, 2013 at 5:26 PM, Joe Bogner wrote: > I have a list of d

Re: [O] Seeking advice on structuring my org-mode file

2013-05-22 Thread Matt Lundin
Marcin Borkowski writes: > I have an Org-mode file with notes concerning a large project connected > with teaching at my university. One of the headlines is dedicated to > one particular course, where I am part of a group developing a concept > of this course. So, one subheadline is devoted to

[O] [PATCH] ox-koma-letter.el: Reintroduce variables removed in commit 832c6fd with proper defaults (was Re: [patch] ox-koma-letter.el: clean-up/semantic bug [4/4])

2013-05-22 Thread Viktor Rosenfeld
Hi Rasmus, Viktor Rosenfeld wrote: > Hi Rasmus, > > Rasmus wrote: > > > Viktor Rosenfeld writes: > > > > > Or 5, keep the change from SENDER to AUTHOR but revert the default > > > values to `org-koma-letter-*' variables. (Right now the AUTHOR and EMAIL > > > lines could be removed because the

Re: [O] Trigger org-capture window using linux shortcut key

2013-05-22 Thread Matt Lundin
Jackin writes: > I am wondering if it is possible to start a org-capture window > (when not within emacs) using a shortcut key. Org-protocol allows this > to be done from a web browser or adobe reader which is very useful. But > I am thinking of a more general solution, for triggering a org

Re: [O] Let's discuss citation and Org syntax

2013-05-22 Thread Matt Lundin
Marcin Borkowski writes: > I do not use Org-mode for authoring (I'm quite happy with LaTeX itself > for that), and in LaTeX, I use neither bibtex nor biblatex; but AFAIK, > bibtex is basically dead like John Cleese's parrot. I don't even think > that it needs to or should be supported; the faster

[O] Org-babel & R exporting multiple tables

2013-05-22 Thread Joe Bogner
I have a list of data frames that I would like to output. The number of frames may vary Is there a way to export multiple tables formatted? These are the three options I came up with. None of them work very well: Option #3 works the best, but it will append each time it's run in the doc, so I can

[O] [NEW FEATURE] org-hlc.el - hidden-lines-cookies (hlc) for Org-mode

2013-05-22 Thread Thorsten Jolitz
Hi List, I ported this from outshine.el (i.e. outline-minor-mode) to Org-mode, hope it is useful. What is it all about? With 'org-hlc' , | Behind every folded headline, a little 'cookie' shows the number of | hidden lines ti

Re: [O] (Potential) new feature for Org-mode: "hidden-lines cookies"

2013-05-22 Thread Thorsten Jolitz
Suvayu Ali writes: > On Wed, May 22, 2013 at 04:14:03PM +0200, Thorsten Jolitz wrote: >> >> Now I wonder if such a feature already exists in Org-mode (I would not >> be surprised, but I'm not aware of it) and if anybody would be >> interested in having such a feature? > > As per my understanding

Re: [O] Minor problems with dvipng latex image preview

2013-05-22 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > The main problem is that the latex->dvi invocation is hard-wired in > org-create-formula-image-with-dvipng and in addition, when the latex > file is created, the value of org-latex-packages-alist is spliced in. > > That in itself is fine, except in the case when (for

[O] Seeking advice on structuring my org-mode file

2013-05-22 Thread Marcin Borkowski
Hi all, I have an Org-mode file with notes concerning a large project connected with teaching at my university. One of the headlines is dedicated to one particular course, where I am part of a group developing a concept of this course. So, one subheadline is devoted to that. Yet another (subsub

Re: [O] [patch] ox-koma-letter.el: credit [3/4]

2013-05-22 Thread Viktor Rosenfeld
Hi, Rasmus wrote: > Viktor Rosenfeld writes: > > >> Ah, you mean the textsc? Perhaps it is a bit eccentric. But you're > >> bringing up a good point. It should recognize [p]+s and perhaps even > >> order them. . . > > > > If there is no PS prefix set, users could simply write these out > > t

Re: [O] XeLaTeX and the new exporter

2013-05-22 Thread Suvayu Ali
Hi Christopher, On Tue, May 07, 2013 at 05:42:04PM +0200, Christopher Witte wrote: > > I had export working using XeLaTeX using the instructions from the > FAQ(with > some slight modifications), but after upgrading to the new expo

Re: [O] [patch] ox-koma-letter.el: credit [3/4]

2013-05-22 Thread Rasmus
Viktor Rosenfeld writes: >> Ah, you mean the textsc? Perhaps it is a bit eccentric. But you're >> bringing up a good point. It should recognize [p]+s and perhaps even >> order them. . . > > If there is no PS prefix set, users could simply write these out > themselves. I don't think it is much

Re: [O] (Potential) new feature for Org-mode: "hidden-lines cookies"

2013-05-22 Thread Suvayu Ali
On Wed, May 22, 2013 at 04:14:03PM +0200, Thorsten Jolitz wrote: > > Now I wonder if such a feature already exists in Org-mode (I would not > be surprised, but I'm not aware of it) and if anybody would be > interested in having such a feature? As per my understanding, there is no such feature; an

Re: [O] link abbreviation with multiple params, e. g. for geo locations

2013-05-22 Thread Michael Brand
Hi all On Tue, May 7, 2013 at 12:29 AM, Christian Moe wrote: > I'm afraid knowing that doesn't help much. The problem is, you don't know > what point the inline call is at, so you cannot point org-entry-get to > the right entry. If you try > > : (org-entry-get (point) "geo") > > it will look for

Re: [O] XeLaTeX and the new exporter

2013-05-22 Thread Christopher Witte
Thanks, that fixed it. On 14 May 2013 12:04, Søren Mikkelsen wrote: > Hi Chris > > I asked the question a couple of weeks ago. Take a look at the hook: > > org-export-before-parsing-hook > > It worked for me. > > Best regards > Søren > > > On 2013-05-07 17:42, Christopher Witte wrote: > >> Hi a

Re: [O] formatting org-babel output

2013-05-22 Thread Joe Bogner
Eric - That is perfect. It's exactly what I was looking for. Thank you for very much! Jay - format is a good option too.I also found the scales packages > scales::comma(scales::dollar(5)) [1] "$55,555" In the end, the org-mode post solution feels more automatic and in the right layer - since

Re: [O] Let's discuss citation and Org syntax

2013-05-22 Thread Matt Price
On Wed, May 22, 2013 at 5:02 AM, Christian Moe wrote: > > I have a rough, working example of this enabling Zotero cites for ODT > export (attached). I've been meaning to polish it up as a contributed > module for Zotero users, but if there's interest in a unified citation > syntax along these line

Re: [O] R plots always exported to Rplots.pdf

2013-05-22 Thread Eric Schulte
ots.pdf so subsequent attempt to > export Latex/PDF fail. I'm using org 20130522 and R 3.0. > > Best, > Greg The following example demonstrates the combination of header arguments required to generate the correctly named output. #+name: input | 1 | 2 | | 2 | 4 | | 3 | 9 | #+NAM

Re: [O] formatting org-babel output

2013-05-22 Thread Eric Schulte
Joe Bogner writes: > I am using org-mode and babel with R for reproducible research. I > would like certain numbers in the output tables to be formatted for > easier reading - such as eliminating decimals and adding commas for > readability. > > The best I came up with is to use a TBLFM line at t

Re: [O] Starting emacs followed directly by org-agenda search and visiting file removes color formatting

2013-05-22 Thread Rainer Stengele
Am 22.05.2013 15:02, schrieb Rainer Stengele: > Am 21.05.2013 12:25, schrieb Bastien: >> >> >> Hi Sébastien and John, >> >> "Sebastien Vauban" >> writes: >> >>> I did not have time yet to bisect the problem, but it _seems_ to be a newly >>> introduced feature. >> >> Can you check if the problems p

Re: [O] Org sources and PDF files on Worg

2013-05-22 Thread Viktor Rosenfeld
Hi, Jay Kerns wrote: > Hello Viktor, > > On Tue, May 21, 2013 at 2:13 PM, Viktor Rosenfeld > wrote: > > Hi, > > > > I recently wrote a tutorial for the ox-koma-letter exporter [1] which > > includes a link to an Org file [2] file and a PDF file [3] as examples. > > The files are checked into t

Re: [O] [patch] ox-koma-letter.el: clean-up/semantic bug [4/4]

2013-05-22 Thread Viktor Rosenfeld
Hi Rasmus, Rasmus wrote: > Viktor Rosenfeld writes: > > > Or 5, keep the change from SENDER to AUTHOR but revert the default > > values to `org-koma-letter-*' variables. (Right now the AUTHOR and EMAIL > > lines could be removed because they duplicate the derived latex > > backend.) > > I once

Re: [O] R plots always exported to Rplots.pdf

2013-05-22 Thread Greg Slodkowicz
That solves it, many thanks! - Greg On Wed, May 22, 2013 at 2:38 PM, Jay Kerns wrote: > Hi Greg, > > On Wed, May 22, 2013 at 8:23 AM, Greg Slodkowicz wrote: > > [snip] > > > This is what my code block looks like: > > > > #+NAME: pvals_waw > > #+BEGIN_SRC R :file fig1.png :exports results > >

[O] (Potential) new feature for Org-mode: "hidden-lines cookies"

2013-05-22 Thread Thorsten Jolitz
Hi List, I implemented a new (optional and customizable) feature for 'outshine.el' (https://github.com/tj64/outshine): , | Behind every folded headline, a little 'cookie' shows the number of | hidden lines till the next visible

Re: [O] R plots always exported to Rplots.pdf

2013-05-22 Thread Jay Kerns
Hi Greg, On Wed, May 22, 2013 at 8:23 AM, Greg Slodkowicz wrote: [snip] > This is what my code block looks like: > > #+NAME: pvals_waw > #+BEGIN_SRC R :file fig1.png :exports results > pvals = read.table("waw_data.txt", header=T) > plot(pvals$pvalue, pvals$length) > #+END_SRC > Have you tried

Re: [O] formatting org-babel output

2013-05-22 Thread Jay Kerns
Hi Joe, On Wed, May 22, 2013 at 7:18 AM, Joe Bogner wrote: > I am using org-mode and babel with R for reproducible research. I > would like certain numbers in the output tables to be formatted for > easier reading - such as eliminating decimals and adding commas for > readability. > [snip] Have

Re: [O] Org sources and PDF files on Worg

2013-05-22 Thread Jay Kerns
On Wed, May 22, 2013 at 3:04 AM, Bastien wrote: > Hi Jay and Marc, [snip] > Don't want to steal your work :) Just thought I would fix this > because I may be the one who broke things by forgetting to compile > at some point. I checked the scripts in ~/bin/ and they do compile > normally. Also

Re: [O] Starting emacs followed directly by org-agenda search and visiting file removes color formatting

2013-05-22 Thread Rainer Stengele
Am 21.05.2013 12:25, schrieb Bastien: > > > Hi Sébastien and John, > > "Sebastien Vauban" > writes: > >> I did not have time yet to bisect the problem, but it _seems_ to be a newly >> introduced feature. > > Can you check if the problems persist *before* this commit? > > http://orgmode.org/c

[O] R plots always exported to Rplots.pdf

2013-05-22 Thread Greg Slodkowicz
w_data.txt", header=T) plot(pvals$pvalue, pvals$length) #+END_SRC after evaluating the code block I get #+RESULTS: pvals_waw [[file:fig1.png]] but I can see that the plot is in Rplots.pdf so subsequent attempt to export Latex/PDF fail. I'm using org 20130522 and R 3.0. Best, Greg --

[O] formatting org-babel output

2013-05-22 Thread Joe Bogner
I am using org-mode and babel with R for reproducible research. I would like certain numbers in the output tables to be formatted for easier reading - such as eliminating decimals and adding commas for readability. The best I came up with is to use a TBLFM line at the bottom of my results table us

Re: [O] Let's discuss citation and Org syntax

2013-05-22 Thread Christian Moe
Hi, I'd be cool with a dedicated citation syntax, or using a yet-to-be-introduced extensible syntax for citations. But link syntax does make sense to me -- after all, citations do point to things. And unlike one of the opinions you cited, I think link descriptions *are* meaningful in citations,

[O] trigger org-capture window using linux shortcut key

2013-05-22 Thread jackin
Hi, I am wondering if it is possible to start a org-capture window (when not within emacs) using a shortcut key. Org-protocol allows this to be done from a web browser or adobe reader which is very useful. But I am thinking of a more general solution, for triggering a org-capture window from

Re: [O] Extending ODT export

2013-05-22 Thread Jambunathan K
doc-view (for OpenDocument files) uses the below mentioned work around. The fix can be ported to `org-odt.el' and `ox-odt.el'. --8<---cut here---start->8--- (defun doc-view-odf->pdf-converter-soffice (odf callback) "Convert ODF to PDF asynchronously and cal

Re: [O] Trigger org-capture window using linux shortcut key

2013-05-22 Thread Michael Strey
Hi Jackin, On Wed, May 22, 2013 at 06:40:39AM +, Jackin wrote: > I am wondering if it is possible to start a org-capture window > (when not within emacs) using a shortcut key. Org-protocol allows this > to be done from a web browser or adobe reader which is very useful. But > I am thinki

Re: [O] Org sources and PDF files on Worg

2013-05-22 Thread Bastien
Hi Jay and Marc, Jay Kerns writes: > I believe I can give a partial answer: it looks like Worg isn't > publishing right now, which suggests that there was a recent commit > which broke things. Apparently things broke because Org in ~/git/org-mode on the server was not compiled (and autoloads n