Re: [patch] documentation update (was Re: could a :var header argument refer to a data table in another file?)

2021-05-03 Thread Eric S Fraga
On Monday, 3 May 2021 at 15:43, Bastien wrote: > Such small mistakes are okay, don't worry. It's better to leave them > than to edit commit messages that have already been pushed to the > public. Okay, thank you. I'll try to be more careful next time! -- : Eric S Fraga via Emacs 28.0.50, Org

Re: [patch] documentation update (was Re: could a :var header argument refer to a data table in another file?)

2021-05-03 Thread Bastien
Eric S Fraga writes: > On Monday, 3 May 2021 at 15:00, Bastien wrote: >> Applied with commit 479a3da22 in master, thanks. > > Thank you Bastien. However, as soon as I looked, I realised that my > commit message missed out the "doc/" part of the file name for the > manual. Can you fix that (if

Re: [patch] documentation update (was Re: could a :var header argument refer to a data table in another file?)

2021-05-03 Thread Eric S Fraga
On Monday, 3 May 2021 at 15:00, Bastien wrote: > Applied with commit 479a3da22 in master, thanks. Thank you Bastien. However, as soon as I looked, I realised that my commit message missed out the "doc/" part of the file name for the manual. Can you fix that (if necessary)? Thanks again, eric

Re: [patch] documentation update (was Re: could a :var header argument refer to a data table in another file?)

2021-05-03 Thread Bastien
Hi Eric, Eric S Fraga writes: > On Thursday, 29 Apr 2021 at 10:51, John Kitchin wrote: >> I don't know if it is in the manual. It would be great to have it in >> https://orgmode.org/manual/Environment-of-a-Code-Block.html. > > Attached is a patch for this. Thank you. Applied with commit

[patch] documentation update (was Re: could a :var header argument refer to a data table in another file?)

2021-05-03 Thread Eric S Fraga
On Thursday, 29 Apr 2021 at 10:51, John Kitchin wrote: > I don't know if it is in the manual. It would be great to have it in > https://orgmode.org/manual/Environment-of-a-Code-Block.html. Attached is a patch for this. Thank you. -- : Eric S Fraga via Emacs 28.0.50, Org

Re: could a :var header argument refer to a data table in another file?

2021-05-01 Thread Eric S Fraga
On Saturday, 1 May 2021 at 07:58, Michael Welle wrote: > I smell something strange going on here ;). Synchronicity, aka great minds think alike. :-) -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.5-405-g0a689b

Re: could a :var header argument refer to a data table in another file?

2021-04-30 Thread Michael Welle
Hello, Eric S Fraga writes: > Hello all, > > TL;DR: I have the need to reference a table that is in another file to > pass as data to a src block in the current file. Is this possible? > Hints welcome! I smell something strange going on here ;). For every Org related question I had in the last

Re: could a :var header argument refer to a data table in another file?

2021-04-29 Thread Eric S Fraga
On Thursday, 29 Apr 2021 at 10:51, John Kitchin wrote: > I don't know if it is in the manual. It would be great to have it in > https://orgmode.org/manual/Environment-of-a-Code-Block.html. Indeed. I'll add this to my todo list. (although happy if anybody else steps up and does it, of course)

Re: could a :var header argument refer to a data table in another file?

2021-04-29 Thread John Kitchin
I don't know if it is in the manual. It would be great to have it in https://orgmode.org/manual/Environment-of-a-Code-Block.html. John --- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University

Re: could a :var header argument refer to a data table in another file?

2021-04-29 Thread Eric S Fraga
And, just to add: it works like a charm! Thank you again. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4.5-381-g17ef1b.dirty

Re: could a :var header argument refer to a data table in another file?

2021-04-29 Thread Eric S Fraga
On Thursday, 29 Apr 2021 at 09:17, John Kitchin wrote: > This syntax works for me. > > #+BEGIN_SRC python :var data=data.org:remote-table Brilliant! As usual, if I want to do something in org, it can be done. Did you find this in the manual? I did look but must have missed it. thank you, eric

Re: could a :var header argument refer to a data table in another file?

2021-04-29 Thread John Kitchin
This syntax works for me. #+BEGIN_SRC python :var data=data.org:remote-table print(data) #+END_SRC John --- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803

could a :var header argument refer to a data table in another file?

2021-04-29 Thread Eric S Fraga
Hello all, TL;DR: I have the need to reference a table that is in another file to pass as data to a src block in the current file. Is this possible? Hints welcome! Longer version: I am running a series of numerical experiments, each of which generates output files (using org syntax!). I want