Re: [O] inline constant substitution

2014-10-13 Thread Paul Rudin
Eric S Fraga writes: > On Sunday, 12 Oct 2014 at 18:13, Paul Rudin wrote: >> Thanks. If I *also* want to use that value in a table is there a way to >> do that? I experimented with: >> >> #+TBLFM: @1$1={{{foo}}} >> >> and >> >> #+TBLFM: @1$1="{{{foo}}}" >> >> But neither of those work. > > What

Re: [O] inline constant substitution

2014-10-13 Thread Eric S Fraga
On Sunday, 12 Oct 2014 at 18:13, Paul Rudin wrote: > Thanks. If I *also* want to use that value in a table is there a way to > do that? I experimented with: > > #+TBLFM: @1$1={{{foo}}} > > and > > #+TBLFM: @1$1="{{{foo}}}" > > But neither of those work. What about simply: | {{{foo}}} | i.e. put

Re: [O] inline constant substitution

2014-10-12 Thread Grant Rettke
Should a noweb-ref be expanded as imagined inside of a table for this case? Eg pseudo code: , | #+NAME: foo | #+begin_src emacs-lisp | 42 | #+end_src | | | #+NAME: ns | | n | | |---| | | 1 | | | 2 | | | <> | | | | ` On Sun, Oct 12, 2014 at 10:05 AM, Nicolas Goazio

Re: [O] inline constant substitution

2014-10-12 Thread Paul Rudin
Nicolas Goaziou writes: > Paul Rudin writes: > >> Suppose I have: >> >> #+CONSTANTS: foo=42 >> >> How can I make inline references to a constant on export in regular >> text, rather than in a table? >> >> I want to be able to write something like: >> >> The value of foo is $foo >> >> in my o

Re: [O] inline constant substitution

2014-10-12 Thread Nicolas Goaziou
Hello, Paul Rudin writes: > Suppose I have: > > #+CONSTANTS: foo=42 > > How can I make inline references to a constant on export in regular > text, rather than in a table? > > I want to be able to write something like: > > The value of foo is $foo > > in my org file, and then end up with: