James Powell writes:
> If I put #+name before the table, the link does indeed work, but now
> the table is reproduced twice in the latex output and also C-c C-c in
> the code block writes a new table into the file instead of updating
> the current table.
>
> Before C-c C-c in the code block,
If I put #+name before the table, the link does indeed work, but now
the table is reproduced twice in the latex output and also C-c C-c in
the code block writes a new table into the file instead of updating
the current table.
Before C-c C-c in the code block, this org snippet produces the table
Hello,
James Powell writes:
> Using Org mode version 9.4.4 I build this document:
>
> <>
>
> #+NAME: t1
> #+begin_src R :exports both
>
> library(tidyverse) x <- tribble(~a, ~b, 1, 3) x #+end_src
>
> #+CAPTION: Org Table
> #+RESULTS: t1
>
> | 1 | 3 |
>
> I want to refer to Table [[t1]].
Using Org mode version 9.4.4 I build this document:
<>
#+NAME: t1
#+begin_src R :exports both
library(tidyverse)
x <- tribble(~a, ~b, 1, 3)
x
#+end_src
#+CAPTION: Org Table
#+RESULTS: t1
| 1 | 3 |
I want to refer to Table [[t1]].
<>
What I expect: the latex export will include the table