My .bib files are generated by Mendley desktop and usually contain URLs, ISSN and DOIs. I'm using the \usepackage[round]{natbib} package and \bibliographystyle{plainnat}.
I realize I'm not the first user to ask about this (question 1; question2)–although to be fair this user is asking about a different style than the one I'm using. And like this user, I don't want DOI, URL, ISSN to be displayed in my bibliography. How can I get rid of them?
Joseph Wright suggests using doi=false etc. But I'm unclear how this would be coded. I tried adding doi=false as follows: \bibliographystyle{natbib, doi=false} but this didn't work.
EDIT: Changes for clarity.
Best Answer
Recommended solution
There's no really simple way to do this elegantly using
natbib
, since the.bst
files that format the bibliography entries either produce the fields or not. There's no way to selectively turn them on or off. For this reason, I would recommend that instead of usingnatbib
you usebiblatex
to manage your bibliography, since this will allow you to have direct control over whether to produce them or not.See
and then the solution in the question that Joseph linked to:
will work.
One minor problem with this solution however, is that there are no
biblatex
styles that mimicplainnat
exactly, mainly because most Author-Year systems put the year right after the author, and not right at the end likeplainnat
does. If you have any flexibility in choosing a style, you can choose one of the standardbiblatex
authoryear
styles, theapa
style, or thebiblatex-chicago
package with theauthordate
style. Here's a minimal example using the APA style:Non-recommended (but will work) solution
It's not that difficult to modify a
.bst
file to not print any of these fields. The.bst
fileplainnat
has functions that look like this (one for URL, one for ISSN, one for DOI etc.)We can replace each one of these with a function like this:
And this will simply cause any of these fields not to be printed. Make a copy of
plainnat.bst
, give it a new name, (I've called itplainnat-noURL
, and save it in the same folder as your.tex
document. Then edit the file and for each of functions, replace that function with one like the one above.With this minimal example we get the output we want.