I started using showkeys in one of my documents and see this error
\pdfendlink ended up in different nesting level than \pdfstartlink
A bit of google suggests that this "happens when hyperref is used under pdftex and a citation splits across a page boundary". (See: http://tug.org/errors.html).
But this package is only useful at drafting stage where the text is changing frequently i.e. the chance of the error is high. Is there a general way to smoothly use showkeys with hyperref? Thanks.
lipsumpackage to get some dummy text to construct your minimal example. (Or simply accept Charles' answer below.) – Bruno Le Floch Feb 25 '11 at 19:35\labelby showkeys must come after hyperref). – Stephan Lehmke Nov 20 '12 at 05:12