From mboxrd@z Thu Jan 1 00:00:00 1970 From: zenlines@gmail.com Subject: Re: table references in org-babel AND latex Date: Fri, 19 Jul 2013 12:51:09 +0200 Message-ID: <51E91A1D.2010507@gmail.com> References: <5187AEA7.6090702@gmail.com> <51E5A677.7010904@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V08HN-0002qg-Do for emacs-orgmode@gnu.org; Fri, 19 Jul 2013 06:51:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V08HK-0006OC-Tv for emacs-orgmode@gnu.org; Fri, 19 Jul 2013 06:51:17 -0400 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:33380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V08HK-0006O5-OR for emacs-orgmode@gnu.org; Fri, 19 Jul 2013 06:51:14 -0400 Received: by mail-wg0-f52.google.com with SMTP id b12so3844765wgh.19 for ; Fri, 19 Jul 2013 03:51:13 -0700 (PDT) Received: from ?IPv6:2001:620:d:4252:c5a8:68a9:86b6:4092? ([2001:620:d:4252:c5a8:68a9:86b6:4092]) by mx.google.com with ESMTPSA id fd3sm47595181wic.10.2013.07.19.03.51.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 19 Jul 2013 03:51:11 -0700 (PDT) In-Reply-To: <51E5A677.7010904@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi there, sorry for the junk I sent regarding table references in org-babel AND latex. Org-mode is awesome. In such a case, it is not necessary to identify something by what it is in the classical LaTeX way and just label it (#+name:). Org-mode recognizes just what it is and the labels refer either to a table or figure, which have their class-based numberings. Sorry for the crap. It may still be helpful to include that code block header variables (#+HEADERS: :var) can't be assigned with a name including ":". Best, Brian On 07/16/2013 10:00 PM, zenlines@gmail.com wrote: > Hi There, > > it might be nice to include documentation about table references in > org-babel AND latex, i.e.: > > +begin_example > > numbers in table [[tab:Table]] are important. > #+CAPTION: Description of system > #+NAME: tab:Table > | Code | > |------| > | 1 | > | 2 | > | 4 | > | 8 | > | 16 | > | 32 | > | 64 | > | 128 | > | NaN | > > #+begin_src R :session :var FlaggingTable=tab:FlaggingTable :results > silent :eval no-export > write.csv(FlaggingTable, file=file.path(doc.dir, "FlaggingTable.csv")) > #+end_src > > Won't work, but > > #+begin_src R :session :var FlaggingTable="tab:FlaggingTable" :results > silent :eval no-export > write.csv(FlaggingTable, file=file.path(doc.dir, "FlaggingTable.csv")) > #+end_src > > will! > > +end_example > > Maybe I missed something somewhere, it would be nice to see it as a > footnote, to keep others sane :). > > Best, > Brian > > GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll > bars) of 2013-05-15 on DDM03958 > Org-mode version 8.0.5 (8.0.5-6-g426917-elpa @ > ~/.emacs.d/elpa/org-20130708/) > > >