Re: [O] Reproducing a table

2017-03-14 Thread Christian Moe
Jarmo Hurri writes: > In some earlier version of Org the following > used to work: > > #+name: my-table > | row 1 | 1 | 2 | > | row 2 | 3 | 4 | > |---+---+---| > | | col 1 | col 2 | > > #+call: my-table() :hlines yes > > That is, in the past the table

Re: [O] Reproducing a table

2017-03-14 Thread Jarmo Hurri
Christian Moe writes: Greetings. > You can simplify it even further to > > #+begin_src elisp :var data=my-table :hlines yes > data > #+end_src > > which is sane enough for me. > > To get simpler than that, I think you need #+INCLUDE and a separate > file. I think that would be the best appr

Re: [O] Reproducing a table

2017-03-14 Thread Christian Moe
You can simplify it even further to #+begin_src elisp :var data=my-table :hlines yes data #+end_src which is sane enough for me. To get simpler than that, I think you need #+INCLUDE and a separate file. I can't tell from the example why you need to define it in one place and reproduce it i

[O] Reproducing a table

2017-03-13 Thread Jarmo Hurri
Greetings (again). What is the smartest way to reproduce a table without defining the table as an Org source block (constraint explained below). I can do the following, but it doesn't seem very sane (need to use elisp or some other language just to funnel the table). # -