My .bib files are generated by Mendley desktop and usually contain URLs, ISSN and DOIs, but I don't want those to be displayed in my list of references. How can I get rid of them (short of deleting those from the entries, I just want to not display them...) I am using biblatex.
Asked
Active
Viewed 7.2k times
146
Joseph Wright
- 259,911
- 34
- 706
- 1,036
Paul Koer
- 3,495
- 4
- 19
- 8
-
6Mendeley also includes the arXiv entry automatically so to get rid of this use eprint=false Answers question in this duplicate entry http://tex.stackexchange.com/questions/25179/biblatex-mendeley-remove-obsolete-data-from-bibliography?lq=1 – user42510 Dec 10 '13 at 10:11
3 Answers
177
Assuming you are using standard styles, use biblatex package options doi=false,isbn=false,url=false,eprint=false. For example,
\usepackage[doi=false,isbn=false,url=false,eprint=false]{biblatex}
The manual describes these as 'style-specific' options, as they do depend on the bibliography style in use.
muzimuzhi Z
- 26,474
Joseph Wright
- 259,911
- 34
- 706
- 1,036
-
6I know this is an old question, and I might ask a new one, but this appears to strip ISBN (useful for books) as well as ISSN (not so useful for journals. – Chris H Mar 20 '14 at 12:01
-
1@ChrisH Would probably be a new question, but I've never seen a published bibliography giving ISBNs (depend on things like hard/soft backing as well as text itself). – Joseph Wright Mar 20 '14 at 12:07
-
4I found another question answering precisely this at http://tex.stackexchange.com/q/40097/28808 which works for me. I take your point but I'm sure I've seen it in thesis bibliographies, and if you were to cite page numbers it would make sense, as a given numbered edition may not have the same pagination in all versions (considering international versions as well as bindings) – Chris H Mar 20 '14 at 13:53
-
Where can I find out about the rest of the optional arguments for
biblatex? – Luke Davis May 07 '17 at 02:36 -
The standard ones are in the
biblatexmanual, any added by styles should be documented in their manuals. – Joseph Wright May 07 '17 at 07:19
23
Alternatively, if you want biblatex not to see these fields at all, use Biber and see section 4.5.3 of the biblatex manual. You are now able to filter out arbitrary fields (and map them to other fields) before biblatex even sees the data with so-called source maps.
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=authoryear, backend=biber]{biblatex}
\DeclareSourcemap{
\maps[datatype=bibtex]{
\map{
\step[fieldset=issn, null]
}
}
}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{sarfraz}
\printbibliography
\end{document}
-
1This is also very helpful to remove the abstract field, which quite often contains strange characters like % but will rarely ever be used in the bibliography. – matth Oct 28 '11 at 14:06
-
I tried to look it up, but with the current version 2.12 as of Feb. 2019 there is no section 2.1.1 anymore (have a look at the biber-manual at CTAN). There is a section 3.1.1 but I couldn't find a clear reference for the given problem there. – BadAtLaTeX Feb 25 '19 at 11:52
-
The reference is to a very old version of
biber. See section 4.5.3 of the currentbiblatexmanual. – PLK Mar 17 '19 at 13:36 -
1
If you're using Zotero you can use the Better-Bibtex plugin to omit specific fields from its exported bibtex file. This can be configured in Zotero by going to Preferences->Better Bibtex->Export->Fields->Fields to omit from export.
Pierz
- 479