# DOI link with special characters [closed]

I use the bibtexstyle statto which gives a hyperlink of the DOI to the respective site. For the title it seems to take preferentially the url provided in the bibtex file. I have few DOIs of the form 10.1002/(SICI)1096-9918(199804)26:4<235::AID-SIA360>3.0.CO;2-A In this case the hyperlink is not valid. The hyperlink in the PDF shows well http://dx.doi.org/10.1002/(SICI)1096-9918(199804)26:4<235::AID-SIA360>3.0.CO;2-‌​‌​A but when I click on it I get an error (The Web Capture operation you have requested has failed because of an error). Copying the link from the journal webpage gives a link where the special characters are replaced http://onlinelibrary.wiley.com/doi/10.1002/%28SICI%291096-9918%28199804%2926:4%3C235::AID-SIA360%3E3.0.CO;2-A/abstract which works fine (hyperlinked in the titel). How can I modify the DOI to produce a correct hyperlink?

Eventually there is a possibility to modify the statto file to exchange the special characters in the link? I think the doi package does something like this. However, loading the doi package does not help. Loading the doi package and using \bibliographystyle{plainnat} gives a working link. However I would like to have the titles hyperlinked, as statto.bst provides.

Comment: The link in the PDF seems to work fine when viewed with AcrobatReader 10, but not in Adobe Acrobat Pro 10 (give the error stated above). So the link might work in most cases, however a solution avoiding the special characters would still be appreciated.

\begin{filecontents}{mytestbib2.bib}

@ARTICLE{Lopez-Carreno_SurfaceandInterfaceAnalysis_1998,
author = {L\'opez-Carre\~no, L. D. and Ben\'itez, G. and Viscido, L. and Heras,
J. M. and Yubero, F. and Espin\'os, J. P. and Gonz\'alez-Elipe, A.
R.},
title = {Oxidation of molybdenum surfaces by reactive oxygen plasma and {O}$_2^+$
bombardment: an auger and {XPS} study},
journal = {Surface and Interface Analysis},
year = {1998},
volume = {26},
pages = {235--241},
number = {4},
doi = {10.1002/(SICI)1096-9918(199804)26:4<235::AID-SIA360>3.0.CO;2-A},
issn = {1096-9918},
keywords = {ballistic effects, molybdenum oxides, oxygen plasma, {XPS}},
language = {en},
shorttitle = {Oxidation of molybdenum surfaces by reactive oxygen plasma and O2+
bombardment},
url = {http://onlinelibrary.wiley.com/doi/10.1002/%28SICI%291096-9918%28199804%2926:4%3C235::AID-SIA360%3E3.0.CO;2-A/abstract},
}

\end{filecontents}
\documentclass{article}
\usepackage{filecontents}
\usepackage[square, sort&compress, numbers]{natbib}
\usepackage[T1]{fontenc}
\usepackage[pdftex]{hyperref}

\begin{document}

A citation \cite{Lopez-Carreno_SurfaceandInterfaceAnalysis_1998}

\bibliographystyle{statto}
\bibliography{mytestbib2}

\end{document}


## closed as unclear what you're asking by Christoph, Gonzalo Medina, Heiko Oberdiek, ChrisS, Svend TveskægMar 2 '14 at 3:41

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Can you add a minimal working example (MWE)? – egreg Nov 6 '13 at 16:31
• If you go to the link you provided you get the option to export a citation for this article in various formats. One of the options is the BibTeX format. When I exported the citation the DOI was exported to the .bib file as doi = {10.1002/(SICI)1096-9918(199804)26:4<235::AID-SIA360>3.0.CO;2-A} and the URL as url = {http://dx.doi.org/10.1002/(SICI)1096-9918(199804)26:4<235::AID-SIA360>3.0.CO;2-A} Don't the above reprsentations of the citation work for you? – n_dimos Nov 6 '13 at 16:42
• I complemented it with a minimal example. The doi and url field are exactly like this, but it does not provide a working hyperlink for the doi. – Tanja Nov 6 '13 at 16:51
• Try escaping the % with \  (that is, replace it for \%) on your url and see what happens – Mario S. E. Nov 6 '13 at 17:05
• the url created from url={} works fine, but not the url created from the doi. I go with the mouse over it it shows well http://dx.doi.org/10.1002/(SICI)1096-9918(199804)26:4<235::AID-SIA360>3.0.CO;2-‌​A but when I click on it in the PDF I get an error (The Web Capture operation you have requested has failed because of an error) – Tanja Nov 6 '13 at 17:18