planetwater

ground- water, geo- statistics, environmental- engineering, earth- science

BibTex styles and papers

without comments

I’m currently writing a fairly important document, hence I want to make sure that the references work well and look well. I’m using papers in conjunction with TextMate. Here are the requisites I have for my reference system:

1. it should be author, year style. \citep{…} and \citet{…} should work

2. electronic sources should work properly. I don’t have many, but the few should be correct. I want for an electronic source to be included the link and the rough date when I last accessed it (month, year)

3. journal articles that are new enough such that they include an doi, the doi should show up and be a link such that the reader can easily access the reference.

I was a little surprised that papers exports any website as “@webpage”. Previously I had done that using “@misc” with howpublished={“Electronic source”}. I wasn’t aware of the little script urlbst, that can deal with @webpage, and solves requisites 2 and 3. Unfortunately, I couldn’t get urlbst to work with my own style file, which I created about 6 years ago… jeez… I didn’t want to go through the hassle of creating one by myself. It was not overly easy to find a suitable style file, but I finally found one at Elsevier, which I adapted using urlbst. Nice. Now everything looks and behaves nicely. Cheers to that!

Here’s the final bst-file I ended up liking.

Written by Claus

July 5th, 2011 at 9:57 am

Posted in

Tagged with ,