all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Seweryn Kokot <sewkokot@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org tables - modified field
Date: Mon, 30 Aug 2010 14:22:18 +0200	[thread overview]
Message-ID: <C31E5FDB-461F-41E0-B871-7D24BF71527B@gmail.com> (raw)
In-Reply-To: <loom.20100702T101837-889@post.gmane.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

      reply	other threads:[~2010-08-30 12:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02  8:27 org tables - modified field Seweryn Kokot
2010-08-30 12:22 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C31E5FDB-461F-41E0-B871-7D24BF71527B@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sewkokot@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.