From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Table questions Date: Mon, 18 Dec 2006 10:29:23 +0100 Message-ID: References: <1oac1qih6j.fsf@bass.biostat.umn.edu> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GwEoO-00044L-Ma for emacs-orgmode@gnu.org; Mon, 18 Dec 2006 04:29:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GwEoM-00041f-0O for emacs-orgmode@gnu.org; Mon, 18 Dec 2006 04:29:31 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GwEoL-00041P-Nt for emacs-orgmode@gnu.org; Mon, 18 Dec 2006 04:29:29 -0500 Received: from [146.50.4.51] (helo=imap.science.uva.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GwEoL-0006Qm-Bl for emacs-orgmode@gnu.org; Mon, 18 Dec 2006 04:29:29 -0500 In-Reply-To: <1oac1qih6j.fsf@bass.biostat.umn.edu> 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: Michael Cc: emacs-orgmode@gnu.org On Dec 14, 2006, at 17:19, Michael wrote: > > I recently started using org-mode and love its table feature. Here > are some > questions that I have: > > 1. In table calculation, how to refer to a cell in a different column > and > different row? Specifically, I want column 8 row 5 to be the ratio > of > column 7 row 5 and column 7 row 4. You cannot, at least currently. I am not sure how well this would work, because the table editor makes it very easy to swap rows, columns, to add and delete columns, and such references would become invalid unless one would carefully track these changes. There is a limit of what is still reasonable with the concept of org-mode tables. If you want to create really complicated tables, maybe you are better off with a link to another file in which you use SES, or even Excel. Having said this, I do want to do a bit more in this direction, but this is nowhere near completion. > 2. I think the table minor mode would be a fantastic tool in editing > tables > in a LaTeX file. I wonder whether it is possible to let orgtbl > recognize > \begin{tabular}\end{tabular} and use & as column delimiter rather > than | > (also respect end of line \\)? Yes, I think it would and I have been thinking to make this possible. However, once I allow this, people will want to use \multicolumn, and this seems for me to be beyond the scope. Have you tried M-x align-current RET in a LaTeX table? It does wonders. - Carsten