3

Error:

Runaway argument?
! File ended while scanning use of \FancyVerbGetLine.
<inserted text>

Have already seen and tried workarounds mentioned here and here.

Code: Here

If I comment out lines 185 to 188, I get the above mentioned error.

Any help is highly appreciated!

Sebastiano
  • 54,118

1 Answers1

3

There should be no space between \end and {minted}.

The offending lines have

\begin {minted}{cpp}
string s = to_string (num);
\end {minted}

While the space after \begin is irrelevant, the one after \end is relevant and should be removed. With

\begin{minted}{cpp}
string s = to_string (num);
\end{minted}

you will be on track again.

egreg
  • 1,121,712