[Tex/LaTex] natbib: temporary citation for missing references

natbib

Is there a way I can specify a placeholder text for citations in which bibliographies are missing? For instance, I would imagine the syntax might look something like \citep[Author, Year]{AuthorYear}. I tried using \defcitealias but I guess that does not work if the bibliography entry is missing.

Best Answer

Define a temporary command in your preamble:

\newcommand{\citetemp}[1]{(#1)}

and use \citetemp{Author, Year} in the document body, with whatever you like, say

\citetemp{Gödel, 1931}

It will be easy to use your editor's search facility for finding \citetemp and fix it with the key.