5

I have two entries by the same author, the second of which contains an origdate field with a range of years. If I print only the second entry, the date is fine: 1754--1755. But if I print both entries, the date has a stray period: 1754--. 1755. Here's a MWE.

\documentclass[12pt]{article}
\usepackage[authordate,backend=biber]{biblatex-chicago}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{crusius1749,
  author       = {Christian August Crusius},
  title        = {Anleitung {\"u}ber nat{\"u}rliche Begebenheiten ordentlich
                  und vorsichtig nachzudencken},
  publisher    = {Gleditsch},
  year         = 1749,
  address      = {Leipzig}
}

@Book{crusius1754,
  author       = {Christian August Crusius},
  title        = {Gr{\"u}ndliche Belehrung vom Aberglauben zur Aufkl{\"a}rung
                  des Unterschiedes zwischen Religion und Aberglauben},
  publisher    = {Langenheim},
  year         = 1767,
  address      = {Leipzig},
  translator   = {Christian Friedrich Pezold},
  options      = {cmsdate=on},
  origdate     = {1754/1755}
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
\cite{crusius1749}
\cite{crusius1754}
\printbibliography
\end{document}

Comment out the first \cite to see the correct form of the second entry.

Is this a bug, or am I doing something wrong?

1
  • 2
    Looks like a bug. And even if it is a feature, the documentation needs to be clearer regarding how and why it is one.
    – jon
    Commented Sep 15, 2013 at 15:45

1 Answer 1

2

This behaviour indeed seems to be a bug. The following quick-and-dirty fix might help you.

Add the following code to your preamble.

\renewbibmacro*{origyear+endyear}{%
  \printfield{origyear}%
  \iffieldundef{origendyear}%
  {}%
  {\iffieldequalstr{origendyear}{}%
    {\mbox{\bibdatedash}}%
    {\bibdatedash\nopunct\printtext{\unspace}\printfield{origendyear}}}}

That portion of code is a modified version of the original {origyear+endyear} macro from chicago-authordate.bbx. The last line was modified to make the next punctuation command print nothing (\nopunct), that punctuation command is then implicitly invoked by \printtext{\unspace} which here actually "prints" only a command to remove all preceding whitespace (\unspace). So the full stop as well as the space between the \bibdatedash and the origendyear disappear.

Your MWE becomes

\documentclass[12pt]{article}
\usepackage[authordate,backend=biber]{biblatex-chicago}
\usepackage{filecontents}

\renewbibmacro*{origyear+endyear}{%
  \printfield{origyear}%
  \iffieldundef{origendyear}%
  {}%
  {\iffieldequalstr{origendyear}{}%
    {\mbox{\bibdatedash}}%
    {\bibdatedash\nopunct\printtext{\unspace}\printfield{origendyear}}}}


\begin{filecontents}{\jobname.bib}
@Book{crusius1749,
  author       = {Christian August Crusius},
  title        = {Anleitung {\"u}ber nat{\"u}rliche Begebenheiten ordentlich
                  und vorsichtig nachzudencken},
  publisher    = {Gleditsch},
  year         = 1749,
  address      = {Leipzig}
}

@Book{crusius1754,
  author       = {Christian August Crusius},
  title        = {Gr{\"u}ndliche Belehrung vom Aberglauben zur Aufkl{\"a}rung
                  des Unterschiedes zwischen Religion und Aberglauben},
  publisher    = {Langenheim},
  year         = 1767,
  address      = {Leipzig},
  translator   = {Christian Friedrich Pezold},
  options      = {cmsdate=on},
  origdate     = {1754/1755}
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
\nocite{*}
\printbibliography
\end{document}

and yields enter image description here

1
  • That works fine and breaks nothing in my bibliography (1092 items) but did reveal two other problems with origdate. Again I'm not sure whether I've stumbled on bugs or don't understand how to make biblatex-chicago do what I need. I'll put the problems in a new question. Commented Sep 16, 2013 at 21:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .
https://tex.stackexchange.com/questions/133445/biblatex-chicago-origdate
tex.stackexchange.com
CC-MAIN-2024-33
152159
application/http; msgtype=response
sha1:GPQSSY2IKCSMMSACEQ3XT6NKSRTWTI4I
<urn:uuid:398707cc-97b0-412e-be1f-76f62e5aacbf>
2024-08-08T17:13:39Z
172.64.144.30
text/html
sha1:GPSGO6PWQLLHYHVEZQXIENNV3ZURZ5UV
<urn:uuid:c1ba2c43-db04-4149-a3ce-940eaaee25b2>
https://tex.stackexchange.com/questions/133445/biblatex-chicago-origdate
response
<urn:uuid:9caed850-2a20-4ced-8924-ae8d423e6e23>
isPartOf: CC-MAIN-2024-33
publisher: Common Crawl
description: Wide crawl of the web for August 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-137
software: Apache Nutch 1.20 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/