I am working with bibliography. For this there are two way, one is using bibtex and another is biber. When I print bibliography using biber, then it give me desired result. Means it can print title, author etc at specific places in my document. But bibtex is unable to do this. Using bibtex, my bibliography is generated, but when I use \citeauthor{is4562000}
to print authorname, it shows "author?". Can we print authorname, title and year using bibtex. Here is code.
demo.bib
@book{is4562000,
title={Indian Standard Plain and reinforced concrete--code of
practice (IS 456 : 2000)},
shorttitle = {IS 456~:~2000},
author={Cement and Concrete Sectional Committee, CED 2},
%author={Morrison, Norving,peter},
journal={New Delhi: },
year={2000},
publisher={Bureau of Indian Standards},
}
Main document
\documentclass[a4paper,10pt]{article}
\usepackage{natbib}
%Includes "References" in the table of contents
%\usepackage[nottoc]{tocbibind}
%Title, date an author of the document
\title{Bibliography management: BibTeX}
\author{Manpreet}
%Begining of the document
\begin{document}
\maketitle
\tableofcontents
\medskip
\section{First Section}
This is bibliography using bibtex \cite{is4562000}\\
\citeauthor{is4562000}
\bibliographystyle{unsrt}
\bibliography{demo}
\end{document}
Best Answer
You're making two errors: the author is corporate so it must get an additional pair of braces; second, the bib style is not compatible with
natbib
, useunsrtnat
.Note the
author
field should beHere's a full example, where I used
filecontents*
just for avoiding clobbering my files.