I have no problems with this slightly changed file:
\documentclass{article}
\usepackage{filecontents}% <-- useful for embedding external files in the main file
\begin{filecontents*}{\jobname.bib}
@MISC{maldives,
author = {Connoly, Darlene},
title = {Controversy in the Maldives},
editor = {Surfline.com},
month = {August},
year = {2012},
url = {http://www.surfline.com/surf-news/maldives-surf-access-controversy-update_75296/},
note = {[Online; posted 27-August-2012]},
}
@MISC{maldives-alt,
author = {Connoly, Darlene},
title = {Controversy in the Maldives},
editor = {Surfline.com},
month = {August},
year = {2012},
note = {\href{http://www.surfline.com/surf-news/maldives-surf-access-controversy-update_75296/}{Surfline.com} {[Online; posted 27-August-2012]}},
}
@MISC{mull,
author = {Mull, Jeff},
title = {Maldives Controversy},
editor = {Surfing Magazine},
month = {September},
year = {2010},
url = {http://www.surfermag.com/features/maldives-controversy/},
note = {[Online; posted 13-September-2012]},
}
\end{filecontents*}
\usepackage{natbib}
\usepackage{url}
\usepackage[colorlinks]{hyperref}
\begin{document}
Please refer to \cite{maldives} and \cite{mull}.
And this citation `hides' the link `in the url portion of the citation': \cite{maldives-alt}.
\bibliographystyle{plainnat}
\bibliography{\jobname}
\end{document}
There was a problem with the url
field (I suppose direcly copied on the web), which probably had some invisible character in it. I retyped the url, changed the category from @misc
to @article
since it comes from a journal on line, loaded the url
package to break long urls at the end of line.
I also propose to use bblatex
with option natbib
(it emulates the \citet
and citep
commands from natbib
) and style=authoryear
. The advantage, with backend=biber
is you can input accented letters directly on the keyboard, since biber understands utf8
.
I corrected the url, which wasn't exact, and the author's first name, which precisely has an accented letter.
Code with natbib + bibtex:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[showframe]{geometry}
\usepackage[round]{natbib}
\usepackage{url}
\begin{document}
\citet{Perez1}.
\bibliographystyle{plainnat}
\bibliography{Skripsie}
.bib file for bibtex
@article{Perez1,
author = {Perez, Hern\'{a}in David},
journal = {CSCMP's Supply Chain Quarterly},
pages = {4},
title = {{Supply Chain Strategies: Which one hits the mark?}},
url = {{http://www.supplychainquarterly.com/print/20130306-supply-chain-strategies-which-one-hits-the-mark/}},
year = {2013},
}
Code with biblatex + biber:*
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[showframe]{geometry}
\usepackage[english = british]{csquotes}
\usepackage[english]{babel}
\usepackage[natbib, style=authoryear, backend=bibtex]{biblatex}
\addbibresource{Skripsie1.bib}
\begin{document}
A citation: \citet{Perez1}
\printbibliography
\end{document}
\end{document}
.bib file for biber;
@article{Perez1,
author = {Perez, HernĂ¡n David},
journal = {CSCMP's Supply Chain Quarterly},
pages = {4},
title = {Supply Chain Strategies: Which one hits the mark?},
url = {http://www.supplychainquarterly.com/print/20130306-supply-chain-strategies-which-one-hits-the-mark/},
year = {2013},
}
Best Answer
The
@article
entry type is definitely the right one for citing newspaper articles.As you can read in the
biblatex
manual:Fields can be different if you don't use
biblatex
, but the concept is the same.