5

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.

  • 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 1 '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 1 '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 3 '12 at 23:41
  • @egreg Make that an answer? – Joseph Wright Jul 7 '13 at 8:14
3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.