Re: [O] [PATCH] Manual update

2019-06-07 Thread Kyle Meyer
Nicolas Goaziou writes: > Hello, > > Cheong Yiufung writes: > >> From 14ff6eb2b451471514206d5126c0af02125ec7e6 Mon Sep 17 00:00:00 2001 >> From: Cheong Yiu Fung >> Date: Mon, 13 May 2019 22:51:08 +0800 >> Subject: [PATCH] org-manual: Small fixes >> >> * doc/org-manual.org (Handling Links): upda

Re: [O] [PATCH] * doc/org-manual.org (External Links): Fix URL

2019-06-07 Thread Nicolas Goaziou
Hello, Gregor Zattler writes: > --- > doc/org-manual.org | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/org-manual.org b/doc/org-manual.org > index 469e16402..583840a74 100644 > --- a/doc/org-manual.org > +++ b/doc/org-manual.org > @@ -3081,7 +3081,7 @@ External li

Re: [O] [PATCH] Manual update

2019-06-07 Thread Nicolas Goaziou
Hello, Cheong Yiufung writes: > From 14ff6eb2b451471514206d5126c0af02125ec7e6 Mon Sep 17 00:00:00 2001 > From: Cheong Yiu Fung > Date: Mon, 13 May 2019 22:51:08 +0800 > Subject: [PATCH] org-manual: Small fixes > > * doc/org-manual.org (Handling Links): update variable > `org-id-link-to-org-use-

Re: [O] Capture with date prompt defaults to yesterday

2019-06-07 Thread Nicolas Goaziou
Hello, Neil Jerram writes: > Nicolas, I hope you don't mind me sending a 'ping' for this, as it looks > like it might have got lost. Please do let me know what you think. I'm not sure this is a right fix. Doesn't it force default times to noon instead of midnight? I think default times should

Re: [O] PATCHES: Wrap code in , add an attribute for line number value

2019-06-07 Thread Nicolas Goaziou
Hello, Nik Clayton writes: > Attached are two TINYCHANGE patches that provide an alternative way of > displaying line numbers in generated HTML output. Applied. Thank you. Could you also provide an entry in ORG-NEWS? Regards, -- Nicolas Goaziou

Re: [O] Output result of source block to a file

2019-06-07 Thread John Kitchin
you probably figured out the "import io" and "f = io..." line are not necessary here. I couldn't figure out a reasonable way to use :results graphics link that didn't result in repeating the filename more than desired. These also both work, but seem to both require repeating the filename twice. #

Re: [O] Capture with date prompt defaults to yesterday

2019-06-07 Thread Neil Jerram
Nicolas, I hope you don't mind me sending a 'ping' for this, as it looks like it might have got lost. Please do let me know what you think. Best wishes, Neil On Tue, 28 May 2019 at 21:20, Neil Jerram wrote: > On Sun, 19 May 2019 at 14:36, Neil Jerram wrote: > >> I have a capture template

Re: [O] Output result of source block to a file

2019-06-07 Thread stardiviner
Roger Mason writes: > Hello, > > stardiviner writes: > >> Roger Mason writes: >> >>> Hello, >>> >>> I want to output the result of the evaluation of a (python) source block >>> to a (graphics) file and have a link to the file inserted in the buffer. > >>> #+begin_src python :results value fil

Re: [O] Output result of source block to a file

2019-06-07 Thread Roger Mason
Hello John, John Kitchin writes: > I think you can use something like this: > > #+BEGIN_SRC python :results output file :var fname="test.png" > import matplotlib.pyplot as plt > import io > > f = io.StringIO() > plt.plot([1, 2, 3, 17]) > plt.savefig(fname) > print(fname, end='') > #+END_SRC > >