I want to used \bibentry
and hyperref
in my document. However when I use it as in the sample below I get the error
destination with the same identifier (name{cite.Duhm_AppliedPhysicsLetters_2009}) has been already used, dublicate ignored
I found this work around which works well (commented version in the sample below). However, the bibliography style statto, hyperlinks the title to the respective url, which I would like to keep also in the bibentry
(I don't care if there is a hyperlink to the item in the bibliography itself). Is there a solution for this problem, which is not a simple work around which completely ignores the hyperlink?
\begin{filecontents}{mytestbib.bib}
@ARTICLE{Duhm_AppliedPhysicsLetters_2009,
author = {Duhm, Steffen and Salzmann, Ingo and Bröker, Benjamin and Glowatzki,
Hendrik and Johnson, Robert L. and Koch, Norbert},
title = {Interdiffusion of molecular acceptors through organic layers to metal
substrates mimics doping-related energy level shifts},
journal = {Applied Physics Letters},
year = {2009},
volume = {95},
pages = {093305},
doi = {10.1063/1.3213547},
issn = {00036951},
url = {http://link.aip.org/link/APPLAB/v95/i9/p093305/s1&Agg=doi},
urldate = {2011-11-05}
}
\end{filecontents}
\documentclass{article}
\usepackage{filecontents}
\usepackage{natbib}
\usepackage[pdftex]{hyperref}
\usepackage{fancyhdr}
\usepackage{bibentry}
\makeatother \nobibliography*
\begin{document}
A full in-text cite of
%\begin{NoHyper}\bibentry{Duhm_AppliedPhysicsLetters_2009}\end{NoHyper}.
\bibentry{Duhm_AppliedPhysicsLetters_2009}.
A regular citation \cite{Duhm_AppliedPhysicsLetters_2009}.
\bibliographystyle{statto}
\bibliography{mytestbib}
\end{document}