使用 biblatex-chicago 和 biber 进行年份移动

使用 biblatex-chicago 和 biber 进行年份移动

我的代码如下:

\documentclass{book}
\usepackage[natbib,authordate,backend=biber]{biblatex-chicago}%

\addbibresource{test.bib}

\begin{document}

\citet{baggio} and \citet{anderson}

\printbibliography

\end{document}

bib 文件的内容

@article{baggio,
Author = {R. Baggio and M. van Lambalgen and P. Hagoort},
Date-Added = {2014-02-06 14:22:28 +0100},
Date-Modified = {2014-02-06 14:24:02 +0100},
Journal = {Journal of {M}emory and {L}anguage},
Pages = {36--53},
Title = {Computing and Recomputing Discourse Models: An {ERP} Study},
Volume = {59},
Year = {2008}}

@book{anderson,
Address = {Mahwah, NJ},
Author = {J. R. Anderson},
Date-Added = {2014-02-05 15:27:59 +0100},
Date-Modified = {2014-02-05 16:10:22 +0100},
Publisher = {Lawrence {E}rlbaum {A}ssociates},
Title = {The Architecture of Cognition},
Year = {1983}}

所需输出

在此处输入图片描述

我已经提到了链接使用 biblatex-chicago 将年份放入括号中,但我的要求有所不同。

我需要在卷号后面的括号内打印年份(对于书籍数据,如屏幕截图中的第二个),如果没有卷号(对于文章数据),那么年份应该放在参考文献的末尾,前面用逗号分隔......

请指教....

答案1

biblatex-chicago是一种高度专业化的样式,它做了很多工作来尽可能紧密地实现 CMS 规则。这意味着让样式执行其他操作(它不是设计用来执行的)可能非常棘手、繁琐或几乎不可能。biblatex-chicago不打算在其文档中的选项之外进行自定义。它不是您自定义样式的基础的好选择。


您似乎想要的参考书目样式就是您可以从该biblatex-chicago notes样式中获得的。

但是,使用这种notes风格,你不再能得到作者年份的引用。/\textcite不再\citet是这种形式作者(年份)

\documentclass{article}
\usepackage[notes,backend=biber]{biblatex-chicago}%

\begin{filecontents}{\jobname.bib}
@article{baggio,
  Author  = {R. Baggio and M. van Lambalgen and P. Hagoort},
  Journal = {Journal of Memory and Language},
  Pages   = {36--53},
  Title   = {Computing and Recomputing Discourse Models: An {ERP} Study},
  Volume  = {59},
  Year    = {2008},
}
@book{anderson,
  Address   = {Mahwah, NJ},
  Author    = {J. R. Anderson},
  Publisher = {Lawrence Erlbaum Associates},
  Title     = {The Architecture of Cognition},
  Year      = {1983},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
\null\vfill% just of this example, don't try this at home

\textcite{baggio} and \textcite{anderson}

\printbibliography
\end{document}

Anderson,JR,《认知架构》。新泽西州马瓦: Lawrence Erlbaum Associates,1983 年。


买者自负

如果你坚持混合风格,这似乎不被 CMS 推荐或正式认可,你可以尝试类似

\documentclass{article}
\usepackage[citestyle=chicago-authordate, bibstyle=chicago-notes]{biblatex}
  \ExecuteBibliographyOptions{%
    pagetracker=true,autocite=inline,alldates=comp,labeldateparts=true,
    citetracker=true,uniquename=minfull,useeditor=true,usetranslator=true,
    usenamec=true,alltimes=12h,urltime=24h,datecirca=true,datezeros=false,
    dateuncertain=true,timezones=true,compressyears=true,
    ibidtracker=constrict,sorting=cms,punctfont,cmslos=true,nodates,
    uniquelist=minyear,maxbibnames=10,minbibnames=7,sortcase=false,
    abbreviate=false,dateabbrev=false,avdate=true}

\providetoggle{cms@bookbibxref}
\providetoggle{cms@omitxrefdate}
\providetoggle{cms@postvol}
\providetoggle{cms@mtvolpunct}

\newbibmacro*{cjournal+ser+vol+num}{%
  \usebibmacro{journal+sub}%
  \setunit*{\addspace}%
  \printlist[periodplace]{location}%
  \setunit*{\addspace}%
  \iffieldundef{series}%
    {}%
    {\newcunit%
      \printfield[jourser]{series}%
      \newcunit}%\setunit*{\addspace}?
  \printfield[jourvol]{volume}%
  \setunit{\addcomma\addspace}% need * here?
  \printfield[journum]{number}}% Moved eid for 17th ed.

\newbibmacro*{number+or+month}{%
  \iffieldundef{number}%
  {\usebibmacro{date}}%
  {\iftoggle{cms@numbermonth}%
    {\usebibmacro{date}}%
    {\usebibmacro{cmsyear}}}}

\begin{filecontents}{\jobname.bib}
@article{baggio,
  Author  = {R. Baggio and M. van Lambalgen and P. Hagoort},
  Journal = {Journal of Memory and Language},
  Pages   = {36--53},
  Title   = {Computing and Recomputing Discourse Models: An {ERP} Study},
  Volume  = {59},
  Year    = {2008},
}
@book{anderson,
  Address   = {Mahwah, NJ},
  Author    = {J. R. Anderson},
  Publisher = {Lawrence Erlbaum Associates},
  Title     = {The Architecture of Cognition},
  Year      = {1983},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
\textcite{baggio} and \textcite{anderson}

\printbibliography
\end{document}

请注意,我刚刚加载了两种不同的引用和参考书目样式,并从中复制了缺失的定义,chicago-notes.cbx直到不再出现错误。如果您引用其他(类型)的作品,您可能会遇到更多错误,并且必须返回以chicago-notes.cbx复制相关代码。您还必须仔细检查输出。

我绝对不推荐这个。


使用 可以稍微容易地混合注释和作者-日期引文windycity。但显然windycity不支持\textcite作者-日期引文,因此您必须坚持使用\parencite

\documentclass{article}
\usepackage[style=windycity]{biblatex}

\begin{filecontents}{\jobname.bib}
@article{baggio,
  Author  = {R. Baggio and M. van Lambalgen and P. Hagoort},
  Journal = {Journal of Memory and Language},
  Pages   = {36--53},
  Title   = {Computing and Recomputing Discourse Models: An {ERP} Study},
  Volume  = {59},
  Year    = {2008},
}
@book{anderson,
  Address   = {Mahwah, NJ},
  Author    = {J. R. Anderson},
  Publisher = {Lawrence Erlbaum Associates},
  Title     = {The Architecture of Cognition},
  Year      = {1983},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
\parencite{baggio} and \parencite{anderson}

\printbibliography
\end{document}

(Baggio、Lambalgen 和 Hagoort 2008)和(Anderson 1983)

相关内容