biblatex windycity 스타일의 포스트노트 및 소장 인용을 사용하여 저널 인용에 페이지 번호 추가

biblatex windycity 스타일의 포스트노트 및 소장 인용을 사용하여 저널 인용에 페이지 번호 추가

Windycity 스타일의 biblatex에서는 포스트노트가 있는 경우 저널 기사의 첫 번째 인용에서 페이지 번호를 얻지 못하거나 컬렉션의 장을 전혀 얻지 못합니다. 논문과 장의 전체 인용에 페이지 번호가 항상 표시되도록 하려면 어떻게 해야 합니까?

MWE:

\documentclass{article}
\usepackage[style=windycity, sorting=nyt]{biblatex}
\bibliography{biblatex-examples}
\begin{document}
    \cite{shore}
    
    \cite[2]{glashow}
    
    \cite{westfahl:space}
\end{document} 

이제 다음을 생산합니다.

Bradd Shore, "두 번 태어나고 한 번 잉태됨: 의미 구성과 문화적 인식", 미국 인류학자, 새 시리즈, 93, no. 1(1991년 3월): 9~27.

Sheldon Glashow, "약한 상호작용의 부분 대칭", Nucl. 물리. 22(1961): 2.

Gary Westfahl, "진정한 개척자: 미국 SF 영화에서 우주의 현실에 직면하고 회피하기", in, in Space and BeyondSpace and Beyond: The Frontier Theme in Science Fiction, ed. 게리 웨스트팔(코네티컷 주 웨스트포트, 그린우드, 2000).

하지만 나는 그것이 생산되기를 원합니다 :

Bradd Shore, "두 번 태어나고 한 번 잉태됨: 의미 구성과 문화적 인식", 미국 인류학자, 새 시리즈, 93, no. 1(1991년 3월): 9~27.

Sheldon Glashow, “약한 상호작용의 부분 대칭”핵. 물리.22 (1961): 579-588, 2.

Gary Westfahl, "진정한 개척자: 미국 SF 영화에서 우주의 현실에 직면하고 회피하기", in, in Space and BeyondSpace and Beyond: The Frontier Theme in Science Fiction, ed. Gary Westfahl, 55-65 (웨스트포트, 코네티컷 그린우드, 2000).

(windycity는 표준 biblatex 스타일과 다른 필드를 사용하기 때문에 수집 인용이 약간 불안정하지만 사용하기 쉽도록 biblatex 예제를 턱받이 파일로 사용하고 싶었습니다)

답변1

및 의 bibmacros 및 참고문헌 드라이버를 통해 및 필드를 추적 pages해야 합니다 .postnotewindycity.cbxwindycity.bbx

\documentclass{article}
\usepackage[style=windycity, sorting=nyt]{biblatex}

\DeclareBibliographyDriver{cite:article}{%
  \usebibmacro{author+title+etc}%
  \usebibmacro{articles}%
  \usebibmacro{colon+pages+etc}}%

\renewbibmacro*{cite:pages}{}

\renewbibmacro*{pages}{%
  \iffieldundef{pages}
    {}
    {\setunit{\addcomma\space}%
     \printfield{pages}%
     \clearfield{pages}%
     \togglefalse{edshift}}}

\renewbibmacro*{postnote}{%
  \iffieldundef{postnote}
    {}
    {\setunit{\postnotedelim}%
     \printtext[bibhyperref]{\printfield{postnote}}}}

\addbibresource{biblatex-examples.bib}
\begin{document}
  \cite{shore}

  \cite[2]{glashow}

  \cite{westfahl:space}

  \printbibliography
\end{document}

Bradd Shore, "두 번 태어나고 한 번 잉태됨: 의미 구성과 문화적 인식", 미국 인류학자, 새 시리즈, 93, no. 1 (1991년 3월): 9–27.//Sheldon Glashow, “약한 상호 작용의 부분 대칭”, Nucl. 물리. 22(1961): 579–588, 2.//Gary Westfahl, “The True Frontier: Confronting and 회피 the Realities of Space in American Science Fiction Films,” in, in Space and Beyond Space and Beyond: The Frontier Theme in Science 소설, 에디션. Gary Westfahl, 55–65 (웨스트포트, 코네티컷 그린우드, 2000).

관련 정보