6

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.

hatmatrix
  • 2,913
  • 6
  • 31
  • 41
  • 3
    Would setting up a dummy entry of type @misc, with a key named dummy, a year field of 9999, and every other field taking a value of dummy, be a way to go? You could issue citation commands such as \citet{dummy} as placeholders until the real entries are set up. – Mico Oct 01 '12 at 10:26
  • Oh I see, so it would have to be done in the .bib file. But I know the first authors and year to use in the citations (so I can be more clear to myself than dummy), I just need to go retrieve the entries. ;) – hatmatrix Oct 01 '12 at 16:08
  • 2
    Use \citetemp{Author, Year} defining it as \newcommand{\citetemp}[1]{(#1)}. You can then search for \citetemp and fix the key. – egreg Nov 03 '12 at 23:41
  • @egreg Make that an answer? – Joseph Wright Jul 07 '13 at 08:14

1 Answers1

4

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.

egreg
  • 1,121,712