From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org tables - modified field Date: Mon, 30 Aug 2010 14:22:18 +0200 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=38934 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oq3Nr-0005M2-G3 for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 08:23:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oq3NY-0001eC-86 for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 08:22:25 -0400 Received: from paard.ic.uva.nl ([145.18.40.182]:48711) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oq3NY-0001e2-0h for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 08:22:24 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Seweryn Kokot Cc: emacs-orgmode@gnu.org On Jul 2, 2010, at 10:27 AM, Seweryn Kokot wrote: > Hi, > > I have the following table > > #+TBLNAME: table_three > |--------+--------| > | 1 | 2 | > |--------+--------| > | 2.00 | *4.00* | > | *4.00* | #ERROR | > |--------+--------| > #+TBLFM: @2$1=2*@1$1;%.2f::@2$2=2*@1$2;*%.2f*::@3$1=2*@2$1;*%. > 2f*::@3$2=2*@2 > $2;*%.2f* > > in which I would like to have some fields bold in org buffer and > latex export > > \begin{center} > \begin{tabular}{rl} > \hline > 1 & 2 \\ > \hline > 2.00 & \textbf{4.00} \\ > \textbf{4.00} & \#ERROR \\ > \hline > \end{tabular} > \end{center} > > However, since the field B3 refers to the field B2 which is not > exactly a > number, I get an error. > > Would it be possible to reuse the field B2 in another formula, > somehow? Only if you use elisp formulas and strip the stars yourself. Calc cannot solve this for you, so computations using calc with emphasized fields are not allowed in org tables. HTH - Carsten