Skip to content

Instantly share code, notes, and snippets.

@ConstantineLignos
Created December 18, 2012 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ConstantineLignos/4326728 to your computer and use it in GitHub Desktop.
Save ConstantineLignos/4326728 to your computer and use it in GitHub Desktop.
Info for fixing whitespace parsing issue in checkcites.
\documentclass{article}
\begin{document}
This is a test \cite{foo2012}.
\bibliographystyle{plain}
\bibliography{tworef}
\end{document}
***Before patch***
checkcites.lua -- a reference checker script (v1.0h)
Copyright (c) 2012 Enrico Gregorio, Paulo Roberto Massa Cereda
I found 1 citation(s).
Great, there's only one 'bib' file. Let me check it.
I found 2 reference(s).
Unused reference(s) in your bibliography file(s): 2
- foo2012
- foo2011
Undefined reference(s) in your TeX file: 1
- foo2012
***After patch***
checkcites.lua -- a reference checker script (v1.0h)
Copyright (c) 2012 Enrico Gregorio, Paulo Roberto Massa Cereda
I found 1 citation(s).
Great, there's only one 'bib' file. Let me check it.
I found 2 reference(s).
Unused reference(s) in your bibliography file(s): 1
- foo2011
Undefined reference(s) in your TeX file: 0
@Article{ foo2012,
title = {Bar},
author = {Doe, J.},
journal = {Nonexistent Journal},
volume = {1},
number = {1},
pages = {1--2},
year = {2012},
publisher = {Nonexistent publisher}
}
@Article{ foo2011,
title = {Bar},
author = {Doe, J.},
journal = {Nonexistent Journal},
volume = {1},
number = {1},
pages = {1--2},
year = {2011},
publisher = {Nonexistent publisher}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment