2

Mendeley can handle multiple URLs for each reference. When exporting to Bibtex it separates the URLs with spaces. This causes a %20 and broken links in the output.

I import references into Sharelatex from Mendeley, so I don't want to fix this manually. How can I fix the reference URL?

bibliography.bib:

@misc{MyRef,
    title = {A paper},
    url = {https://tex.stackexchange.com https://www.sharelatex.com/}
}

main.tex:

\documentclass{article}

\usepackage{biblatex}
\addbibresource{bibliography.bib}

\begin{document}

Reference \cite{MyRef}.

\printbibliography

\end{document}

Output:

Laurenz
  • 273
  • see https://tex.stackexchange.com/questions/57865. – javadr Sep 17 '17 at 04:59
  • What do you mean by "I don't want to fix this manually"? Can you change the field url = {https://tex.stackexchange.com https://www.sharelatex.com/} to note = {\url{https://tex.stackexchange.com} and \url{https://www.sharelatex.com/}}? – Mico Sep 17 '17 at 06:49
  • @javadr The mentioned link does not solve the problem in this question. – Curious Nov 25 '20 at 16:04
  • @Mico Imagine you have 100 references with multiple URLs in Mendeley. Who would go and manually change every \url in these 100 references to \note? – Curious Nov 25 '20 at 16:07
  • @Curious - Are you suggesting that Mendeley tends to create a host of truly bizarre and intractable problems and hence should be avoided? :-) – Mico Nov 25 '20 at 16:12
  • @Mico I am not suggesting that, but thinking towards that :) No solution to a genuine problem even after 3 years. What does it lead you to think? – Curious Nov 25 '20 at 16:39
  • @Curious - If Mendeley keeps pumping out guaranteed-to-fail bad data such as url = {https://tex.stackexchange.com https://www.sharelatex.com/}, it's definitely Mendeley's job, and not the job of individual users, to provide a fix. Aside: I do not use Mendeley for my own working papers and publications, and I wouldn't advise anyone to rely on Mendeley for anything but the most inconsequential experiments. – Mico Nov 25 '20 at 17:50

0 Answers0