9

After following instructions from Mendeley on creating and exporting bib using bibtex, citations containing URL were incomplete in the bibliography output (url absent). For example:

@article{Cover1998,
author = {Cover, Robin},
file = {:Users/XXXX/Documents/Mendeley Desktop/Cover/Cover Pages/Cover - 1998 - XML and semantic transparency.html:html},
journal = {Cover Pages},
publisher = {OASIS},
title = {{XML and semantic transparency}},
url = {http://xml.coverpages.org/xmlAndSemantics.html http://www.citeulike.org/group/2308/article/1449562},
year = {1998}
}

Results in

Cover, R. (1998). XML and semantic transparency

6
  • Welcome to TeX.sx. If you want anybody to help you, please help them by providing a minimal example and point out what you want.
    – user10274
    Jan 14, 2012 at 10:01
  • 1
    possible duplicate of URL of cited web site in bibliography Jan 14, 2012 at 10:12
  • @Nigel_V_Thomas This is not a working example. Check out meta.tex.stackexchange.com/q/228/3240. This is what Marc van Dongen wanted to tell you. We need to see, what style you're using. Because very likely it's a style-dependent issue.
    – Thorsten
    Jan 14, 2012 at 10:34
  • Thanks! The solution suggested there is okay, but requires a markup change in bib, by adding note. Instead, a simpler solution based on final suggestion was to switch to using biblatex. Having done this, I can see URL as follows > Robin Cover. “XML and semantic transparency”. In: Cover Pages (1998). URL: http: //xml.coverpages.org/xmlAndSemantics.htmlhttp://www.citeuli ke.org/group/2308/article/1449562 Jan 14, 2012 at 10:37
  • @Thorsten I see! Thanks, I will do this next time. Jan 14, 2012 at 10:41

3 Answers 3

6

Mendeley recreates periodically the bib file, and then, modify manually the bib file does not work because it will be re-written. But here's a trick works just fine. At Mendeley Desktop:

  1. Change the document type (from that reference you want to get its URL included) from "Journal Article" to "Web Page" in the Details tab.
  2. Activate the "Medium" field for web pages (Tools > Options > Document Details)
  3. go back to the document details tab, and paste the URL (http://www.d...) at the newly visible "Medium" field. ... and that's it!! enjoy.

the explanation is that the "Medium" field in Mendeley is exported to the bib file as "howpublished = {http://www.d..." and then, this field is recognized and included by most bibliography styles. (credits http://www.bar54.de/2013/10/mendeley-webpage-entry-urls-in-bibtex-export/ )

0
2

Thanks for all the suggestions!

The solution for me, was to switch to using biblatex.

Having done this, I can see URL as follows

Robin Cover. “XML and semantic transparency”. In: Cover Pages (1998). URL: http: //xml.coverpages.org/xmlAndSemantics.htmlhttp://www.citeuli ke.org/group/2308/article/1449562

1
  • Mendeley only let's me export as bibtex -- how did you use biblatex?
    – jrjrjr
    Mar 8, 2021 at 17:07
0

In addition to the previous answers, make sure to fill the field "Authors" so that the field "Citation Key" is automatically generated. For me, when this was missing I couldn't see the reference in my LateX file.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .