On 2019-06-05 at 12:41 +02, Roger Mason <rma...@mun.ca> wrote... > 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. > > Here is the code: > > #+begin_src python :results value file :file scaleplot02.pdf :exports results > :var data=test > print ("[[./%s]]" % file) > #+end_src
What about :var file="scaleplot02.pdf". -k.