[Orgmode] [babel] Evaluating all source blocks in a document?

2010-06-30 Thread Rainer M Krug
automatic headings for the tangled code blocks? That would make it easier to identify in which code block the source code in the tangled file comes from. Cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys

Re: [Orgmode] [babel] Evaluating all source blocks in a document?

2010-06-30 Thread Rainer M Krug
Hi Russel On Wed, Jun 30, 2010 at 3:33 PM, Russell Adams wrote: > On Wed, Jun 30, 2010 at 01:35:04PM +0200, Rainer M Krug wrote: > > Hi > > > > I use Org-babel for literate programming in R, but the tangling takes > quite > > long. Therefore my question: as it is

Re: [Orgmode] [babel] Evaluating all source blocks in a document?

2010-07-01 Thread Rainer M Krug
Hi Eric On Wed, Jun 30, 2010 at 4:55 PM, Erik Iverson wrote: > Hello, > > > On Wed, Jun 30, 2010 at 01:35:04PM +0200, Rainer M Krug wrote: >> > Hi >> > >> > I use Org-babel for literate programming in R, but the tangling >>takes q

[Orgmode] org-babel-tangle-w-comments has no effect in R?

2010-07-01 Thread Rainer M Krug
Am I doing something wrong? Or are comments not supported in R in org-babel? I attach a small testfile. Cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biolo

[Orgmode] [BABEL] html export for R not working, but for sh and others

2010-07-01 Thread Rainer M Krug
code is evaluated, even though I specified :exports code. Is this intended? Thanks, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office

Re: [Orgmode] Problem export to html

2010-07-01 Thread Rainer M Krug
On Thu, Jul 1, 2010 at 9:07 AM, David Maus wrote: > Rainer M Krug wrote: > >Hi > > >I am using the newest git version of org-mode, and have problems exporting > >to html. The attached org file produces, when exporting to html, the > >following error messages and no

Re: [Orgmode] org-babel-tangle-w-comments has no effect in R?

2010-07-02 Thread Rainer M Krug
when they are sorted out. In addition: I think org-mode and babel deserve it - they are great tools for programming in R. Cheers, Rainer > > Best -- Eric > > Rainer M Krug writes: > > > Hi > > > > I am trying to use "tangle with comments". Based on a previo

[Orgmode] [BABEL] reload source code file after tangling?

2010-07-02 Thread Rainer M Krug
FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell

Re: [Orgmode] [BABEL] html export for R not working, but for sh and others

2010-07-02 Thread Rainer M Krug
On Thu, Jul 1, 2010 at 5:55 PM, Eric Schulte wrote: > Hi Rainer, > Hi Eric, > > Rainer M Krug writes: > > > Hi > > > > I am trying to export the attached test.org file to HTML, but I can only > > export it, when I change the source block language to a

Re: [Orgmode] [BABEL] html export for R not working, but for sh and others

2010-07-02 Thread Rainer M Krug
-font-lock-keywords (append ess-R-mode-font-lock-keywords (list (cons (concat "\\<" (regexp-opt ess-my-extra-R-function-keywords 'enc-paren) "\\>") 'font-lock-function-name-face)) If I disable that section, it works. Do you have any ideas if it could

[Orgmode] Code block switches buffer-wide?

2010-07-02 Thread Rainer M Krug
Hi I would like to include the -n code block switch (number lines) into all my code blocks in a buffer. Is there a way to define a kind of buffer-wide switches, like it is with the #+BABEL keyword for header arguments? Thanks, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD

[Orgmode] Re: [BABEL] reload source code file after tangling?

2010-07-02 Thread Rainer M Krug
On Fri, Jul 2, 2010 at 2:09 PM, Bernt Hansen wrote: > Rainer M Krug writes: > > > is it possible to open (if not open yet) or re-load the new tangled > > source code after tangling? > > > > I usually have the tangled source code open and submit the file to R > &

Re: [Orgmode] Re: [BABEL] reload source code file after tangling?

2010-07-02 Thread Rainer M Krug
On Fri, Jul 2, 2010 at 3:11 PM, Bernt Hansen wrote: > Rainer M Krug writes: > > > On Fri, Jul 2, 2010 at 2:09 PM, Bernt Hansen wrote: > > > > Rainer M Krug writes: > > > > > is it possible to open (if not open yet) or re-load the new tangl

[Orgmode] Re: org-babel-tangle-w-comments has no effect in R?

2010-07-03 Thread Rainer M Krug
Hi Eric On Friday, July 2, 2010, Eric Schulte wrote: > Hi Rainer, > > Rainer M Krug writes: > > [...] >>> >>> I think that moving forward it might make sense to remove the >>> org-babel-tangle-w-comments variable, as it's confusing to have two >

[Orgmode] Re: [BABEL] html export for R not working, but for sh and others

2010-07-03 Thread Rainer M Krug
l disable that Code Section. Thanks, Rainer > > Best -- Eric > > Rainer M Krug writes: > >> Hi Eric >> >> I traced the problem to the following section in my emacs.org file: >> >> * Syntax highlighting for functions in R >>   based on https://m

[Orgmode] Crash of emacs when using SHIFT-TAB

2010-07-05 Thread Rainer M Krug
Hi my emacs is crashing quite regularly when I am using org-babel. Is there a way to get a traceback or something similar which I could submit to get an idea what is causing it? Thanks, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation

Re: [Orgmode] Re: Crash of emacs when using SHIFT-TAB

2010-07-05 Thread Rainer M Krug
--->8--- > > It could then be called with: > > (org-version-check "23.1.50" "org-indent" :warning) > > I made it display a warning because org-indent seems to work almost > perfectly with the version of emacs I'm running (23.1.1). > I think

Re: [Orgmode] Code block switches buffer-wide?

2010-07-05 Thread Rainer M Krug
On Mon, Jul 5, 2010 at 6:06 PM, Carsten Dominik wrote: > > On Jul 2, 2010, at 2:47 PM, Rainer M Krug wrote: > > Hi >> >> I would like to include the -n code block switch (number lines) into all >> my code blocks in a buffer. Is there a way to define a kind of buffe

Re: [Orgmode] Code block switches buffer-wide?

2010-07-05 Thread Rainer M Krug
On Mon, Jul 5, 2010 at 10:34 PM, Rainer M Krug wrote: > > > On Mon, Jul 5, 2010 at 6:06 PM, Carsten Dominik > wrote: > >> >> On Jul 2, 2010, at 2:47 PM, Rainer M Krug wrote: >> >> Hi >>> >>> I would like to include the -n code block swit

[Orgmode] [babel] feature request - tangle-and-evaluate-tangled-file

2010-07-06 Thread Rainer M Krug
over several code blocks in R. Cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main

Re: [Orgmode] Code block switches buffer-wide?

2010-07-06 Thread Rainer M Krug
On Tue, Jul 6, 2010 at 2:28 PM, Carsten Dominik wrote: > > On Jul 5, 2010, at 10:36 PM, Rainer M Krug wrote: > > >> >> On Mon, Jul 5, 2010 at 10:34 PM, Rainer M Krug >> wrote: >> >> >> On Mon, Jul 5, 2010 at 6:06 PM, Carsten Dominik < >> c

[Orgmode] Export of latex source to html

2010-07-07 Thread Rainer M Krug
black. I guess, it has to do with the size of the png - but how can I change it? :width and :height do not seem to have any impact. Cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of

Re: [Orgmode] Export of latex source to html

2010-07-07 Thread Rainer M Krug
> It may be worthwhile providing this type of option to babel-latex? > > -- > Eric S Fraga > GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D > > -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dip

[Orgmode] [BABEL] Bugin :session? Export html - works --- export pdf not

2010-07-08 Thread Rainer M Krug
w the code.. HTML export, works as expected. If I put :session *R_test* behind #+begin_src (R2.org) it works. Cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasi

Re: [Orgmode] [BABEL] Bugin :session? Export html - works --- export pdf not

2010-07-09 Thread Rainer M Krug
fect. > Would it be possible to issue a warning if a #+BABEL line is stripped by LaTeX? If I think back, this stripping cost me quite some time to figure out why things are working differently when exporting to LaTeX then html. > > Cheers -- Eric > Cheers, Rainer > > Rainer

Re: [Orgmode] [babel] feature request - tangle-and-evaluate-tangled-file

2010-07-09 Thread Rainer M Krug
I have never used emacs-lisp (I should - and I will!) Cheers and thanks for your patience, Rainer > Best -- Eric > > Rainer M Krug writes: > > > Hi > > > > I am using org-babel for literate programming in R and I am using the > > following approach to test th

[Orgmode] [BABEL] syntax highlighting in LaTeX output?

2010-07-09 Thread Rainer M Krug
t;- log(1:10) \begin{lstlisting} Cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Ma

Re: [Orgmode] [babel] feature request - tangle-and-evaluate-tangled-file

2010-07-12 Thread Rainer M Krug
Hi Eric, On Fri, Jul 9, 2010 at 5:44 PM, Eric Schulte wrote: > Hi Rainer, > > Rainer M Krug writes: > > > On Thu, Jul 8, 2010 at 9:03 PM, Eric Schulte > wrote: > [...] > >> > >> (add-hook 'org-babel-post-tangle-hook > >&

[Orgmode] [BABEL] tangling with leaving non-source code lines as empty lines?

2010-07-12 Thread Rainer M Krug
leaving empty lines where no code is in the .org file), debugging would be much easier. By the way: I am using the after tangle hook and it works absolutely perfectly. Thanks and cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology

[Orgmode] Re: [BABEL] tangling with leaving non-source code lines as empty lines?

2010-07-15 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13/07/2010 19:22, Eric Schulte wrote: > Hi Rainer, > > Dr Rainer M Krug writes: > >> On 13/07/2010 02:46, Eric Schulte wrote: >>> Hi Rainer, >>> >>> With the tangling comments generated by the lates

[Orgmode] [BABEL] Change "split-ratio" for secnd buffer when using C-c '

2010-07-15 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi is there a way of changing the split-ratio / the size of the second buffer when using C-c ' from 50% to e.g. 70%? I would prefer to have that buffer bigger then the org-buffer from which it was opened. Thanks, Rainer -BEGIN PGP SIGNATURE-

[Orgmode] [BABEL] Change "split-ratio" for secnd buffer when using C-c '

2010-07-15 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi is there a way of changing the split-ratio / the size of the second buffer when using C-c ' from 50% to e.g. 70%? I would prefer to have that buffer bigger then the org-buffer from which it was opened. Thanks, Rainer -BEGIN PGP SIGNATURE-

Re: [Orgmode] [babel] feature request - tangle-and-evaluate-tangled-file

2010-07-15 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13/07/2010 10:14, Dr Rainer M Krug wrote: > On 12/07/2010 19:51, Eric Schulte wrote: >> Rainer M Krug writes: > >>> Hi Eric, >>> >>> On Fri, Jul 9, 2010 at 5:44 PM, Eric Schulte wrote: >>>

Re: [Orgmode] [babel] feature request - tangle-and-evaluate-tangled-file

2010-07-19 Thread Rainer M Krug
especially like the idea of putting the setting of the hook in the .org file - I had it in my emacs.org, but it is MUCH nicer to have it in the .org file. Cheers and thanks a lot, Rainer > > Thanks -- Eric > > Rainer M Krug writes: > >> On 13/07/2010 10:14, Dr Rainer

Re: [Orgmode] [babel] show R commands in html export

2010-07-19 Thread Rainer M Krug
ock) so that it is > formatted properly in the html output? > > Vikas > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/e

Re: [Orgmode] [babel] feature request - tangle-and-evaluate-tangled-file

2010-07-20 Thread Rainer M Krug
egin_src R y <- 9 #+end_src #+begin_src R :tangle file2.R y <- 9 #+end_src A second buffer will open with the R session. If you tangle a second time, these buffers are switching, i.e. where the .org buffer was is the R buffer and vice-versa. ######### -

Re: [Orgmode] [babel] feature request - tangle-and-evaluate-tangled-file

2010-07-21 Thread Rainer M Krug
s called, I assume that it should work? I'll try that one out as well. Cheers and thanks, Rainer > > Best -- Eric > > Rainer M Krug writes: > >> Hi Eric >> >> I just discovered a "switching of b

Re: [Orgmode] [babel] feature request - tangle-and-evaluate-tangled-file

2010-07-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/07/2010 09:23, Rainer M Krug wrote: > Hi Eric > > > On 21/07/2010 00:41, Eric Schulte wrote: >> Hi Rainer, > >> I see the problem. When ess-load-file is called an even number of >> times, it results in flip-

Re: [Orgmode] [babel] feature request - tangle-and-evaluate-tangled-file

2010-07-21 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/07/2010 09:49, Rainer M Krug wrote: > On 21/07/2010 09:23, Rainer M Krug wrote: >> Hi Eric > > >> On 21/07/2010 00:41, Eric Schulte wrote: >>> Hi Rainer, > >>> I see the problem. When ess-load-file

Re: [Orgmode] [babel] feature request - tangle-and-evaluate-tangled-file

2010-07-21 Thread Rainer M Krug
-window-excursion > (ess-load-file (buffer-file-name) > #+end_src Thanks a lot - I'll report back if I have still problems with it. That hook really makes my life much easier. Cheers, Rainer > > Best -- Eric > > Rainer M Krug writes: > &g

[Orgmode] [BABEL] evaluation of R code in export

2010-07-22 Thread Rainer M Krug
*R_test* ** test #+begin_src R :exports both x <- 5 x #+end_src - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Off

[Orgmode] Re: [BABEL] evaluation of R code in export

2010-07-26 Thread Rainer M Krug
avior for this functionality > please do share. Unfortunately not, Cheers and thanks, Rainer > > Thanks -- Eric > > Rainer M Krug writes: > >> Hi >> >> assuming I have the following in an org buffer (and enabled evaluation >> of R code), and export it to html

[Orgmode] [BABEL] org-babel-post-tangle-hook problems

2010-07-27 Thread Rainer M Krug
ned. Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa

[Orgmode] Re: [BABEL] org-babel-post-tangle-hook problems

2010-07-28 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/07/10 15:32, Rainer M Krug wrote: > Hi Eric > > I relized the following problems today: > > After setting the org-babel-post-tangle-hook (e.g. > (add-hook 'org-babel-post-tangle-hook > (lambda () (messag

[Orgmode] insert .org file into other .org file by link

2010-07-28 Thread Rainer M Krug
) the all.org is using basic.org to create the "all" report, so that when I change basic.org, the report based on all.org is also changed. I am sure, that there is a way of achieving this, Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,

[Orgmode] Re: [BABEL] evaluation of R code in export

2010-07-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/07/10 15:53, Eric Schulte wrote: > Rainer M Krug writes: > >> Hi Eric, >> >> On 23/07/2010 19:45, Eric Schulte wrote: >>> Hi Rainer, >>> >>> I general it is useful to have the results of Bab

[Orgmode] Re: [BABEL] org-babel-post-tangle-hook problems

2010-07-29 Thread Rainer M Krug
; > Best -- Eric > > Rainer M Krug writes: > >> On 27/07/10 15:32, Rainer M Krug wrote: >>> Hi Eric >>> >>> I relized the following problems today: >>> >>> After setting the org-babel-post-tangle-hook (e.g. >>> (add-hook 

Re: [Orgmode] Re: insert .org file into other .org file by link

2010-07-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Austin, On 28/07/10 20:50, Austin Frank wrote: > On Wed, Jul 28 2010, Rainer M Krug wrote: > >> I have a .org file (lets call it basic.org), which creates me a report >> from a simulation (of a variable x, saved from R) -

Re: [Orgmode] Emacs bindings for remember the milk (work in progress)

2010-07-29 Thread Rainer M Krug
e some feedback and/or hacks from you, so fire away > :) > > Kind regards > Friedel > > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > h

Re: [Orgmode] Emacs bindings for remember the milk (work in progress)

2010-07-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi On 29/07/10 10:48, Friedrich Delgado Friedrichs wrote: > Hi! > > Rainer M Krug schrieb: >> any news on the implementation of two-way-sync with RTM? > ---Zitatende--- > > No, I didn't get around to do it, yet. >

Re: [Orgmode] Re: [babel] support plantuml

2010-08-26 Thread Rainer M Krug
send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Sui

Re: [Orgmode] Re: [babel] support plantuml

2010-08-27 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26/08/10 19:34, Eric Schulte wrote: > Rainer M Krug writes: > >> plantuml looks great - and it could save me quite a bit of work! >> >> Could you announce on the list as soon as it is uploaded to git so that >> I cou

[Orgmode] [babel] Conditional tangling possible

2010-08-30 Thread Rainer M Krug
t code block, and if it is Version2, the code from the second code block. Is this possible? Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Offic

Re: [Orgmode] [babel] Conditional tangling possible

2010-08-31 Thread Rainer M Krug
s will tangle to > > --8<---cut here---start->8--- > color <- "blue" > color > --8<---cut here---end--->8--- > > Cheers -- Eric > > Rainer M Krug writes: > >> Hi >>

[Orgmode] svn version number as tag or property?

2010-08-31 Thread Rainer M Krug
svn info, but that seems to be awkward for me - there must be an easier way. Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039

Re: [Orgmode] synctex!! ...syncorg?

2010-08-31 Thread Rainer M Krug
___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Cen

[Orgmode] [babel] Why is this not tangling?

2010-08-31 Thread Rainer M Krug
return( "too1" ) } #+end_src tool2 #+begin_src R ## Name for suitability layer equations(ASM)$tool2 <- function(species) { return( "too2" ) } #+end_src - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Ex

Re: [Orgmode] [babel] Why is this not tangling?

2010-09-01 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/08/10 18:20, Eric Schulte wrote: > Hi, > > Rainer M Krug writes: > >> Hi >> >> I want to tangle the following code into two files, specified as >> properties, but no blocks are tangled - why? >> >&

Re: [Orgmode] Re: svn version number as tag or property?

2010-09-01 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/08/10 19:50, Achim Gratz wrote: > Rainer M Krug writes: > >> I could use a code block with a bash script to extract that information >> from svn info, but that seems to be awkward for me - there must be an >> easier wa

[Orgmode] SOLVED (Sort of): svn version number as tag or property?

2010-09-01 Thread Rainer M Krug
info. Just one caveat: I have to export before I tangle to get the actual version info. Therefore I still have my question, if there is an (emacs?) variable / function which gives me the svn revision of the buffer? Cheers, Rainer On 01/09/10 09:58, Rainer M Krug wrote: > On 31/08/10 19:5

Re: [Orgmode] Re: svn version number as tag or property?

2010-09-02 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/09/10 22:33, Achim Gratz wrote: > Rainer M Krug writes: > >> Hm - I can't find that command (I assume it is a function)? And if how >> can I get the file name of the buffer? > > Yes, an elisp function. You either

[Orgmode] Re: svn version number as tag or property?

2010-09-02 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/09/10 11:21, Noorul Islam K M wrote: > Rainer M Krug writes: > >> On 01/09/10 22:33, Achim Gratz wrote: >> >>> Rainer M Krug writes: >>> >>>> Hm - I can't find that command (I assume it is

[Orgmode] [babel] Error with source block and variable on export - bug?

2010-09-03 Thread Rainer M Krug
ringp, nil Tangling the file with :var ver=(vc-working-revision(buffer-file-name)) as a header argument also works fine. As the evaluation works, I assume that is a bug somewhere? Cheers, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys

[Orgmode] [babel] feature request: org-babel-pre-tangle-hook

2010-09-03 Thread Rainer M Krug
to add an org-babel-pre-tangle-hook? Thanks, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman

[Orgmode] Re: [babel] feature request: org-babel-pre-tangle-hook

2010-09-03 Thread Rainer M Krug
he buffer before tangling (behavior which was > already part of the tangle process). Thanks a lot Eric - working perfectly. Cheers, Rainer > > Best -- Eric > > Rainer M Krug writes: > >> Hi >> >> I am doing some post-processing using the org-babel-post-tangle-ho

Re: [Orgmode] [babel] Error with source block and variable on export - bug?

2010-09-03 Thread Rainer M Krug
king-revision "~/src/babel-dev/scraps.org") > :exports results > echo $file Revision > #+end_src Hi Eric thanks a lot for the clarification - that makes perfect sense. I will do as suggested. Cheers, Rainer > > Cheers -- Eric > > Rainer M Krug writes: > >&g

Re: [Orgmode] [babel] Error with source block and variable on export - bug?

2010-09-03 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/09/10 16:32, Rainer M Krug wrote: > On 03/09/10 15:40, Eric Schulte wrote: >> Hi Rainer, > >> As part of the export process Org-mode copies the contents of the >> Org-mode file to a temporary buffer in which the busin

Re: [Orgmode] [babel] Error with source block and variable on export - bug?

2010-09-04 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/09/10 19:51, Eric S Fraga wrote: > On Fri, 03 Sep 2010 09:05:24 -0600, "Eric Schulte" > wrote: >> >> Rainer M Krug writes: >> >>> On 03/09/10 16:32, Rainer M Krug wrote: >>>>

[Orgmode] Why :ID: properties?

2010-09-07 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi suddenly (some time ago) :ID:properties occured under all headlines - why are they there, do I need them, and who put them there? Thanks, Rainer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla -

Re: [Orgmode] Why :ID: properties?

2010-09-07 Thread Rainer M Krug
track of > headlines. > > See the MobileOrg part of the manual on how to turn > them off if that is indeed the issue. > > On 09/07/2010 09:10 AM, Rainer M Krug wrote: > Hi > > suddenly (some time ago) :ID:properties occured under all headlines - > why are they the

Re: [Orgmode] Why :ID: properties?

2010-09-07 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/09/10 16:40, Bastien wrote: > Rainer M Krug writes: > >> On 07/09/10 16:16, Erik Iverson wrote: >>> Did you recently start using MobileOrg? >> >> No - I only inserted a link, and around that time the :ID:

Re: [Orgmode] Why :ID: properties?

2010-09-07 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/09/10 16:34, Bastien wrote: > Erik Iverson writes: > >> Did you recently start using MobileOrg? > > Or maybe you exported to iCal. Nope - the org file is literate programming - only tang;ed and exported. > > org-icalendar.el also sets :I

[Orgmode] Inline source block documentation

2010-09-08 Thread Rainer M Krug
ode blocks: src_haskell[:exports both]{fac 5} ###QUOTE END Did I miss them? If not, could they be included? Thanks, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Build

[Orgmode] Version number via inline source in header of exported html and pdf? and Custom export name?

2010-09-08 Thread Rainer M Krug
website, and selected previous versions should be available as well. Thanks, Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch

[Orgmode] Re: Version number via inline source in header of exported html and pdf? and Custom export name?

2010-09-08 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/09/10 13:04, Noorul Islam K M wrote: > Rainer M Krug writes: > >> Hi >> >> two questions: >> >> 1) is it possible to add the result of an inline code snipet (in my case >> the SVN revision number) in

Re: [Orgmode] Inline source block documentation

2010-09-08 Thread Rainer M Krug
hould be an improvement. Definitely - and I think it should be fine. But I would suggest to use the term "inline source block" here as well, as then one can find it when searching the pdf. e.g: code blocks can also be embedded in text as so called inline code blocks as Cheers, Rainer >

[Orgmode] plantuml and svg format instead of png - feature request

2010-09-09 Thread Rainer M Krug
done in a second bash script. Thanks, and I really like the plantuml integration for quickly documenting with flowcharts while programming - brilliant. Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellenc

Re: [Orgmode] plantuml and svg format instead of png - feature request

2010-09-10 Thread Rainer M Krug
for rsvg-convert: -f , --format=[png, pdf, ps, svg] save format [optional; defaults to 'png'] the others are not that relevant. Thanks, Rainer > > Thanks -- Eric > > Rainer M Krug writes: > >> Hi >> >> I just saw that a bug in plantuml is fi

Re: [O] Help with compilation warnings since Emacs 24

2011-07-01 Thread Rainer M Krug
elp silencing > those warnings, that will boost the release process a lot. > I would like to try out emacs 24 - is there somwhere a download for it? I am a little reluctant to use the latest from their vcs, as it might be unstable? Rainer > > Thanks in advance, > > -- > Bastien &

Re: [O] Collaborating with other people (was: Org-mode as a replacement for LaTeX)

2011-07-01 Thread Rainer M Krug
bversion_(software) > 2. https://secure.wikimedia.org/wikipedia/en/wiki/TortoiseSVN > 3. https://secure.wikimedia.org/wikipedia/en/wiki/Git_(software) Just to add from the Linux side: http://www.rabbitvcs.org/ very similar to TortoiseSVN - also works for git. Rainer > > -- > Karl

Re: [O] Help with compilation warnings since Emacs 24

2011-07-01 Thread Rainer M Krug
On Fri, Jul 1, 2011 at 3:23 PM, Eric S Fraga wrote: > Rainer M Krug writes: > > > On Fri, Jul 1, 2011 at 11:48 AM, Bastien wrote: > > > >> Dear all, > >> > >> Emacs 24 introduces changes to some buffer/window/frames related > >> funct

Re: [O] Conditional Inclusion

2011-07-05 Thread Rainer M Krug
> -- > Avdi Grimm > http://avdi.org > > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 6

Re: [O] Conditional Inclusion

2011-07-05 Thread Rainer M Krug
On Tue, Jul 5, 2011 at 11:09 AM, Eric S Fraga wrote: > Rainer M Krug writes: > > > On Tue, Jul 5, 2011 at 6:43 AM, Avdi Grimm > wrote: > > > >> I'm trying to produce two slightly different PDF versions from the > >> same document. > >>

Re: [O] Create a view of just source-code blocks?

2011-07-06 Thread Rainer M Krug
e incorporated into Org-mode. > > > I like the idea of only showing the source code blocks, but I would think that the org way would be to fold everything else and to od=pen the source code blocks? Would that be possible? (I must say I haven't looked at your solution, Eric) Ra

Re: [O] working with delimited files

2011-07-08 Thread Rainer M Krug
d be two aspects: 1) import delimited file into org-table 2) export of table into delimited format Both in itself would be very useful, but together they would be brilliant. Rainer > -- > Bastien > > -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Bio

[O] [babel] Piping from sh code to shell?

2011-07-13 Thread Rainer M Krug
similar to the functionality provided by ESS and R? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33

Re: [O] [babel] Piping from sh code to shell?

2011-07-13 Thread Rainer M Krug
gt; sh code blocks > do however support session evaluation, which could be similar. > True - I haven't thought about that. Thanks, Rainer > > Best -- Eric > > Rainer M Krug writes: > > > Hi > > > > this is not strictly an org-babel question - but h

Re: [O] Suggestion: Stackoverflow for Orgmode

2011-07-20 Thread Rainer M Krug
ing this? > > > Not starting - but I think it is a really good idea. Nothing against worg (an absolutely fantastic resource) - but I consider the way that worg is edited as more static then a dynamic FAQ page, which this would result in if I understand correctly. I would definitely a

[O] [babel] escaping of links when result from source code block?

2011-07-21 Thread Rainer M Krug
:./cv.cls") #+end_src #+results: #+BEGIN_ORG file:./cv.cls #+END_ORG -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53

Re: [O] [babel] escaping of links when result from source code block?

2011-07-21 Thread Rainer M Krug
s to several graphs created in R, so I think the scalar option would be a good solution. Thanks a lot, Rainer > > Best -- Eric > > Rainer M Krug writes: > > > Hi > > > > when evaluating the code blocks below, I would expect [[file:./cv.cls]] > , > > bu

Re: [O] Need control over insertion point of variables in code blocks

2011-07-22 Thread Rainer M Krug
'm just doing something wrong here. Executing the #+Tblfm results > in the error: "reference $< not found in buffer". How do I do the reference > correctly in this case? > > You can test both cases in the attached org-file. > > > > > > -- Rainer

Re: [O] Need control over insertion point of variables in code blocks

2011-07-22 Thread Rainer M Krug
On Fri, Jul 22, 2011 at 9:55 AM, Dirk Scharff wrote: > Hi > > Am 22.07.2011 um 09:34 schrieb Rainer M Krug: > > For tangling: you could put from __future__ imports into the :shebang and > use padline ":padline no", i.e.: > > #+source: the_test > #+begi

Re: [O] Suggestion: Stackoverflow for Orgmode

2011-07-22 Thread Rainer M Krug
utely. But what about sending once a week an automated email to the mailing list with the last not answered questions? That would keep the two even more in sync. I do not think that one can submit questions to stackoverflow via email? Rainer > > Thanks, > > -- > Bastien > > --

Re: [O] making coloured tables

2011-08-01 Thread Rainer M Krug
at would solve my problems. > > My above feature of the wishlist isn't for export -- I misread your > original > post. Just speaking of editing feature in the Org buffer, for giving more > insight on formulas in tables. > I think that would be very useful feature to be i

[O] [babel] tangle from within codeblock?

2011-08-04 Thread Rainer M Krug
27; #+end_src But I get an error: Saving file /home/rkrug/tmp/test.org... Wrote /home/rkrug/tmp/test.org (No changes need to be saved) [56 times] cons: Lisp nesting exceeds `max-lisp-eval-depth' I have the feeling, I am missing something small. Is there a different way to achieve this? Chee

Re: [O] [babel] tangle from within codeblock?

2011-08-08 Thread Rainer M Krug
On Fri, Aug 5, 2011 at 7:13 PM, Eric Schulte wrote: > Rainer M Krug writes: > > > Hi > > > > I have an R package in org, and would like to tangle it before I submit > to > > svn. > > > > I commit via a code block: > > > > #+begin_src sh

[O] [babel] set post tangle hook on per file basis - evalu

2011-08-08 Thread Rainer M Krug
babel-post-tangle-hook ( lambda () (call-process-shell-command "./postTangleScript.sh" nil 0 nil) ) ) #+end_src Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT),

Re: [O] [babel] set post tangle hook on per file basis - evalu

2011-08-09 Thread Rainer M Krug
On Tue, Aug 9, 2011 at 2:33 PM, Eric Schulte wrote: > Rainer M Krug writes: > > > Hi > > > > for different files, I put different things in the post-tangle hook. At > tha > > moment, I have an emacs-lisp code block, which I evaluate before I > tangle, &g

Re: [O] [babel] set post tangle hook on per file basis - evalu

2011-08-10 Thread Rainer M Krug
> Thanks, and sorry for my lack of elisp understanding - it has not > improved > > much... > > > > Rainer > > > > > >> Best -- Eric > >> > >> Footnotes: > >> [1] [[info:emacs#Specifying%20File%20Variables][info:emacs#Specifying > File

Re: [O] [Babel] Blank line preceeds tangled data

2011-08-26 Thread Rainer M Krug
tangled output. > > > > Not sure why it's there (I'm sure Eric S. will enlighten us) > but you can get rid of it with :padline no. > and there is also the :shebang parameter to specify the shebang, so #+begin_src sh :tangle x.sh :shebang #!bin/sh :padline no echo

<    1   2   3   4   5   6   7   8   9   10   >