From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Rudin Subject: Re: inline constant substitution Date: Mon, 13 Oct 2014 20:38:10 +0100 Message-ID: <87mw8zkbfh.fsf@rudin.co.uk> References: <871tqd1hao.fsf@rudin.co.uk> <8738atpbuk.fsf@nicolasgoaziou.fr> <87tx39yzx9.fsf@rudin.co.uk> <874mv8tcg1.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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 about simply: > > | {{{foo}}} | > > i.e. put the macro reference directly in the table? The value gets exported to LaTeX in the table, but that apparently happens at export time. So if you have formulae in the table that refer to that cell they don't compute using the value.