[O] Exporting org-mode source

2014-05-02 Thread Vikas Rawal
I want to export a block of org-mode source code in a tutorial I am writing. I have tried variations of the following. But nothing seems to give me org-mode code in the exported pdf. #+BEGIN_SRC org :results code replace org-mode code here #+END_SRC What is the right way to do it? Vikas

Re: [O] :mkdirp without path specifier

2014-05-02 Thread R. Michael Weylandt
On Fri, May 2, 2014 at 11:43 PM, R. Michael Weylandt wrote: > Patch attached. Should apply cleanly against master and maint. Bah, botched the formatting. Attached should be fixed. 0001-Fix-tangle-with-mkdirp-yes-tangle-FILE.patch Description: Binary data

Re: [O] :mkdirp without path specifier

2014-05-02 Thread R. Michael Weylandt
On Thu, May 1, 2014 at 3:47 PM, Michael Weylandt wrote: > If it intended that setting :mkdirp yes should break tangling with > 'directory-free' file names? > > I.e., should > # > #+TITLE: test > #+BEGIN_SRC python :mkdirp yes :tangle test.py > print 1+2 > #+END_SRC > ### >

[O] Color entries according to assigned priority

2014-05-02 Thread Uwe Ziegenhagen
Hello, is it possible to color the different entries in an org file according to the priority assigned to them? I'd like to have #a items in black and #b, #c and non-prioritized items in gray tones. Uwe

Re: [O] (no subject)

2014-05-02 Thread William Henney
Or, even better, just divide by the HMS form for 1 second (0@ 0' 1"): | - | - | - | 1@ 11' 37" | - | - | - | 4297 | #+TBLFM: $8=$4 \ 0@ 0' 1" Note that \ is integer division, so there is no need for a format conversion Will P.S. I highly recommend reading the [[info:calc#Basic Arithmetic]] sect

Re: [O] (no subject)

2014-05-02 Thread William Henney
Hi Ryan Convert to degrees, then multiply by 3600: | - | - | - | 1@ 11' 37" | - | - | - | 4297 | #+TBLFM: $8=3600 deg($4); %d Cheers Will On Fri, May 2, 2014 at 8:52 PM, Ryan Moszynski wrote: > If an org table cell contains the HMS 1@ 11' 37" > > is there an easy way to get the total (time)

[O] (no subject)

2014-05-02 Thread Ryan Moszynski
If an org table cell contains the HMS 1@ 11' 37" is there an easy way to get the total (time)seconds? (1*3600 + 11*60 + 37 = 4297) if $4 = 1@ 11' 37" how do I get $8 = 4297? thanks ryan -- He felt that his whole life was some kind of dream and he sometimes wondered whose it was and whethe

[O] using Org-player with Org-drill

2014-05-02 Thread Todd Neufeld
I posted the following at gmane.emacs.help but afterwards realized this might be the more appropriate forum. Please excuse the double post: Hi all. I'm relatively new to emacs, and I don't have a computer programming background. For purposes of learning a language, I want to use Org-player wit

Re: [O] Redshank gets loaded when exporting ELisp code blocks to HTML!?

2014-05-02 Thread Sebastien Vauban
Hello Sacha and Nicolas, Answering after a (too) long time with very intermittent Internet access... Sacha Chua wrote: > Sebastien Vauban writes: > >> Why are Emacs Lisp minor modes loaded for exporting the Org document >> to HTML? If not necessary, this seems suboptimal (performance-wise). > >

Re: [O] [bug] Org-verbatim and org-code not converted into HTML tags

2014-05-02 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > Sebastien Vauban writes: > >> Though, there are extra diffs in my HTML output, about the style of the >> org-block delimiter lines: they've lost their "under/over-line" feature, >> and colors are not the same anymore. > > Can you bisect to spot the first bad commit, an

Re: [O] [RFC] Rewrite indentation functions

2014-05-02 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Wish I was competent to actually review this, but... In lieu of that, >> I'd be happy to run it and report errors. If you think a separate >> testing branch is warranted, that might be an idea. Otherwise I'd say >> let it drop and

Re: [O] Title of org files in github not recognized

2014-05-02 Thread Julian Gehring
Hi Waldemar, Thanks, I'm looking forward to see all these improvements also in github. Best wishes Julian On 02.05.2014 07:44, Waldemar Quevedo wrote: Hi, yes this issue would be fixed once Github upgrades the Ruby implementation of the parser. To upgrade the version it takes making a pull r

Re: [O] [RFC] Rewrite indentation functions

2014-05-02 Thread Nicolas Goaziou
Hello, Eric Abrahamsen writes: > Wish I was competent to actually review this, but... In lieu of that, > I'd be happy to run it and report errors. If you think a separate > testing branch is warranted, that might be an idea. Otherwise I'd say > let it drop and we'll pick up the pieces :) You ca