biblatex-chicago가 후속 노트에서 첫 번째 언급을 참조하도록 합니다.

biblatex-chicago가 후속 노트에서 첫 번째 언급을 참조하도록 합니다.

biblatex-chicago의 노트 버전에서 첫 번째 인용은 각주에 전체 인용을 제공하는 반면, 후속 인용은 성과 짧은 제목만 제공합니다. 전체 인용이 사용된 경우 각주 번호를 추가할 수 있는 방법이 있습니까?

따라서 예에서는 다음과 같습니다.

\documentclass{memoir}
\usepackage[notes]{biblatex-chicago}
\usepackage{filecontents}

\begin{filecontents}{biblio.bib}
    @book{book1,
        title = {First Book title},
        author = {Author, The},
        location = {Place},
        publisher = {Publisher},
        date = {2020},
    }
    @book{book2,
        title = {Second Book title},
        author = {Author, Another},
        location = {Place},
        publisher = {Publisher},
        date = {2020},
    }
\end{filecontents}
\bibliography{biblio}
\begin{document}
Here is\footcite{book1} some\footcite{book2} text as filler.\footcite{book1}

\end{document}

참고 3의 출력은 "저자, 첫 번째 책 제목" 대신 "저자, 첫 번째 책 제목(참조 1)"이어야 합니다.

이것이 제대로 작동하려면 각 장을 시작할 때 인용을 재설정해야 합니다.

답변1

표준 스타일은 verbose-note이와 같은 옵션을 제공하므로 해당 코드를 biblatex-chicago.

\documentclass{memoir}
\usepackage[notes]{biblatex-chicago}

% Taken from verbose-note.cbx
\newtoggle{cbx:pageref}
\DeclareBibliographyOption[boolean]{pageref}[true]{%
  \settoggle{cbx:pageref}{#1}%
  \iftoggle{cbx:pageref}
    {\ExecuteBibliographyOptions{pagetracker}}
    {}}

\newbibmacro*{seenote}{%
  \printtext[parens]{%
    \bibstring{seenote}\addnbspace
    \ref{cbx@\csuse{cbx@f@\thefield{entrykey}}}%
    \iftoggle{cbx:pageref}
      {\ifsamepage{\the\value{instcount}}
                  {\csuse{cbx@f@\thefield{entrykey}}}
         {}
         {\addcomma\space\bibstring{page}\addnbspace
          \pageref{cbx@\csuse{cbx@f@\thefield{entrykey}}}}}
      {}}%
}

% Simplified version of chicago-notes.cbx's definition
% cf. also the definition in verbose-note.cbx
\renewbibmacro*{footcite:save}{%
  \iffootnote
    {\csxdef{cbx@f@\thefield{entrykey}}{\the\value{instcount}}%
     \label{cbx@\the\value{instcount}}}%
    {}}%

\makeatletter
% Just add a call to \usebibmacro{seenote} to the definition
\renewbibmacro*{cite:short}[1]{%
  \global\let\cms@pnsaved\undefined%
  \ifcsundef{cite:short:#1}%
    {\csuse{cite:short:book}}%
    {\csuse{cite:short:#1}}%
   \setunit{\addspace}%
   \usebibmacro{seenote}}%
\makeatother


\begin{filecontents}{\jobname.bib}
@book{book1,
  title     = {First Book title},
  author    = {Author, The},
  location  = {Place},
  publisher = {Publisher},
  date      = {2020},
}
@book{book2,
  title     = {Second Book title},
  author    = {Author, Another},
  location  = {Place},
  publisher = {Publisher},
  date      = {2020},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
Here is\footcite{book1} some\footcite{book2} text as filler.\footcite{book1}
\end{document}

저자, 첫 번째 책 제목(참고 1 참조).

편집하다2020/04/20 버전으로 업데이트되었습니다 biblatex-chicago. 이전 버전에서 작동하는 코드에 대한 편집 기록을 확인하세요.

관련 정보