[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] table references in org-babel AND latex
From: |
zenlines |
Subject: |
[O] table references in org-babel AND latex |
Date: |
Tue, 16 Jul 2013 22:00:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 |
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/)
- [O] table references in org-babel AND latex,
zenlines <=