You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used pythontex for quite some time. However, it always requires to have a more complicated compilation setup (see this latexmkrc, pythontex always requires the python package pygments, but my system python remains clean, so I have to enable via pyenv a python version meeting the requirements, ...).
There is a new package pyluatex which only needs the luatex engine instead of pdftex (single compilation run, no need for additional python packages except which I personally use).
However, it has different environment names
\documentclass{article}
\usepackage{pyluatex}
\begin{document}
\begin{python}
print("I am python but vimtex syntax highlighting does not know me")
\end{python}
\begin{pythonq}
print("I am python but vimtex syntax highlighting does not know me")
\end{pythonq}
\begin{pythonrepl}
print("I am python but vimtex syntax highlighting does not know me")
\end{pythonrepl}
\end{document}
Can nested syntax highlighting added for these as well?
This document can be compiled with
$ lualatex --shell-escape document.tex
The text was updated successfully, but these errors were encountered:
I have used pythontex for quite some time. However, it always requires to have a more complicated compilation setup (see this latexmkrc, pythontex always requires the python package pygments, but my system python remains clean, so I have to enable via pyenv a python version meeting the requirements, ...).
There is a new package pyluatex which only needs the luatex engine instead of pdftex (single compilation run, no need for additional python packages except which I personally use).
However, it has different environment names
Can nested syntax highlighting added for these as well?
This document can be compiled with
The text was updated successfully, but these errors were encountered: