파이 콘 렉서와 함께 발행 된 escapeinside 옵션 사용
Aug 21 2020
여기서 무슨 일이 일어나고 있습니까?
\documentclass{article}
\usepackage{minted}
\begin{document}
% I want to show the output as latex, this is a minimal repro without any output at all
\begin{minted}[escapeinside=QQ,python3=true]{pycon}
>>> g = str('e_x e_y e_z')
\end{minted}
% works fine otherwise
\begin{minted}[python3=true]{pycon}
>>> g = str('e_x e_y e_z')
\end{minted}
\end{document}
준다

왜 g = str(
제거 되었습니까?
답변
1 Eric Aug 20 2020 at 23:19
이것은 pygments
버그이며 제어 할 수 없습니다 minted
.https://github.com/pygments/pygments/issues/1516.
편집 : 여기에서이 문제를 해결하려면 PR : https://github.com/pygments/pygments/pull/1517