localghost wrote:Seems that you've got a development version of the
minted package (v1.7 dated 2010/03/16). It works flawlessly with v1.6 (dated 2010/01/27) officially available on
CTAN.
Actually, I strongly recommend the development version since the last release contains a bug which effectively prevents it from working properly. I’m completely baffled by this bug. I’ve just diff’d the two versions and there should not be any change that concerns the displaying of line numbers.
Furthermore, this
should work. The error message is wrong: this key
does exist (in the \Verbatim environment, where it’s used).
If everything else fails, try putting the following lines immediately after the loading of the minted package, they effectively rewind one of the changes from the 1.7 version (not that I think this will help):
Code: Select all
\makeatletter
\define@booleankey{minted@opt}{linenos}
{\@namedef{minted@opt@linenos}{-P linenos}}
{\@namedef{minted@opt@linenos}{}}}
\makeatother
However, I’m starting to believe the issue is caused by the fact that both pygments and minted independently try to define a `stepnumber` key. I’m not yet sure how this interferes.
[I’m the maintainer of the minted package.]