Closed jamescasbon closed 8 years ago
Thank you for the detailed bug report. I shall look into it.
I tried the ob-ipython plugin. This works for image output. I can't tell the difference in the org file:
python:
#+RESULTS:
[[file:../images/myfig.svg]]
ipython:
#+RESULTS:
[[file:../images/image2.svg]]
but the latter works. I don't know what machinery exists in the org babel export to make this different. I can't get raw output (tables) from ob-ipython.
In other words, this is possibly emacs' problem.
Ok, if you use the ":file ../images/whatever.png" babel option this works fine. You return the image contents from the block.
I have a block of code:
This displays the image nicely in emacs, but no image when exporting. The image is correct, and if you delete '#+RESULTS:' line nikola will display the image.
The org export should handle this correctly so we can see outputs from babel.
Ideally, it should also allow tables as output (other raw org stuff) as here: http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-python.html