Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
2  
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. ;) –  crippledlambda 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
add comment

1 Answer

up vote 3 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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