[O] odt-Export and #+CAPTION: [reference text]{caption text}

2012-03-28 Thread Martin Gürtler
Hi, does the odt export regard the short version of captions for figures and tables? Looking at the document structure in libreoffice's navigator, figures and tables are referenced by strings like "Table4" or, in the case of graphics, plain numbers. Also, when I include manually (in libreoffice) a

[O] org-mobile: Strange #+TODO: in index.org

2012-03-28 Thread Moritz Ulrich
Hello, I recently started using org-mode in combination with MobileOrg rather excessively. Everything works pretty good, with one exception: `org-mobile-push' adds a strange #+TODO: line to index.org: #+TODO: | DONE This confuses my MobileOrg application (Android, MobileOrg-NG, a fork) and

[O] LaTeX export should honor CUSTOM_ID property

2012-03-28 Thread Truong Nghiem
I'm using orgmode version 7.8.06. Right now, whenever an org file is exported to LaTeX, each heading is assigned an automatic label (e.g. sec-1). All hyperlinks to the heading will also use this label. There is a standard orgmode property for assigning custom ID to headings for hyperlinks: CUSTOM

[O] Babel vs. Doxygen?

2012-03-28 Thread Michael Hannon
Greetings.  I just ran across an article about Doxygen [1], and I'm trying to understand if there's any intersection between Doxygen/Roxygen and Org mode Babel, both of which seem to have literate programming as a goal.  Any thoughts about this?  Thanks. -- Mike

Re: [O] Org Babel C/C++

2012-03-28 Thread Michael Hannon
On Wednesday, March 28, 2012 at 4:01 PM Daimrod wrote: > Eric Schulte writes: > >> Applied, Thanks! >> >> Daimrod writes: >> >>> Hi, >>> >>> I've made a small patch to ob-C.el so it now includes the current >>> directory to the list of directories to be searched for header files. >>> Without thi

[O] buffer-wide tangle filename

2012-03-28 Thread Julian Burgos
Hello everyone, This may be a very simple question. I want to tangle multiple source code blocks into a single file. Instead of using the same output filename as a block header (e.g. :tangle output.el) in each code block, can I I define a buffer-wide tangle filename? Something like this (which d

[O] Bug with exporting org source block

2012-03-28 Thread Truong Nghiem
I'm using orgmode release Org 7.8.06. When I export an org source block (i.e. a source code block in the org language): #+BEGIN_SRC org :exports code ,#+srcname: ,#+begin_src , ,#+end_src #+END_SRC the last source line is not exported. The output, in both PDF and HTML, becomes: #

Re: [O] Org Babel C/C++

2012-03-28 Thread Daimrod
Eric Schulte writes: > Applied, Thanks! > > Daimrod writes: > >> Hi, >> >> I've made a small patch to ob-C.el so it now includes the current >> directory to the list of directories to be searched for header files. >> Without this, I cannot include a local header file because the >> compilation h

Re: [O] orgmode as a service

2012-03-28 Thread Brian Dunbar
suvayu ali > Maybe this is what you are looking for? > Haw - the bash script there is a great start. I sure do end up writing a lot of bash stuff at any rate. Sami Airaksinen > one could try to create some nice web services with elnode > library

Re: [O] Create preamble from an .org file ?

2012-03-28 Thread Vincent Beffara
Hi, How do I do that? Maybe a dedicated .org file for the navigation bar is not the right way to do, is there a better one? Since you only need to export your preamble in HTML once, I'd rather use `org-export-html-preamble' and set it to the HTML string you want. Thanks for the tip. In terms

Re: [O] table not returned

2012-03-28 Thread Nick Dokos
Andreas Leha wrote: > thanks for that analysis! I had tried replacing "(" with "[" without > success. Now I "know" why: > > (org-babel-string-read "[foo)") --> Error > > , > | Debugger entered--Lisp error: (invalid-read-syntax ") or . in a vector") > | read("[foo)") > | org-babel-rea

Re: [O] table not returned

2012-03-28 Thread Andreas Leha
Nick Dokos writes: > Andreas Leha wrote: > >> >> Hi Bastien, >> >> thanks for looking into this! >> >> >> Bastien writes: >> >> > Andreas Leha writes: >> > >> >> #+begin_src R :results table >> >> data.frame(parameter=c("parameter", "", "param1"), >> >> mean=c("mean sd", "

Re: [O] table not returned

2012-03-28 Thread Nick Dokos
Andreas Leha wrote: > > Hi Bastien, > > thanks for looking into this! > > > Bastien writes: > > > Andreas Leha writes: > > > >> #+begin_src R :results table > >> data.frame(parameter=c("parameter", "", "param1"), > >> mean=c("mean sd", "", "1.1 0.1"), > >> med

Re: [O] [BUG] html export and org results block and indentation

2012-03-28 Thread Nick Dokos
Andreas Leha wrote: > The difference seems to come from me loading the module > org-special-blocks. Without loading this module, I also get your > result. > One mystery down, two to go: so there is a (possible) bug in the html exporter with indented #+BEGIN_ORG/#+END_ORG blocks and another (p

Re: [O] [BUG] html export and org results block and indentation

2012-03-28 Thread Andreas Leha
Nick Dokos writes: > Andreas Leha wrote: > >> Bastien writes: >> >> > Hi Andreas, >> > >> > Andreas Leha writes: >> > >> >> I experience problems when exporting the following to html, as a >> >> spuriuos line >> >> ORG-ORG-START >> >> is inserted after the results block: >> > >> > I can't re

Re: [O] [BUG] html export and org results block and indentation

2012-03-28 Thread Nick Dokos
Andreas Leha wrote: > Bastien writes: > > > Hi Andreas, > > > > Andreas Leha writes: > > > >> I experience problems when exporting the following to html, as a > >> spuriuos line > >> ORG-ORG-START > >> is inserted after the results block: > > > > I can't reproduce this. Please give more info

Re: [O] table not returned

2012-03-28 Thread Andreas Leha
Hi Bastien, thanks for looking into this! Bastien writes: > Andreas Leha writes: > >> #+begin_src R :results table >> data.frame(parameter=c("parameter", "", "param1"), >> mean=c("mean sd", "", "1.1 0.1"), >> median=c("median", "(minimum;maximum)", "1 (1;2)")) >

Re: [O] [BUG] html export and org results block and indentation

2012-03-28 Thread Andreas Leha
Bastien writes: > Hi Andreas, > > Andreas Leha writes: > >> I experience problems when exporting the following to html, as a >> spuriuos line >> ORG-ORG-START >> is inserted after the results block: > > I can't reproduce this. Please give more information on how to > reproduce the problem. T

Re: [O] Org publish restrict to certain levels

2012-03-28 Thread Xin Shi
Thank you! Xin On Wed, Mar 28, 2012 at 3:20 AM, Nick Dokos wrote: > Bastien wrote: > > > Hi Nick, > > > > Nick Dokos writes: > > > > > Unfortunately, there is a bug in org-latex.el, in > org-export-latex-subcontent > > > > > > , > > > | ((listp org-export-latex-low-levels) > > > |

Re: [O] Problems running C code in org-mode under Windows

2012-03-28 Thread Richard Stanton
> > As far as I can see, at this point the command being called is > > > > C:/emacs/emacs-24.0.94/bin/cmdproxy -c "gcc -o \"c:/users/stanton[...]C- > bin-10700opx\" \"c:/users/Stanton[...]C-src-10700bfr.c\"" > > > > (where [...] just means I deleted some more path information, but it's all > valid)