Error acuñado "Secuencia de control no definida. \PYG" con TeXmaker

Error acuñado "Secuencia de control no definida. \PYG" con TeXmaker

Tengo una computadora con Windows 10 e intento usar el mintedpaquete para insertar código vhdl en mi archivo LaTeX. Instalé Python y Pygments y agregué Python/scripts a la ruta. También cambio las líneas de comando de TeXmaker con -shell-escape. Cuando intento ejecutar un pequeño ejemplo como este:

\documentclass[%
    a4paper,            % Papierformat
    oneside,            % einseitiger Druck
    %twoside,           % zweiseitiger Druck
    12pt,               % Schriftgröße
    onecolumn,          % einspaltiger Text
    %twocolumn,         % zweispaltiger Text
    openright,          % Kapitel dürfen nur auf einer rechten Seite beginnen
    openany,            % Kapitel dürfen rechts oder links beginnen
    parskip=half,       % eine halbe Zeile Abstand zw. Absätzen
    headsepline,        % Kopfzeilenlinie
    footsepline,        % Fußzeilenlinie
    bibliography=totoc, % Bibliographie im Inhaltsverzeichnis
    %idxtotoc           % Index im Inhaltsverzeichnis
    ]{scrbook}
\usepackage{minted}
\begin{document}
\begin{minted} {vhdl}
process
begin
  CLK <= '1'; wait for 10 NS;
  CLK <= '0'; wait for 10 NS;
end process;
\end{minted}
\end{document}

me sale el error...

Undefined control sequence. \PYG #1#2->\FV@PYG
{#1}{\FancyVerbBreakStart #2\FancyVerbBreakStop } l.2 \PYG{k}{process}
The control sequence at the end of the top line of your error message
was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I'
and the correct spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

Respuesta1

Tuve un problema similar en Linux y eliminar _minted*el directorio resolvió el problema. Otra opción podría ser incluir el mintedpaquete con la opción cache=false. Puedes hacer esto usando en \usepackage[cache=false]{minted}lugar de \usepackage{minted}.

Fuente:problema de github

información relacionada