Chicago Author-Date requires the original publication to be indicated like so: Smith [2008] 2020
, for a book that was first published in 2008, but I'm referencing a version from 2020.
I put that into the field "Extra" in Zotero, as instructed in this thread: https://forums.zotero.org/discussion/94398/include-original-date-of-publication-in-citation
I know this works from Zotero's end because if I input a reference into LibreOffice Writer, it does precisely the right thing.
How do I do this in LaTeX so I can convert it into PDF?
Thanks!
This is an example:
% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[a4paper, 12pt, oneside]{article}
\usepackage[a4paper, portrait, margin=1in]{geometry}
\usepackage{ulem}
\usepackage{float}
\normalem
\usepackage{soul}
\usepackage{graphicx}
\graphicspath{{"/home/me/Documents/Project/3 Things/Images/"}{}}
\usepackage{caption}
\usepackage{titling}
\author{My Name}
\title{My Title}
% HEADINGS & SECTIONS%
\usepackage[onehalfspacing]{setspace}
\usepackage{titlesec}
\titleformat{\section}
{\normalfont\large\bfseries\singlespacing}{\thesection}{1em}{}
\AddToHook{cmd/section/before}{\clearpage\setcounter{footnote}{0} }
\usepackage{tikz}
\usepackage{graphicx}
\usetikzlibrary{calc}
\usepackage{etoolbox}
\makeatletter
\pretocmd{\@schapter}{\setcounter{footnote}{0}}{}{}
\pretocmd{\@chapter}{\setcounter{footnote}{0}}{}{}
\makeatother
\usepackage{xcolor}
% CITATION
% Load BibLaTeX and set the style to Author-Year
\usepackage[style=authoryear, backend=biber]{biblatex}
% Tell BibLaTeX to use the file `example.bib` for the bibliography database
\addbibresource{/home/me/Documents/Zotero/Library.bib}
% FOOTNOTES%
\usepackage[hang, flushmargin,splitrule,multiple]{footmisc}
\makeatletter%%
\patchcmd{\@makefntext}{%
\ifFN@hangfoot
\bgroup}%
{%
\ifFN@hangfoot
\bgroup\def\@makefnmark{\rlap{\normalfont\@thefnmark.}}}{}{}%
% %%%
\patchcmd{\@makefntext}{%
\ifdim\footnotemargin>\z@
\hb@xt@ \footnotemargin{\hss\@makefnmark}}%
{%
\ifdim\footnotemargin>\z@
\hb@xt@ \footnotemargin{\@makefnmark\hss}}{}{}%
\makeatother
\setlength{\footnotemargin}{1.25em} % Between marker and text
\setlength{\skip\footins}{1\baselineskip} % Between main text and note rule
\setlength{\footnotesep}{\skip\footins} % Between footnotes [= previous]
\renewcommand{\hangfootparskip}{0pt}
\renewcommand{\hangfootparindent}{1em}
%%
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex
\usepackage{unicode-math}
\defaultfontfeatures{Scale=MatchLowercase}
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi
% Use upquote if available, for straight quotes in verbatim environments
%\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
%\IfFileExists{microtype.sty}{% use microtype if available
% \usepackage[]{microtype}
% \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
%}{}
%\makeatletter
%\@ifundefined{KOMAClassName}{% if non-KOMA class
% \IfFileExists{parskip.sty}{%
% \usepackage{parskip}
% }{% else
% \setlength{\parindent}{0pt}
% \setlength{\parskip}{6pt plus 2pt minus 1pt}}
%}{% if KOMA class
% \KOMAoptions{parskip=half}}
%\makeatother
\usepackage{xcolor}
%\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\hypersetup{
hidelinks,
pdfcreator={LaTeX via pandoc}}
\urlstyle{same} % disable monospaced font for URLs
%\setlength{\emergencystretch}{3em} % prevent overfull lines
%\providecommand{\tightlist}{%
% \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
% SECTION NUMBERING %
%\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
% Fake Sections that don't appear in the TOC or as Headers %
\newcommand{\fakesection}[1]{%
\par\refstepcounter{section}% Increase section counter
\sectionmark{#1}% Add section mark (header)
\addcontentsline{toc}{section}{\protect\numberline{\thesection}#1}% Add section to ToC
% Add more content here, if needed.
}
%% FANCY HEADER %%
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf[]{}
\fancyhead[R]{lastname \thepage}
\fancyhead[L]{}
\fancyfoot[]{}
\usepackage[a4paper, portrait, margin=1in]{geometry}
\fontsize{12pt}{12pt}\selectfont
\usepackage{setspace}
%\doublespacing
\newlength\FHoffset
\setlength\FHoffset{1cm}
\fancyheadoffset{\FHoffset}
\AtBeginEnvironment{quote}{\par\singlespacing\small}
\setlength{\parindent}{5em}
% START DOCUMENT %
\makeatletter
\begin{document}
$body$
\footcite{Hume1896Treatise}
\printbibliography
\end{document}
\makeatother
And this is the relevant entry in my .bib file:
@book{Hume1896Treatise,
title = {A Treatise of Human Nature},
author = {Hume, David},
editor = {Selby-Bigge, L. A. (Lewis Amherst)},
date = {1896},
origdate = {1739/1740},
publisher = {{Oxford, Clarendon press}},
url = {http://archive.org/details/treatiseofhumann01humeuoft},
urldate = {2022-11-26},
abstract = {book I. Of the understanding. 1739.--book II. Of the passions. 1739.--book III. Of morals. With an appendix. Wherein some passages of the foregoing volumes are illustrated and explain'd. 1740; 31},
editora = {{Kelly - University of Toronto}},
editoratype = {collaborator},
langid = {english},
pagetotal = {746},
keywords = {Important,Primary,Ultra Priority},
file = {/home/Zotero/storage/LMXV657W/treatiseofhumann01humeuoft.pdf}
}
(Note the "origdate" variable)
I've had a look at this: Original date of publication in Biblatex
but it doesn't work for me.
Thanks!