I am using currently using bibtex
and the \cite{...}
command for all citations. Using the cell
bibliography style, citations will appear as e.g. [Jovanović and Janičić, 2005].
However, I would like to be able to extract only the author part or the year part — like natbib's \citeauthor
and \citeyear
. The reasons I don't want to use natbib are: 1) natbib changes the overall citation style to not include the brackets [] around the citation; 2) natbib doesn't support UTF-8 in the bibliography file; and 3) \citeyear
still doesn't output a letter if the same authors published multiple papers in the same year.
Best Answer
Your second observation, that "natbib doesn't support UTF-8 in the bibliography file", isn't quite accurate: it is
bibtex
, notnatbib
, that suffers from the ASCII-128 limitation. If you can runbibtex8
instead ofbibtex
, you can use many more Latin alphabet based character encodings.Regarding your points 1 and 3: I'm not sure what the concerns you raise are founded on. (You did issue the command
\bibliographystyle{cell}
, right?) To getnatbib
to place square brackets rather than round parentheses around theauthor,year
pair, just load the package with thesquare
option and use the\citep
command (for "parenthetical citations").The output of the MWE below shows that
\citeyear
and\citeauthor
work as one would expect them to. In particular,natbib
knows perfectly well how to appenda
,b
, etc automatically to the year if the need to do so arises.Here's the "cellcite.tex" driver file:
Finally, the MWE's bib file ("cellcite.bib"):