Open
Description
Thanks for the sage integration with org-babel. It works well for text, code, and tables output, but not for some graphics output types. More specifically I am not able to specify pdf or eps as file output types. I need at least one vector format, even svg would be fine. Alas but to no avail.
Your png example works well. But change that same src block png to pdf or eps, the output generated is not valid postscript file. (see attached pdf for an sample file generated by sage). Is this something that can be fixed with ob-sagemath or a problem with org-babel?
A related question: how can I use the src_block vars inside sage code in that block? For example, :file below?
Try this src_block in any org file to recreate the problem PDF file:
#+begin_src sage :file image.pdf
g=Graph({1:[2,3], 2:[1,3], 3:[1,2]});g
#+end_src
Metadata
Metadata
Assignees
Labels
No labels