biblatex: 역참조 형식 사용자 정의

biblatex: 역참조 형식 사용자 정의

최소한의 역참조를 원합니다. 즉,

또 다른. 2001.모든 혁신의 어머니. 세계 3:141-592. 1.

대신에

또 다른. 2001.모든 혁신의 어머니. 세계 3:141-592. (1페이지에서 인용)

그 이유는 "Cited on"을 반복하는 것이 불필요해 보이고(한 번만 설명하면 됨), 긴 참고문헌의 경우 꽤 짧은 줄이 추가될 수 있기 때문입니다(저의 경우 거의 반 페이지 정도 추가됩니다).

다음 MWE는 다음에서 수정되었습니다.이 답변.

\documentclass{article}
\usepackage[backref=true]{biblatex-chicago}

\DefineBibliographyStrings{english}{%
  backrefpage = {},% originally "cited on page"
  backrefpages = {},% originally "cited on pages"
}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{A01,
 author = {Author, A.},
 year = {2001},
 title = {Alpha},
}
@misc{B02,
 author = {Buthor, B.},
 year = {2002},
 title = {Bravo},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}
Some text \autocite{A01,B02}.
\clearpage
Some more text \autocite{A01}.
\printbibliography
\end{document}

생성된 참고문헌은 다음과 같습니다.

여기에 이미지 설명을 입력하세요

(a) 괄호를 사라지게 하고 (b) 첫 번째 페이지 참조 앞의 공백을 제거하려면 어떻게 해야 합니까?

답변1

bibmacro를 수정할 수 있습니다 pageref. 원래 정의는 다음에서 찾을 수 있습니다.biblatex.def(v3.19의 ll. 2949-2956).

Bibstring을 빈 문자열로 설정하면 일반적으로 만족스러운 출력 결과를 얻을 수 없습니다. 스타일은 일반적으로 bibstring이 출력을 생성하여 가짜 공백이나 구두점이 나타나는 것으로 가정하기 때문입니다.

\documentclass{article}
\usepackage[backref=true]{biblatex-chicago}

\renewbibmacro*{pageref}{%
  \iflistundef{pageref}
    {}
    {\printlist[pageref][-\value{listtotal}]{pageref}}}

\addbibresource{biblatex-examples.bib}

\begin{document}
Some text \autocite{sigfridsson,worman}.
\clearpage
Some more text \autocite{sigfridsson}.
\printbibliography
\end{document}

관련 정보