# Problem with refcheck

The following code does not do what it should:

\documentclass{article}
\usepackage{refcheck}

\begin{document}

\begin{thebibliography}{1111}

%% This works:
\bibitem[Ccc]{FP}
The Frog, Kermit, and Piggy, Miss.
\newblock Sesame Street.

%% This does not work:
\bibitem[CCC]{FP2}
The Frog, Kermit, and Piggy, Miss.
\newblock Sesame Street.

\end{thebibliography}

\end{document}


I get the follwing error:

! Undefined control sequence.
\fi
}%
\if\relax\detokenize{#1}\relax\@@bibitem@@{#2}%
\else\@@bibitem@@[#1]{#2}%
\fi
}
}% End of \AtBeginDocument
\makeatother


A non e-TeX way could be

\ifx\valign#1\valign


\if\relax\detokenize{#1}\relax


-
I know I shall not comment with "Thank you", but rather upvote and accept the answer. But that does not seem enough. Thank you! –  mafp Dec 23 '12 at 23:26
Is there a chance that this change will be made to the package? –  soandos Dec 24 '12 at 19:55
@soandos I don't think the author is still active on it. :( –  egreg Dec 24 '12 at 20:21