Richard H Stanton <rhstan...@berkeley.edu> writes: >> #+begin_src python :results output latex >> print("a") >> #+end_src >> >> #+RESULTS: >> #+begin_export latex >> a >> #+end_export >> >> This is more or less what you had with your flushleft drawer, so I'm not sure >> whether this fixes anything or not. > > If you do this, the output doesn’t show if you export to HTML. flushleft and > the :results: drawer both seem to work fine exporting to both PDF and HTML.
I recommend 16.6 Results of Evaluation section of the manual. It has helpful examples! -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>