Hi! I'm using the vancouver style for my bibliography (a separate .bst file I had to download)). Some of my entries in my .bib file include a URL field, which I'd like to keep (for my own personal notes) but not have it show up in my bibliography citations...is there a way of customizing which fields get shown?
Would I have to edit the vancouver.bst file? (and if yes, how would I do that?? I'm not very familiar with this stuff so the code in that file all looks very foreign to me and I don't want to mess around with core files!)
I actually was using the unsrt bibliography style initially and was not having problems with the URL, but I now need to use this other style.
Thanks for any help!
General ⇒ customizing what fields are shown in the bibliography
NEW: TikZ book now 40% off at Amazon.com for a short time.

customizing what fields are shown in the bibliography
Hi,
Each entry type in a .bib file has three classes of flields: requiered, optional and ignored (as described in the Using BiBTeX document (pages 7ff.)). Thus you can use one ignored field to put (in the .bib file) relevant information that will not appear in the actual bibliography. As an example, consider
Since info is an ignored field, then "www.xxx.org" won't show in the bibliography.
Each entry type in a .bib file has three classes of flields: requiered, optional and ignored (as described in the Using BiBTeX document (pages 7ff.)). Thus you can use one ignored field to put (in the .bib file) relevant information that will not appear in the actual bibliography. As an example, consider
Code: Select all
@article{mifflin,
author = "R. Mifflin",
title = "Semismooth and semiconvex functions in constrained
optimization",
journal = "Siam Journal on Control",
year = "1977",
volume = "15",
pages = "957--972",
info = "www.xxx.org"
}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: customizing what fields are shown in the bibliography
Thanks for reply gmedina! I was actually looking for an option that didn't require me to manually edit each entry since I already have a LOT of refs! (I'm importing from PubMed, and it automatically fills in the URL field)
Your file did help me think of a solution, although it does require editing the vancouver.bst (or whichever style you may have) file. Just delete the line "output.web.refs % urlbst" from any of the reference types (i.e. article, book, etc) where you don't want the URL to ever appear.
Your file did help me think of a solution, although it does require editing the vancouver.bst (or whichever style you may have) file. Just delete the line "output.web.refs % urlbst" from any of the reference types (i.e. article, book, etc) where you don't want the URL to ever appear.