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 を使用して括弧内に年を入力しますしかし、私の要件は異なります。

年は、括弧で囲んだ巻番号の後に印刷する必要があります (書籍データの場合、スクリーンショットの 2 番目など)。巻番号がない場合は (記事データの場合)、年は参照の最後にコンマを付けて印刷する必要があります...

お知らせ下さい....

答え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}

アンダーソン、JR『認知のアーキテクチャ』マホワ、ニュージャージー:ローレンス・アールバウム・アソシエイツ、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}

2 つの異なる引用および参考文献スタイルをロードし、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}

(バッジオ、ランバルゲン、ハゴート 2008) および (アンダーソン 1983)

関連情報