
나는 싱글을 가지고있다.bib
. 내 문서는 두 부분으로 구성되어 있으며 각 부분 끝에 참고문헌을 인쇄하고 싶습니다.해당 부분에 인용된 항목만. 물론, 한 항목이 두 부분에서 모두 인용된 경우 교차점이 있을 수 있습니다.
bibtex
기본 설정이 없거나 추가 항목이 있을 수 있습니다 biblatex
.
MWE
\begin{filecontents}{mybib.bib}
@article{faa,
title={Faa Something important},
author={Faa Big Guy and Another Big Guy},
journal={Prestigious Journal},
volume={47},
number={7},
pages={966--978},
year={2001},
publisher={Institute}
}
@article{foo,
title={Foo Something important},
author={Foo Big Guy and Another Big Guy},
journal={Prestigious Journal},
volume={47},
number={7},
pages={966--978},
year={2001},
publisher={Institute}
}
\end{filecontents}
\documentclass{report}
\usepackage{filecontents}
\begin{document}
\part{Faa}
\cite{faa}
\bibliographystyle{plain}
\bibliography{mybib}
\part{Foo}
\cite{foo}
%% I tried to insert twice, but got an error
%\bibliographystyle{plain}
%\bibliography{mybib}
\end{document}
답변1
biblatex
환경 을 정의합니다 refsection
. 문서의 § 3.7.4, 참고문헌 섹션, pp. 88-89를 참조하십시오.
답변2
남자 이름refsection
그의 답변에서 이미 s를 언급했습니다 .
특정 섹션 명령에서 새 섹션을 자동으로 시작하는 데 사용할 수 있는 biblatex
옵션이 있습니다 . 예를 들어 각 . 추가 코드는 필요하지 않습니다.refsection
refsection
refsection=part
refsection
\part
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=authoryear, backend=biber, refsection=part]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
\part{One}
\cite{sigfridsson,worman,knuth:ct:b}
\printbibliography
\part{Two}
\cite{sigfridsson,nussbaum,knuth:ct:c}
\printbibliography
\end{document}
refsection
다음 단계까지 계속되는 새로운 작업을 시작할 수 있습니다 refsection
.
\newrefsection
s와 그 끝을 더 세밀하게 제어하려면 refsection
환경 양식을 사용할 수 있습니다.
\begin{refsection}
\end{refsection}
s 는 refsection
중첩될 수 없으며 특정 항목 이외의 모든 작업은 refsection
섹션 0에서 발생합니다.
refsection
콘텐츠를 서로 완전히 분리하고 독립적으로 유지하세요. 즉, 동일한 항목이 각 섹션에서 서로 다른 인용 라벨로 끝날 수도 있고 그 반대일 수도 있습니다. 즉, 두 개의 서로 다른 항목이 동일한 라벨을 갖게 됩니다.
그것이 바람직하지 않은 경우(또는 마지막에 전체 참고문헌을 만드는 방법을 찾고 있는 경우) refsegment
s를 살펴보는 것이 좋습니다. refsegment
기본적으로 문서의 특정 부분에 인용된 항목을 표시하면 됩니다. 다시 말하지만, 특정 유형의 각 섹션화 명령에 대해 refsegment
새 섹션을 시작하는 옵션이 있습니다 .refsegment
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=authoryear, backend=biber, refsegment=part]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
\part{One}
\cite{sigfridsson,worman,knuth:ct:b}
\printbibliography[segment=\therefsegment]
\part{Two}
\cite{sigfridsson,nussbaum,knuth:ct:c}
\printbibliography[segment=\therefsegment]
\printbibliography[title=Overall \bibname]
\end{document}
마찬가지로 s는 다음과 같이 시작할 수 있습니다 refsection
.refsegment
\newrefsegment
또는 환경으로 사용할 수 있습니다
\begin{refsegment}
\end{refsegment}