BibTeX, biblatex and biber ⇒ Hiding the URL/Doi field in bibliography list
Hiding the URL/Doi field in bibliography list
I use a bib style file called vancouver.bst.
Some entries (citations) in JabRef have an URL field. When using these the URL comes in the bibliography list. How can I avoid this?
Thank you all for your feedback.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Hiding the URL/Doi field in bibliography list
Change the line
Code: Select all
INTEGERS { hrefform addeprints adddoiresolver }
Code: Select all
INTEGERS { hrefform addurls addeprints adddoiresolver }
Code: Select all
#0 'addurls := % 0=no urls; 1=include urls
Code: Select all
{ url empty$
Code: Select all
{ addurls not url empty$ not and
Edit: I noted that your title says that you also want to hide the doi. In my Texlive 2009 copy of vancouver.bst, this is the default. However, there is a flag for changing this. Check in the function init.config.constants for the line
Code: Select all
#1 'adddoiresolver := % 0=no DOI resolver; 1=include it
Code: Select all
#0 'adddoiresolver := % 0=no DOI resolver; 1=include it
Re: Hiding the URL/Doi field in bibliography list
I didn't need the last thing you described about doi. I just wanted the URL field (which had the doi thing in it) gone.
There is one concern left. I don't need it at the moment, but what if I need to cite a URL now? Is there a field in JabRef (or BibTex data entries) that I could use to include it?
Re: Hiding the URL/Doi field in bibliography list
If you want an url in an entry of some other type you can always add it in the note field.
Re: Hiding the URL/Doi field in bibliography list
Create a new optional field called "website" and paste your urls here.

You also can add "website" to Jabrefs optional fields so you will see it in Jabref, too. Now only add urls you really want in your bibliography to the url-field.