[O] subscript on a table caption

2015-08-25 Thread Johannes Rainer
dear all! I have a strange problem now with org-mode (I don't know whether I had that with previous org-versions because I never paid attention): any _ I have in a caption is automatically formatted as a subscript, independently of using #+OPTIONS: ^:nil or #+OPTIONS: ^:{}. Is there any other w

Re: [O] using subscripts in table captions

2015-08-25 Thread Johannes Rainer
great! thanks Nicolas! > On 25 Aug 2015, at 14:49, Nicolas Goaziou wrote: > > Hello, > > Johannes Rainer writes: > > >> I have a strange problem now with org-mode (I don't know whether I had >> that with previous org-versions because I never paid atten

Re: [O] using subscripts in table captions

2015-08-25 Thread Johannes Rainer
well, kind of helps. At least I know it's reproducible... although I would like to have that fixed somehow. > On 25 Aug 2015, at 09:57, Suvayu Ali wrote: > > On Tue, Aug 25, 2015 at 08:09:55AM +0200, Johannes Rainer wrote: >> >> The test org-file I u

[O] using subscripts in table captions

2015-08-24 Thread Johannes Rainer
dear all! I have a strange problem now with org-mode (I don't know whether I had that with previous org-versions because I never paid attention): any _ I have in a caption is automatically formatted as a subscript, independently of using #+OPTIONS: ^:nil or #+OPTIONS: ^:{}. Is there any other w

Re: [O] Difference between eval and export

2014-09-29 Thread Johannes Rainer
of the > behavior? > > On Mon, Sep 29, 2014 at 6:14 AM, Johannes Rainer > wrote: >> I checked the environment variables in Emacs and also in R (using >> Sys.getenv). all environment variables are set correctly (I am now also >> using “exec-path-from-shell” to make

Re: [O] passing LC_ALL environment variable to org export call

2014-09-29 Thread Johannes Rainer
On 29 Sep 2014, at 14:06, Rasmus wrote: > Johannes Rainer writes: > >> thanks for your hint. I checked Sys.getenv before and after the >> failing code, but LC_ALL was always properly set. I’m afraid my >> problem relates to some Mac LLVM and GCC gfortran compiler thing

Re: [O] Difference between eval and export

2014-09-29 Thread Johannes Rainer
I checked the environment variables in Emacs and also in R (using Sys.getenv). all environment variables are set correctly (I am now also using “exec-path-from-shell” to make sure that Emacs is reading system environment variables). It is absolutely strange. I only get the error when I export th

Re: [O] passing LC_ALL environment variable to org export call

2014-09-29 Thread Johannes Rainer
26 Sep 2014, at 15:56, Rasmus wrote: > Hi Johannes, > > Johannes Rainer writes: > >> I stumbled across a strange problem. I’m using org-mode to perform >> analyses in R and I have one block of R-code in which I use mclapply >> to perform parallel calculations. ev

Re: [O] Difference between eval and export

2014-09-26 Thread Johannes Rainer
problem if I evaluate source block per source block from the buffer. At present I am therefore looking for a way to specify environment variables in the export process, but I have no idea how to do that... On 26 Sep 2014, at 15:11, Grant Rettke wrote: > On Fri, Sep 26, 2014 at 5:43 AM, Johan

[O] Difference between eval and export

2014-09-26 Thread Johannes Rainer
hi all! I am wondering what the difference between the eval of a source block and the export of a buffer is in terms of the process in which the code is evaluated. Is the org-export call starting a new process? Is there a way to specify environment variables for the export process? thanks in a

[O] passing LC_ALL environment variable to org export call

2014-09-26 Thread Johannes Rainer
dear all, I stumbled across a strange problem. I’m using org-mode to perform analyses in R and I have one block of R-code in which I use mclapply to perform parallel calculations. evaluating this code block using C-c C-c works fine, but I get a segfault error when I export the org file. This h

Re: [O] R source code, break long lines

2014-05-13 Thread Johannes Rainer
On Tue, May 13, 2014 at 6:16 PM, John Hendy wrote: > On Tue, May 13, 2014 at 1:04 AM, Johannes Rainer > wrote: > > dear all, > > > > I'm extensively using org-mode in combination with R source code blocks. > The > > only thing I miss is the possibilit

[O] R source code, break long lines

2014-05-12 Thread Johannes Rainer
dear all, I'm extensively using org-mode in combination with R source code blocks. The only thing I miss is the possibility to break long lines of R code in the exported pdf. Is there a way to tell org, or the latex exporter, to have automatic line breaks for long lines? thanks in advance! cheer

Re: [O] MobileOrg changes not showing in local agenda

2013-09-20 Thread Johannes Rainer
ppose the problem is the [[(null)]][(null)]. I suppose there should be something like the TODO ID or something like that... On Fri, Sep 20, 2013 at 11:36 AM, Alexander Baier wrote: > Hello jo, > > Johannes Rainer writes: > > > dear all, > > > > I am trying to use

[O] MobileOrg changes not showing in local agenda

2013-09-20 Thread Johannes Rainer
dear all, I am trying to use MobileOrg, and successfully set up the sync to my WebDAV. Also, my agenda is nicely synced to the ipad, however, any changes that I make to the agenda on the iPad, while being stored into the file " mobileorg.org" on the server and saved into "from-mobile.org" locally,

[O] macro expansion not working in #+ATTR_LATEX

2013-09-05 Thread Johannes Rainer
hi all! while working nicely for plain text I realized that macros are not expanded if put in #+ATTR_LATEX: e.g. I defined #+MACRO: image_width 16 and wanted to use this macro like #+ATTR_LATEX: :center :placement [H] :width {{{image_width}}}cm however, in the exported tex file I get: \inclu

Re: [O] mixed orgmode installation

2013-09-04 Thread Johannes Rainer
On Wed, Sep 4, 2013 at 4:19 PM, Thorsten Jolitz wrote: > Johannes Rainer writes: > > > hi all! > > > > is there a "clean" way to disable the built in org from emacs? I'm > > loading org mode from git externally, but newer emacs always come with >

[O] mixed orgmode installation

2013-09-04 Thread Johannes Rainer
hi all! is there a "clean" way to disable the built in org from emacs? I'm loading org mode from git externally, but newer emacs always come with org mode included. would just deleting the org folder in the emacs (am using Emacs.app on mac) installation help? thanks in advance!

Re: [O] asynchronous code evaluation

2013-09-04 Thread Johannes Rainer
On Wed, Sep 4, 2013 at 10:00 AM, Suvayu Ali wrote: > On Wed, Sep 04, 2013 at 07:27:01AM +0200, Johannes Rainer wrote: > > hi all! > > > > I have some pretty calculation intense R code in a code block and when I > > execute the code (C-c C-c) my emacs freezes and waits

[O] asynchronous code evaluation

2013-09-03 Thread Johannes Rainer
hi all! I have some pretty calculation intense R code in a code block and when I execute the code (C-c C-c) my emacs freezes and waits for the code to finish. Is there a way to evaluate the code asynchronously, so that I could edit the file (obviously not the code block itself) while the code is b

Re: [O] export tex file to different directory

2013-09-02 Thread Johannes Rainer
thanks, I will give it a try. On Sun, Sep 1, 2013 at 8:47 PM, Suvayu Ali wrote: > On Sun, Sep 01, 2013 at 07:58:42PM +0200, Johannes Rainer wrote: > > Hi all, > > > > is there a way that I could export the generated tex files to a different > > directory upon e

[O] export tex file to different directory

2013-09-01 Thread Johannes Rainer
Hi all, is there a way that I could export the generated tex files to a different directory upon export? thanks, jo

Re: [O] macro expansion in source code

2013-08-29 Thread Johannes Rainer
thanks for that solution! I will give it a try! On Thu, Aug 29, 2013 at 5:15 PM, Charles Berry wrote: > Johannes Rainer gmail.com> writes: > > > > > > > hi, > > I was just wondering if there is a way to use macro expansion also in > > source code blocks

[O] macro expansion in source code

2013-08-29 Thread Johannes Rainer
hi, I was just wondering if there is a way to use macro expansion also in source code blocks or headers. I tried this, but the macro was never expanded, but rather the {{{image_width}}} was exported. could the expansion be done by calling the macro expansion before export (e.g. using a hook)? som

Re: [O] org mode R remote code evaluation

2013-08-29 Thread Johannes Rainer
thanks! so the ":results output" does the trick. On Thu, Aug 29, 2013 at 10:25 AM, Loris Bennett wrote: > Johannes Rainer writes: > > > dear all, > > > > I have some computation intense R-code that I want to run remotely on my > server, > > and,

[O] org mode R remote code evaluation

2013-08-28 Thread Johannes Rainer
dear all, I have some computation intense R-code that I want to run remotely on my server, and, according to the org manual that should be possible with the ":dir" parameter. so I went on and tried the following (user/server masked): #+BEGIN_SRC R :dir /xx@xxx: system("hostname") #+END_SRC whe