I am doing this in LaTeX text:
study, Hansen (1996)\cite{hansen1996water}
and get the following in output file:
Hansen (1996)[hansen1996water]
I need numbers not citation tags to show. I know how to solve the problem if I do not need the abstract in the references.
I simply use the following in the main file: \bibliographystyle{abstract} \bibliography{temp}. The file temp.bib includes the references. In the body file I cite as above: i.e Hansen (1996)\cite{hansen1996water}
Here's an MWE:
\documentclass{article}
\begin{document}
\bibliographystyle{abstract}
\bibliography{temp}% The bib file name.
\begin{section}
...Talatala 2008\cite{talatala2008}
\end{section}
\end{document}
The contents of temp.bib:
@article{talatala2008,
title={The effect of tap water perception on the consumption of bottled water},
author={Talatala, Susan},
journal={Public Perceptions of Tap Water},
year={2008},
abstract={Over the past 30 years, drinking water ...bottled water and tap water one consumes.}
}
biblatex: have you run LaTeX, then Biber (or BibTeX if appropriate) and then LaTeX again? If you are usingbiblatexthere are dedicated commands for author-year type citations. – Joseph Wright Jun 09 '15 at 07:32\bibliographystyle. – Ulrike Fischer Jun 09 '15 at 07:34\bibliographystyle, for example\bibliographystyle{abbrv}(cf. [http://www.sharelatex.com/learn/Bibtex_bibliography_styles]). – lenxn Jun 09 '15 at 07:35abstractthat prints, you guessed it, the contents of anyabstractfields that may be present in a bibliographic entry. – Mico Jun 09 '15 at 09:07