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
Presence of autogobble setting causes wrong listing content to be displayed when using both minted and inputminted commands.
Content of problem.py
print("file")
Content of problem.tex:
\documentclass[10pt,a4paper]{article}
\usepackage[cache=false]{minted} % Line A1% \usepackage[cache=false,outputdir=latex.out]{minted} % Line A2\setminted{autogobble=true} % Line B\begin{document}
\inputminted{python}{problem.py} % line C1% Block C2\begin{minted}{python}
print("begin")
\end{minted}
\mint{python}{ print("mint")} % Line C3\inputminted{python}{problem.py} % line C4\end{document}
Behaviour:
Code with active parts A1 C1 C2 C3 C4 ran as tectonic problem.tex -Zshell-escape-cwd=. produces correct
In summary, latexrun is able to produce correct output regardless of autogobble setting when specifying outputdir.
Tectonic is able to produce correct output when using at most two out of
autogobble
inputminted
in-Latex code
However using all three, the content of inputminted parts contains the content of last in-Latex code block.
The minted package is too finicky. Maybe this is issue with minted, maybe with tectonic. I can't tell.
The text was updated successfully, but these errors were encountered:
Version: Tectonic 0.14.1
OS: Arch Linux
Presence of
autogobble
setting causes wrong listing content to be displayed when using bothminted
andinputminted
commands.Content of
problem.py
Content of
problem.tex
:Behaviour:
tectonic problem.tex -Zshell-escape-cwd=.
produces correcttectonic problem.tex -Zshell-escape-cwd=.
does not output error and still produces incorrecttectonic problem.tex -Zshell-escape
outputs error and produces incorrecttectonic problem.tex -Zshell-escape
outputs error and still produces incorrecttectonic problem.tex -Zshell-escape-cwd=.
produces correctlatexrun --latex-args="-shell-escape" problem.tex
produces incorrectlatexrun --latex-args="-shell-escape" problem.tex
produces correctlatexrun --latex-args="-shell-escape" problem.tex
produces correctIn summary,
latexrun
is able to produce correct output regardless ofautogobble
setting when specifyingoutputdir
.Tectonic is able to produce correct output when using at most two out of
autogobble
inputminted
However using all three, the content of
inputminted
parts contains the content of last in-Latex code block.The minted package is too finicky. Maybe this is issue with minted, maybe with tectonic. I can't tell.
The text was updated successfully, but these errors were encountered: