Re: [Orgmode] org tables - modified field

2010-08-30 Thread Carsten Dominik


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...@1$1;%.2f::@2$2...@1$2;*%.2f*::@3$1...@2$1;*%. 
2f*::@3$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
12  \\
\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


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org tables - modified field

2010-07-02 Thread Seweryn Kokot
Hi,

I have the following table

#+TBLNAME: table_three
|+|
|  1 | 2  |
|+|
|   2.00 | *4.00* |
| *4.00* | #ERROR |
|+|
#+TBLFM: @2$1...@1$1;%.2f::@2$2...@1$2;*%.2f*::@3$1...@2$1;*%.2f*::@3$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
 12  \\
\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?

Best regards,
Seweryn 


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode