Provide a minimal example that is compilable as provided for everybody else and reproduces the undesired behaviour clearly. Otherwise the problem is not comprehensible (as you can see from missing anwers).
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.
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):
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.
klmr wrote: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. […]
So, what keeps you from uploading it to CTAN?
klmr wrote:[…] 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. […]
Could it then be related to the Python version installed? I have 2.6.6 on Wind0ws and 2.7 on Linux.