[Tex/LaTex] Get rid of ISSN, URLs and DOIs in references


I am having the same problem as described here (i.e., I get unwanted URLs, DOIs, etc showing up in my reference section):
Biblatex: Get rid of ISSN, URLs and DOIs in references

Two caveats:

  1. I am rather new to LaTeX so I don't understand the solution mentioned in the above link. Where should I use the options doi=false,isbn=false,url=false? What is "the manual" referred to in the solution? Could someone perhaps explain this more fully?
  2. I don't know if my particular installation of tex and use of bibtex (not biblatex) would affect the solution.

I have a default installation of TeX Live 2011 (obtained from the CTAN website).
I edit and compile tex documents using vim and vim-latexsuite.
The bibliography style files I would like to use is named "unsrtnat".
The only thing I have in my preamble that I think might possibly affect the citations is the line: \usepackage[square,comma,numbers,sort&compress]{natbib}

I didn't see anything in a FAQ about how to continue the dialogue so here it goes….

@lockstep: thanks for the prompt reply. What you say makes sense but something is still not working. It is probably something to do with my installation/configuration. But let's deal with the easier to diagnose problem first – a problem in the .tex or .bib file.

Here is my test script named "simple_example.tex"

\title{Here is the title.}
\author{ John S. Doe }
    Blah blah blah-blah blah.
    Blah blah blah-blah blah \cite{AD_Smith2010}.
    Blah blah blah-blah blah.

And here is the .bib file:

% This file was created with JabRef 2.6.
% Encoding: ISO8859_1
author = {Arthur D. Smith},
title = {A simple model of LaTeX References.},
journal = {Journal of LaTeX},
year = {2001},
volume = {100},
pages = {1-10},
number = {3},
keywords = {LaTeX models; biology},
doi = {10.1115/1.1372322},
owner = {me},
publisher = {Cambridge},
timestamp = {2011.04.01},
url = {http://link.aip.org/link/?PBY/321}

@comment{jabref-meta: selector_publisher:}
@comment{jabref-meta: selector_author:}
@comment{jabref-meta: selector_journal:}
@comment{jabref-meta: selector_keywords:}

Assuming that the above code is sound, what terminal commands would be necessary to compile the tex file and generate a pdf? Until yesterday, I used Tex Live 2009 from the Ubuntu repos and I would do something like: pdflatex, biblatex, pdflatex, pdflatex. Now that I have Tex Live 2011 installed I get an error message: biblatex command not found.

Best Answer

The example in the updated answer misses a couple of details: you have to announce what .bib file(s) to search in; moreover you somewhere have to tell LaTeX where to print the bibliography:


\title{Here is the title.}
\author{John S. Doe}
    Blah blah blah-blah blah.
    Blah blah blah-blah blah \cite{AD_Smith2001}.
    Blah blah blah-blah blah.


Here's where biblatex differs from the usual way: the \bibliography command (or the more modern \addbibresource) should go in the preamble, while the bibliography is printed by \printbibliography.

The command to run for checking the references with the database is

bibtex bob

(if bob.tex is your main file) or

biber bob

but this one requires also backend=biber in the options to biblatex.

Add url=false to the options given to biblatex if you don't want the URL to be printed.