biblatex-chicago で元のデータを印刷 - ジャーナル記事用

biblatex-chicago で元のデータを印刷 - ジャーナル記事用

使いたいこのアプローチ出版の元の日付を含める。ただし、答えは のみで機能し@book、 では機能しないようです@article

\documentclass{article}
\usepackage[authordate,backend=biber]{biblatex-chicago}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{hume1739,
  author       = {David Hume},
  editor       = {David Fate Norton},
  title        = {A Treatise of Human Nature},
  publisher    = {Oxford University Press},
  year         = 2000,
  address      = {Oxford},
  options      = {cmsdate=on},
  origdate     = {1739/1740}
}
@article{mori2012uncanny,
    AUTHOR      = {Mori, Masahiro},
    TITLE       = {The Uncanny Valley},
    TRANSLATOR  = {MacDorman, Karl F. and Kageki, Norri},
    JOURNAL     = {IEEE Robotics \& Automation Magazine},
    VOLUME      = {19},
    NUMBER      = {2},
    PAGES       = {98--100},
    ORIGDATE    = {1994},
    OPTIONS     = {cmsdate=on},
    YEAR        = {2012}
}
\end{filecontents}
\addbibresource{\jobname.bib}

\DeclareCiteCommand{\citeyear} %lifted from biblatex.def
  {\boolfalse{citetracker}%
   \boolfalse{pagetracker}%
   \usebibmacro{prenote}}
   {% modified from here
   \iffieldundef{origyear}
       {\printfield{year}}
       {\printorigdate}
   }% to here
  {\multicitedelim}
  {\usebibmacro{postnote}}


\begin{document}

\cite{hume1739}, \cite{mori2012uncanny}

\printbibliography

\end{document}

つまり、2012 年は Mori から欠落していることになります。

ここに画像の説明を入力してください

理想的には日付も逆にします。引用では「Mori 2012」、参考文献では「Mori Masahiro. 2012. ... (orig. 1994)」のように。

答え1

コツはcmsdate=both、マクロが必要ないことです。

\documentclass{article}
\usepackage[authordate,backend=biber]{biblatex-chicago}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{hume1739,
  author       = {David Hume},
  editor       = {David Fate Norton},
  title        = {A Treatise of Human Nature},
  publisher    = {Oxford University Press},
  year         = 2000,
  address      = {Oxford},
  options      = {cmsdate=both},
  origdate     = {1739/1740}
}
@article{mori2012uncanny,
    AUTHOR      = {Mori, Masahiro},
    TITLE       = {The Uncanny Valley},
    TRANSLATOR  = {MacDorman, Karl F. and Kageki, Norri},
    JOURNAL     = {IEEE Robotics \& Automation Magazine},
    VOLUME      = {19},
    NUMBER      = {2},
    PAGES       = {98--100},
    ORIGDATE    = {1994},
    OPTIONS     = {cmsdate=both},
    YEAR        = {2012}
}
\end{filecontents}
\addbibresource{\jobname.bib}


\begin{document}

Book \autocite{hume1739} and article \autocite{mori2012uncanny}.

\printbibliography

\end{document}

ここに画像の説明を入力してください

関連情報