如何調整 biblatex-chicago 以在第一次引用中包含完整頁面範圍,即使引用特定頁面時也是如此

如何調整 biblatex-chicago 以在第一次引用中包含完整頁面範圍,即使引用特定頁面時也是如此

預設情況下,biblatex-chicago(在作者標題模式下)第一次引用@articles 和@incollections 時會使用整個頁面範圍,除非 cite 指令包含特定頁面引用,在這種情況下僅列印後者。

如何調整樣式以使首次引用列印整個頁面範圍,然後在適用時添加逗號+“at”+引用的特定頁面? (當第一次引用沒有頁面引用時,輸出將是相同的。)

微量元素:

\documentclass{article}

\usepackage[notes]{biblatex-chicago}
\addbibresource{biblatex-examples.bib}

\begin{document}

\cite[162]{hyman}.

\cite[220--222]{doody}.

\cite[163]{hyman}.
\cite[223]{doody}.

\end{document}

預設輸出:

阿瑟·海曼,“亞里斯多德的智力理論及其阿威羅伊的解釋”,載於亞里斯多德研究,編輯。多明尼克‧J‧歐米拉 (Dominic J. O'Meara),《哲學研究與哲學史》9(華盛頓特區:美國天主教大學出版社,1981 年),162。

泰倫斯杜迪,“海明威的風格和傑克的敘述”,敘事技巧雜誌4、沒有。 3(1974):220-222。

海曼,“亞里斯多德的智力理論”,163。

所需的輸出(添加粗體以標記差異):

阿瑟·海曼,“亞里斯多德的智力理論及其阿威羅伊的解釋”,載於亞里斯多德研究,編輯。 Dominic J. O'Meara,哲學研究和哲學史 9(華盛頓特區:美國天主教大學出版社,1981 年),161–191,在 162.

泰倫斯杜迪,“海明威的風格和傑克的敘述”,敘事技巧雜誌4、沒有。 3(1974):212–225,在220–222。

海曼,“亞里斯多德的智力理論”,163。

答案1

標準verbose樣式有一個選項citepagesbiblatex-chicago似乎沒有類似的選項。

類似下面的內容似乎可行,但與往常一樣,修改高度自訂的樣式(例如biblatex-chicago.

\documentclass{article}

\usepackage[notes]{biblatex-chicago}

\DefineBibliographyStrings{english}{
  thiscite = {at},
}

\newtoggle{cbxchic:hadpages}

\renewbibmacro*{fullpostnote}{%
  \global\toggletrue{cbxchic:hadpages}%
  \iffieldundef{chapter}%
   {\iffieldundef{pages}%
      {\global\togglefalse{cbxchic:hadpages}}%
      {\postnotedelim%
        \printfield{pages}}}%
   {\postnotedelim%
    \printfield{chapter}}%
  \ifboolexpr{
      test {\ifnumequal{\value{citecount}}{\value{citetotal}}}
      and
      test {\iffieldpages{postnote}}
      and
      togl {cbxchic:hadpages}
    }
    {\setunit{\addcomma\space}%
     \bibstring{thiscite}%
     \setunit{\addspace}}
    {}%
  \usebibmacro{semel:postnote}}

\renewbibmacro*{eid+fullpostnote}{%
  \global\toggletrue{cbxchic:hadpages}%
  \iffieldundef{chapter}%
    {\iffieldundef{pages}%
      {\iffieldundef{eid}%
        {\global\togglefalse{cbxchic:hadpages}}%
        {\postnotedelim%
          \printfield{eid}%
          \clearfield{eid}}}%
      {\postnotedelim%
        \printfield{pages}}}%
    {\postnotedelim%
      \printfield{chapter}}%
  \ifboolexpr{
      test {\ifnumequal{\value{citecount}}{\value{citetotal}}}
      and
      test {\iffieldpages{postnote}}
      and
      togl {cbxchic:hadpages}
    }
    {\setunit{\addcomma\space}%
     \bibstring{thiscite}%
     \setunit{\addspace}}
    {}%
  \usebibmacro{semel:postnote}}

\addbibresource{biblatex-examples.bib}

\begin{document}
\cite[162]{hyman}.

\cite[220--222]{doody}.

\cite[163]{hyman}.
\cite[223]{doody}.

\end{document}

亞瑟·海曼(Arthur Hyman),“亞里斯多德的智力理論及其阿威羅伊的解釋”,《亞里斯多德研究》,編輯。 Dominic J. O'Meara,哲學研究和哲學史 9(華盛頓特區:美國天主教大學出版社,1981 年),161–191,第 162 頁。

相關內容