[Tex/LaTex] Omitting fields in Bibliography

bibliographiesbibtexdoiurls

When building my bibliography using the

 \bibliographystyle{plainnat} 

The output looks like

[88] G. R. Ruetsch and M. R. Maxey. Small-scale features of vorticity
and pas- sive scalar fields in homogeneous isotropic turbulence.
Physics of Fluids A: Fluid Dynamics, 3(6):1587, 1991. ISSN 08998213.
doi: 10.1063/1.857938. URL
http://link.aip.org/link/PFADEB/v3/i6/p1587/s1&Agg=doi.

I'd like to omit of some of the fields, such as URL and ISSN. Is this possible? If so, what do I need to do?

(Note: My BibTex was made using Mendley)

Best Answer

One way to proceed is to create a modified version of the file plainnat.bst, in which the functions that format and print fields such as doi and isbn are reduced to stubs that do nothing:

  • Find the file plainnat.bst in your TeX distribution. Make a copy of this file and call it, say, myplainnat.bst. (Don't edit an original file of the TeX distribution directly.)

  • Open myplainnat.bst in your favorite text editor, and search for the function called format.doi. (In my copy of the file, it starts on line 292.)

  • In this function, replace the line

    { new.block "\doi{" doi * "}" * }
    

    with

    { "" }
    

    In short, tell BibTeX to do nothing even if the field doi is non-empty. (You could go further and replace the function's entire body with { " " }. However, if you ever choose to undo some of these edits, it may be easier to do so if you leave behind for more than that absolute minimum code snippet.)

  • Repeat this procedure, as needed, for the functions format.url, format.issn, and format.isbn.

  • Save the file myplainnat.bst, either in the directory where your main .tex file is located or in a directory that's searched by BibTeX. If you choose the latter option, you'll probably need to update the filename database of your TeX distribution too.

  • Start using the new bibliography style via

    \bibliographystyle{myplainnat}