slatex / sTeX

A semantic Extension of TeX/LaTeX
49 stars 9 forks source link

integrate Jupyter code cells into sTeX via thebe #393

Open kohlhase opened 1 year ago

kohlhase commented 1 year ago

This would be great to have the IWGS-1/2 so that I an show computation in the (html version of) the slides.

In general, instead of

\lstinputmhlisting{foo.py}

I would write

\jupyterinputlisting{foo.py}

or such, the intended behavior is that if there is a python kernel available, the listing gets a button which replaces the listing with a jupyter code cell.