將 `\headlesscite` 與 `biblatex-chicago` 一起使用:如何保持同上小寫

將 `\headlesscite` 與 `biblatex-chicago` 一起使用:如何保持同上小寫

我使用 來格式化我的參考書目biblatex-chicago。我一直在使用該ibid選項,因此當兩次連續引用同一作品時,第二次被排版為“同上”。接下來是頁碼。位於句子開頭時應為大寫(同上),其他地方應為小寫(同上)。然而,當使用 時\headlesscite,結果始終是「同上」。 ——大寫。

例如:

See \cite[10]{smith:title}.
Smith argues
\parentext{\headlesscite[12]{smith:title}}
that...

產生

參見約翰史密斯,書名(地址:出版商,2015 年):10。

代替

參見約翰史密斯,書名(地址:出版商,2015 年):10。

這是一個微妙的區別。可以做出這樣的改變嗎?

答案1

我之前在評論中的建議無法與預註釋一起正常工作,因此必須擴展這一行以完成我們想要它做的事情。

\renewbibmacro*{hlcprenote}{%
  \iffieldundef{prenote}%
    {}
    {\printfield{prenote}%
      \ifboolexpr{%
        test {\ifciteseen}
        or
        togl {cms@allshort}
      }
      {\addspace}%
      {\nopunct}}}

hlcprenote這實際上是in的定義,chicago-notes.cbx但有一個關鍵的區別:我們刪除了 a,\bibsentence從而禁用了自動大寫。

微量元素

\documentclass{article}

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

\renewbibmacro*{hlcprenote}{%
  \iffieldundef{prenote}%
    {}
    {\printfield{prenote}%
      \ifboolexpr{%
        test {\ifciteseen}
        or
        togl {cms@allshort}
      }
      {\addspace}%
      {\nopunct}}}

\begin{document}
\cite{worman} and \headlessparencite[12]{worman} or \cite{worman} and \headlessparencite[cf][12]{worman}.
\end{document}

在此輸入影像描述

相關內容