Skip to content

Difficulty compiling minimal complete example #92

@nwhetsell

Description

@nwhetsell

I just updated minted to version 2.1, and I’m encountering an issue when attempting to compile the minimal example in the manual:

\documentclass{article}
\usepackage{minted}
\begin{document}
\begin{minted}{c}
int main() {
  printf("hello, world");
  return 0;
}
\end{minted}
\end{document}

When I compile that by running (in Terminal, on OS X)

pdflatex -shell-escape test.tex

compilation fails with

! Undefined control sequence.
<argument> \PYGZob 
                   {}
l.2 ...G{n+nf}{main}\PYG{p}{()} \PYG{p}{\PYGZob{}}

I have a feeling I’ve done something bone-headed to produce this, but I’m at a loss.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions