Install a tex .sty file so that `pdflatex src.tex` gives a reasonable pdf file instead of an error
Idea: start with sagetex.sty
, but we want something simpler, either:
- replace \eval{code} by \texttt{code} or \texttt{\eval{code}}, \begin{run}code\end{run} by \begin{verbatim}code\end{verbatim} ... something like that
- replace all code_surgery environments by a counter "sagemath_1", "sagemath_2", ... "julia_1", "julia_2", ... etc
Tasks:
- Create the sty file
-
pip install
should place that file in a folder so thatpdflatex
finds it. - make sure we handle comments fine
Edited by Pang