Hi,
I use Jabref to get the bibtex entrys for my bibliography. There is only one problem.
I don't know and I couldn't find how to hide the url/doi in the bibliography.
Thanks for your help!
BibTeX, biblatex and biber ⇒ bibliographystyle plainnat without url
NEW: TikZ book now 40% off at Amazon.com for a short time.

bibliographystyle plainnat without url
Now, I'm no specialist in this matter but I think there are two ways:
1. just delete doi and ulr from your bibliography database
2. copy plainnat.bst file (it's in \bibtex\bst\natbib) to your projects folder and rename it (let's say notplainnat.bst). *.bst files are bibliography style files, so inside are hidden informations on how your bibliography is going to look like.
Open your renamed file (notplainnat.bst) in text editor (notepad, vim whatever) and find (it's somewhere at the end)
That's a sample Function that tells how to handle Book type references. You can see two lines at the bottom: and . Remove them and try running your document at least two times.
Do the same for other reference types that you use (Inbook, article whatever).
There is a third option - making your own custuom bst style with
from the command line. It looks pretty scary when you do it for the first time, but you can get used to it.
Cheers!
1. just delete doi and ulr from your bibliography database

2. copy plainnat.bst file (it's in \bibtex\bst\natbib) to your projects folder and rename it (let's say notplainnat.bst). *.bst files are bibliography style files, so inside are hidden informations on how your bibliography is going to look like.
Open your renamed file (notplainnat.bst) in text editor (notepad, vim whatever) and find (it's somewhere at the end)
Code: Select all
FUNCTION {book}
{ output.bibitem
author empty$
{ format.editors "author and editor" output.check
editor format.key output
}
{ format.authors output.nonnull
crossref missing$
{ "author and editor" editor either.or.check }
'skip$
if$
}
if$
new.block
format.btitle "title" output.check
crossref missing$
{ format.bvolume output
new.block
format.number.series output
new.sentence
publisher "publisher" output.check
address output
}
{ new.block
format.book.crossref output.nonnull
}
if$
format.edition output
format.date "year" output.check
format.isbn output
format.doi output
format.url output
new.block
note output
fin.entry
}
Code: Select all
format.doi output
Code: Select all
format.url output
Do the same for other reference types that you use (Inbook, article whatever).
There is a third option - making your own custuom bst style with
Code: Select all
latex makebst
Cheers!
Re: bibliographystyle plainnat without url
Hey there!
I had to do it differently then and didn't have to write longer texts for a while. That's why my response is a bit late.
ad 1. The point is that I have my references in JabRef and want to keep the urls etc. in the bib file.
ad 2. Thanks for the hint, it does what I wanted!
I had to do it differently then and didn't have to write longer texts for a while. That's why my response is a bit late.
ad 1. The point is that I have my references in JabRef and want to keep the urls etc. in the bib file.
ad 2. Thanks for the hint, it does what I wanted!