38

Currently my bibliography items are printed like this:

R. B. Griffiths, Nonanalytic Behavior Above the Critical Point in a Random Ising Ferromagnet, Physical Review Letters 23 (July 1969), pp. 17–19 (cit. on p. 10).

which took quite some time to fiddle with a custom bibliography style in biblatex. The remaining issue is the month field. Instead of (July 1969) it should just print (1969). I have read every bit of the biblatex documentation concerning dates and there are hundreds of options but not once is there a possibility mentioned how to completely disable the month.

Do I have to dig down even further into biblatex or is there an easy or documented way to change the default behaviour?

  • Do you use the date field? If you do so why don't you use the year field? – Thorsten May 14 '12 at 11:14
  • I took the recommendation and based my style on the closest style, authoryear.bbx and standard.bbx. In there \DeclareBibliographyDriver{article} uses \usebibmacro{journal+issuetitle}, which uses \usebibmacro{issue+date}, which uses \usebibmacro{date}. So I guess I am using the date field. Changing that to \usebibmacro{year} does not work, as this macro does not seem to exist. – Alexander May 14 '12 at 11:23
  • No, I mean in your .bib file. – Thorsten May 14 '12 at 11:27
  • related: tex.stackexchange.com/questions/40097/… – matth May 14 '12 at 11:29
  • related: tex.stackexchange.com/questions/32930/… – matth May 14 '12 at 11:29
31

You could add one or both of the following commands to your preamble:

\AtEveryBibitem{\clearfield{month}}
\AtEveryCitekey{\clearfield{month}}
32

The biblatex package option date=year should also work.

  • 13
    IMHO this is a nicer solution that to delete the month. One may also need labeldate=year as well; or alldates=year and then something like urldate=short. – moewe Dec 30 '16 at 7:34
  • 1
    Thank you for the update, this function has been added to biblatex in version 2.8 (in 2013). So if you are using any newer version this is the best option and allows even further configuration than just deleting the month. – Alexander Jan 2 '17 at 14:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.