I used to use
listings a lot but
minted+pygmentize has outstanding output. However, there are a few features from
listings that are hard to find in
minted, like having the line numbers on the right.
Is there a way to cross reference lines in a
minted environment as in