Re: [O] Is it possible to add a class to a paragraph in HTML export?

2014-04-02 Thread Nicolas Goaziou
Hello, Bastien writes: > + (class0 (org-export-read-attribute :attr_html paragraph :class)) > + (class (if class0 (format " class=\"%s\"" class0))) >(extra (or (cadr (assoc parent-type style)) ""))) > (cond > ((and (eq (org-element-type parent) 'item) > @@ -2925,7 +2

Re: [O] Is it possible to add a class to a paragraph in HTML export?

2014-04-02 Thread Christian Moe
Nicolas Goaziou writes: > If deemed useful, I think this patch should use > `org-html--make-attribute-string' instead of hard-coding "class" > attribute +1. I would find this change useful. Yours, Christian

Re: [O] how to enter ==

2014-04-02 Thread Eric S Fraga
On Tuesday, 1 Apr 2014 at 02:52, Rustom Mody wrote: > If I enter code inline that has an == that is taken as an escape for code > So how to enter '==' literally How about ~==~? -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.5h-660-gef207f

[O] parse #+MYVAR?

2014-04-02 Thread Martin
Hi there, I'd like to extend org-mode and its a bit hard to find all the functions, but I don't like to redefine the wheel. I have some special buffers for my case, and I'd like to mark them with #+MYSPECIAL foo so later I'd like to find all buffers having MYSPECIAL set and get the "foo" which d

Re: [O] how to enter ==

2014-04-02 Thread Rustom Mody
On Wed, Apr 2, 2014 at 3:11 PM, Eric S Fraga wrote: > On Tuesday, 1 Apr 2014 at 02:52, Rustom Mody wrote: > > If I enter code inline that has an == that is taken as an escape for code > > So how to enter '==' literally > > How about ~==~? > > In that case the full ~==~ appears on export :-(

[O] Computing the value of some cells of a table using a named code block

2014-04-02 Thread Alan Schmitt
Hello, I have a table that summarizes my monthly budget, and I would like to add a column where I compute my actual spending. I can get this information using a shell script, but I don't know how to integrate it in the table. Here is a contrived example: --8<---cut here---

Re: [O] Computing the value of some cells of a table using a named code block

2014-04-02 Thread Michael Brand
Hi Alan On Wed, Apr 2, 2014 at 1:58 PM, Alan Schmitt wrote: > I have a table that summarizes my monthly budget, and I would like to > add a column where I compute my actual spending. I can get this > information using a shell script, but I don't know how to integrate it > in the table. > > Here i

[O] A file with 'org-mode rot'?

2014-04-02 Thread Sharon Kimble
I have been keeping my diary in an org-mode file since the beginning of the year, with this format - --8<---cut here---start->8--- * April ** 01 Tue blah de blah --8<---cut here---end--->8--- Today I have had to create a new

Re: [O] <<< >>> radio links should not match empty text

2014-04-02 Thread Nicolas Goaziou
Hello, Daniel Clemente writes: > Hi, recently this syntax: <<< >>> started highlighting all spaces (spaces > between words) as if they were links. I see them with a blue underline. > I found this because I used some Unicode-art like < > where > I certainly didn't mean to defi

Re: [O] Computing the value of some cells of a table using a named code block

2014-04-02 Thread Alan Schmitt
Hi Michael, Michael Brand writes: > When there is no named source block involved I use just > > | Category | Budget | Spending | > |--++--| > | Food | 1000 | Food | > | Rent | 1000 | Rent | > #+TBLFM: $3 = '(org-trim (shell-command-to-string (concat "e

Re: [O] how to enter ==

2014-04-02 Thread Eric S Fraga
On Wednesday, 2 Apr 2014 at 12:08, Rustom Mody wrote: > On Wed, Apr 2, 2014 at 3:11 PM, Eric S Fraga wrote: > >> On Tuesday, 1 Apr 2014 at 02:52, Rustom Mody wrote: >> > If I enter code inline that has an == that is taken as an escape for code >> > So how to enter '==' literally >> >> How about

Re: [O] how to enter ==

2014-04-02 Thread Rustom Mody
On Wed, Apr 2, 2014 at 6:39 PM, Eric S Fraga wrote: > On Wednesday, 2 Apr 2014 at 12:08, Rustom Mody wrote: > > On Wed, Apr 2, 2014 at 3:11 PM, Eric S Fraga wrote: > > > >> On Tuesday, 1 Apr 2014 at 02:52, Rustom Mody wrote: > >> > If I enter code inline that has an == that is taken as an esca

[O] radio links in middle of words. (was: Re: <<< >>> radio links should not match empty text)

2014-04-02 Thread Daniel Clemente
El Wed, 02 Apr 2014 14:59:42 +0200 Nicolas Goaziou va escriure: > > Hi, recently this syntax: <<< >>> started highlighting all spaces (spaces > > between words) as if they were links. I see them with a blue underline. > > I found this because I used some Unicode-art like < > > >

Re: [O] radio links in middle of words.

2014-04-02 Thread Nicolas Goaziou
Hello, Daniel Clemente writes: > ** Languages > *** <<>> language > *** <<>> > *** etc. > Etc. ← should the C in etc be highlighted as a link to „C“? Now it is and > it's a bit annoying. This is new behaviour. Indeed, this is expected. The patch you pointed out allows mid-word radio-targets. S

Re: [O] Export Org checkboxes in ox-html using UTF-8 symbols

2014-04-02 Thread Rick Frankel
On 2014-03-29 10:12, Marcin Borkowski wrote: Dnia 2014-03-28, o godz. 10:59:43 Rick Frankel napisał(a): On 2014-03-28 10:01, Sebastien Vauban wrote: > Rick Frankel wrote: > BTW, i used "[ ]" for the unchecked box (we use the same for > checked and trans)... I think i'll change the unchecked box

Re: [O] Bug? org-set-tags never uses ido

2014-04-02 Thread Anders Johansson
A hack to get ido selection for multiple tags. It uses ido-completing-read-multiple (available here and included below: https://gist.github.com/mgalgs/1329188) to allow for completing one tag at a time and ending it by typing ":". I haven't tested it much and it might possibly break things (or

[O] Help tangling

2014-04-02 Thread Andreas Hilboll
Hi, I want to write a "SConstruct" file (for SCons, a Python make alternative) in orgmode, using literate programming. So I have a file "SConstruct.org", where I include the code blocks with "#+begin_src ... #+end_src". My question: How can I specify that *all* code blocks shall be tangled i

Re: [O] Help tangling

2014-04-02 Thread Eric Schulte
Andreas Hilboll writes: > Hi, > > I want to write a "SConstruct" file (for SCons, a Python make > alternative) in orgmode, using literate programming. So I have a file > "SConstruct.org", where I include the code blocks with "#+begin_src ... > #+end_src". My question: > >How can I specify t

Re: [O] Help tangling

2014-04-02 Thread Andreas Hilboll
On 02.04.2014 23:04, Eric Schulte wrote: > Andreas Hilboll writes: > >> Hi, >> >> I want to write a "SConstruct" file (for SCons, a Python make >> alternative) in orgmode, using literate programming. So I have a file >> "SConstruct.org", where I include the code blocks with "#+begin_src ... >> #

Re: [O] parse #+MYVAR?

2014-04-02 Thread John Kitchin
maybe this post: http://kitchingroup.cheme.cmu.edu/blog/2013/05/05/Getting-keyword-options-in-org-files/is close what you are looking for. you have to figure out how to go through all the buffers,but the code here should do the parsing for you. John --- John Kitchi

Re: [O] parse #+MYVAR?

2014-04-02 Thread Martin
Thanks, thats very good for me. :) Martin John Kitchin writes: > maybe this post: > http://kitchingroup.cheme.cmu.edu/blog/2013/05/05/Getting-keyword-options-in-org-files/is > close what you are looking for. you have to figure out how to go > through > all the buffers,but the code here should do