13

I am using a bibliography that contains items with the original date of publication, as well as the modern reprint.

A typical entry, for instance is:

@book{Mill1965,
  author = {Mill, John Stuart},
  Location = {London},
  Publisher = {Longmans},
  Title = {A System of Logic, Ratiocinative and Inductive},
  Subtitle = {Being a Connected View of the Principles of Evidence and the Methods of Scientific Investigation},
  Year = {1965 [1843]}}

And the typeset bibliographic entry goes like this:

Mill, J.S. (1965 [1843]). A System of Logic, Ratiocinative and Inductive. Being a Connected View of the Principles of Evidence and the Methods of Scientific Investigation. London: Longmans.

The result of a cite command (\cite{Mill1965}) is:

Mill 1965 [1843]

I'm loading biblatex with the following options:

\usepackage[backend=biber,style=authoryear-comp,firstinits=true]{biblatex}

How can I adapt the default biblatex styles to actively use the origdate field, in order to show that value in the biblography ending?

lockstep
  • 250,273
NVaughan
  • 8,175
  • 2
    What is wrong with using origdate? – Joseph Wright Jun 11 '12 at 19:38
  • @JosephWright that it does not appear in the bibliography. (The biblatex manual says of this field that it is "not used by the standard bibliography styles.") – NVaughan Jun 11 '12 at 19:51
  • Well no, it does not appear but it is available. The standard styles simply don't have 'built in' abilities for two separate dates. I would suggest using the origdate field then adapting one of the standard styles to use this: perhaps edit your question to focus on this. – Joseph Wright Jun 11 '12 at 19:54
  • 2
    You might find the 'authordate' style of biblatex-chicago suited to your needs. It offers four different possibilities with regard to the date-and-origdate issue (based on Chicago's evolving views on the matter). – jon Jun 11 '12 at 19:59
  • 3
    Related: http://tex.stackexchange.com/questions/55859/getting-origyear-to-work-in-biblatex – lockstep Jun 11 '12 at 20:20

2 Answers2

11

Following lockstep's answer here, this code works alright for me.

\renewbibmacro*{date}{%
  \iffieldundef{origyear}{%
  }{%
    \setunit*{\addspace}%
    \printtext[brackets]{\printorigdate}%
  }%
}
NVaughan
  • 8,175
0

A simple solution without a macro could look like this

@book{Conrad_07,
    Address = {London},
    Author = {Joseph Conrad},
    Publisher = {Penguin},
    Title = {The Secret Agent - A Simple Tale},
    Year = {{1907/1994}}
}

Conrad, J. (1907/1994). The Secret Agent - A Simple Tale. Penguin, London.

  • 2
    If you use Biber as backend (as one probably should nowadays when one uses biblatex) this will probably not sort as expected. – moewe May 21 '19 at 11:33