Your second observation, that "natbib doesn't support UTF-8 in the bibliography file", isn't quite accurate: it is bibtex
, not natbib
, that suffers from the ASCII-128 limitation. If you can run bibtex8
instead of bibtex
, 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 get natbib
to place square brackets rather than round parentheses around the author,year
pair, just load the package with the square
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 append a
, b
, etc automatically to the year if the need to do so arises.
Here's the "cellcite.tex" driver file:
\documentclass{article}
\usepackage[square]{natbib}
\bibliographystyle{cell}
\begin{document}
\citep{abcd:2006a,abcd:2006b}
\citeauthor{abcd:2006a}
\citeyear{abcd:2006b}
\bibliography{cellcite}
\end{document}
Finally, the MWE's bib file ("cellcite.bib"):
@incollection{abcd:2006a,
author = "Torben G. Andersen and Tim Bollerslev and
Peter F. Christoffersen and Francis X.
Diebold",
title = "Volatility and correlation forecasting",
chapter = 15,
pages = "777--878",
editor = "Graham Elliott and Clive W. J. Granger and
Allan Timmermann",
booktitle = "Handbook of Economic Forecasting,
Volume~1",
publisher = "Elsevier",
address = "Amsterdam",
year = 2006,
}
@incollection{abcd:2006b,
author = "Torben G. Andersen and Tim Bollerslev and
Peter F. Christoffersen and Francis X.
Diebold",
title = "Practical volatility and correlation
modeling for financial market risk
management (with discussion)",
chapter = 11,
pages = "513--548",
editor = "Mark S. Carey and Ren{\'e} M. Stulz",
booktitle = "The Risks of Financial Institutions",
publisher = "University of Chicago Press",
address = "Chicago and London",
year = 2006,
}
Firstly create a dummy bibtex database having filename localbib.bib
\begin{filecontents}{localbib.bib}
@book{ mykey,
title = {The Title},
year = {2013},
author = {Doe, John},
address = {Antarctica}
}
\end{filecontents}
For the actual document, assuming `localbib.bib' as the database.
%Declare document class
\documentclass{article}
%Use Natbib and declare style options
\usepackage[numbers,square,sort&compress]{natbib}
%State database filename
\def\mybibtexdatabase{localbib} % <----- Change `localbib` here for your actual filename
%Import usebib package and declare the fields that can be used.
\usepackage{usebib}
\newbibfield{author}
\newbibfield{address}
\bibinput{\mybibtexdatabase}
%Now write the document
\begin{document}
%Example of usebibentry
Example of field citation is that %
\usebibentry{mykey}{author} is from \usebibentry{mykey}{address}, %
the publication was made in \usebibentry{mykey}{year}\citep{mykey}
%Existing methodology
\citeauthor{mykey} is the standard name citation.
%Bibliography
\bibliographystyle{apacite}
\bibliography{\mybibtexdatabase}
\end{document}
NOTE: In order to be able to use additional fields (ie for example doi, title, editor etc...) via the \usebibentry{KEY}{FIELD}
command, a \newbibfield{FIELD}
directive needs to be added to the preamble, just like it has been done ere for author and address.
Best Answer
Short answer: Yes.
Long answer:
Find the file
apalike.bst
in your TeX distribution, and make a copy of the file. Name the copy, say,apalikefull.bst
. (Do not edit an original file in the TeX directory tree.)Open
apalikefull.bst
in a text editor; the editor you use for your tex files will do fine.In
apalikefull.bst
, locate the functionformat.names
. (In my copy of the file, the function starts on line 206.)In this function, locate the following line:
Change it to
Can you spot the difference? In the original form, the substring is
f.
; in the modified form, it isff
.Save the file
apalikefull.bst
either in the directory where your main tex file is located or in a directory that's searched by BibTeX. If you choose the latter option, be sure to update the filename database of your TeX distribution.Start using the new bibliography style by issuing the directive
\bibliographystyle{apalikefull}
instead of\bibliographystyle{apalike}
. Rerun LaTeX, BibTeX, and LaTeX twice more to fully propagate all changes.Short answer: Yes.
Long answer: Issue the instruction
after loading
natbib
.