From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Selective export of table columns Date: Wed, 24 Nov 2010 00:21:41 -0800 Message-ID: <4CECCB15.7070909@gmail.com> References: <4CEB7D68.2030804@gmail.com> <4356.1290518320@gamaville.dokosmarshall.org> <4CECB885.7020801@gmail.com> <60DD2E03-0BAE-4180-B1FC-5FE70548A486@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090508050801010107000308" Return-path: Received: from [140.186.70.92] (port=55198 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLAbr-0005rZ-3G for emacs-orgmode@gnu.org; Wed, 24 Nov 2010 03:21:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLAbq-00049F-4d for emacs-orgmode@gnu.org; Wed, 24 Nov 2010 03:21:47 -0500 Received: from mail-px0-f169.google.com ([209.85.212.169]:58144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLAbp-000491-SX for emacs-orgmode@gnu.org; Wed, 24 Nov 2010 03:21:46 -0500 Received: by pxi12 with SMTP id 12so4237316pxi.0 for ; Wed, 24 Nov 2010 00:21:45 -0800 (PST) In-Reply-To: <60DD2E03-0BAE-4180-B1FC-5FE70548A486@gmail.com> 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: Carsten Dominik Cc: nicholas.dokos@hp.com, emacs This is a multi-part message in MIME format. --------------090508050801010107000308 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Carsten, On Tuesday 23 November 2010 11:47 PM, Carsten Dominik wrote: >> But I have a related but probably slightly off-topic question. I tried >> setting the label of a radio table in a tex source file. This breaks >> the conversion. Is this supported? > > > You mean the receiver location is in a TeX file? > > In this case you should also put the sender table into the TeX file, > between \begin{comment}...\end{comment}, and turn on the minor > orgtbl-mode in that TEX file to edit the table. > Yes I did exactly that. And the regular table conversion works just fine. I was asking whether it is possible to specify the label for the table using this method, as the "#+LABEL: tbl:somename" directive does for regular latex export of org files. My issue is if I set the label by putting a "\label{tbl:somename}" by hand after the conversion, it goes away the next time I refresh the orgtbl. I have attached an example showing the two occasions. > - Carsten -- Suvayu Open source is the future. It sets us free. --------------090508050801010107000308 Content-Type: application/x-tex; name="radio_tables.tex" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="radio_tables.tex" % table with the label % BEGIN RECEIVE ORGTBL withlabel \begin{tabular}{rrr} \hline column 1 & column 2 & column 3 \\ \hline 0.10 & 0.959958 & 1 $\pm$ 0.03 \\ 0.12 & 0.692851 & 1 $\pm$ 0.03 \\ 0.14 & 0.525368 & 1 $\pm$ 0.03 \\ 0.28 & 0.147652 & 1.5 $\pm$ 0.05 \\ 0.30 & 0.126915 & 1.6 $\pm$ 0.05 \\ \label{tbl:somename} \end{tabular} % END RECEIVE ORGTBL withlabel % refreshing the table below with `C-c C-c' removes the above % \label{} tag inserted by hand \begin{comment} #+ORGTBL: SEND withlabel orgtbl-to-latex #+LABEL: tbl:somename #+ORGTBL: SEND withlabel orgtbl-to-latex |----------+----------+----------------| | column 1 | column 2 | column 3 | |----------+----------+----------------| | | | | | 0.10 | 0.959958 | 1 $\pm$ 0.03 | | 0.12 | 0.692851 | 1 $\pm$ 0.03 | | 0.14 | 0.525368 | 1 $\pm$ 0.03 | | 0.28 | 0.147652 | 1.5 $\pm$ 0.05 | | 0.30 | 0.126915 | 1.6 $\pm$ 0.05 | \end{comment} % table w/o the label % BEGIN RECEIVE ORGTBL wolabel \begin{tabular}{rrr} \hline column 1 & column 2 & column 3 \\ \hline 0.10 & 0.959958 & 1 $\pm$ 0.03 \\ 0.12 & 0.692851 & 1 $\pm$ 0.03 \\ 0.14 & 0.525368 & 1 $\pm$ 0.03 \\ 0.28 & 0.147652 & 1.5 $\pm$ 0.05 \\ 0.30 & 0.126915 & 1.6 $\pm$ 0.05 \\ \end{tabular} % END RECEIVE ORGTBL wolabel \begin{comment} #+ORGTBL: SEND wolabel orgtbl-to-latex |----------+----------+----------------| | column 1 | column 2 | column 3 | |----------+----------+----------------| | | | | | 0.10 | 0.959958 | 1 $\pm$ 0.03 | | 0.12 | 0.692851 | 1 $\pm$ 0.03 | | 0.14 | 0.525368 | 1 $\pm$ 0.03 | | 0.28 | 0.147652 | 1.5 $\pm$ 0.05 | | 0.30 | 0.126915 | 1.6 $\pm$ 0.05 | \end{comment} --------------090508050801010107000308 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --------------090508050801010107000308--