I was using the cite
package and encountered a problem with it. The citation number sometimes remains "[?]"; even after several compiling cycles. Here is MWE and its outcome:
\documentclass{article}
\usepackage{cite}
\begin{document}
This is a MWE. This citation~\cite{foo} works correctly but this one~\cite{bib: bar} doesn't.
\begin{thebibliography}{2}
\bibitem{foo} foo
\bibitem{bib: bar} bar
\end{thebibliography}
\end{document}
It seems this problem occurs when \bibitem
's parameter includes space like \bibitem{bib: bar} bar
.
Can anyone solve this problem?
P.S. Further information such as an solution without abondoning my habit would be appreciated.
bibitem{bib: bar}
? – Ruben Dec 16 '14 at 22:14\label{eq: foo}
or\label{fig: foo}
in order to give the same name to different objects (equation, figure, table, etc.). – Merzong Dec 16 '14 at 22:27\cite{bib: bar}
in the manuscript. – Ruben Dec 17 '14 at 0:28