장 끝의 참고문헌

장 끝의 참고문헌

나는 각 장의 끝 부분에 참고문헌 목록을 두고 싶습니다(그리고 나중에 책 끝 부분에도).

이 MWE에서는 이것이 작동하지 않습니다. 나는 끝에 "[1] AB, Test Journal ..."이 있을 것으로 예상했습니다. Bibtex는 "프로세스가 정상적으로 종료되었습니다"로 실행됩니다.

\documentclass{book}

\usepackage[ngerman]{babel}

\usepackage[sorting=none, backend=bibtex]{biblatex} % load the package

\begin{filecontents}{bibliography_file.bib}
@ARTICLE{myref,
  AUTHOR       = "A B",
  TITLE        = "Test",
  JOURNAL      = "Journal",
  YEAR         = "2019",
  NUMBER       = "1"
}
\end{filecontents}

\addbibresource{bibliography_file.bib} % add a bib-reference file

\begin{document}

\chapter{First Chapter}

Hello. We cite \cite{myref}

\begin{refsection} % refsection environment
Citation section \thesection: \cite{myref} % collect citations
\printbibliography[heading=subbibliography] % print section bibliography
\end{refsection}

\end{document}

답변1

BibTeX와 함께 s를 사용하려면 refsection기본 파일뿐만 아니라 각 refsection.

실제로 MWE는 경고를 생성합니다

Package biblatex Warning: Please (re)run BibTeX on the file(s):
(biblatex)                refsectbibtex
(biblatex)                refsectbibtex1-blx
(biblatex)                and rerun LaTeX afterwards.

첫 번째 실행에서. 따라서 BibTeX를 On refsectbibtex뿐만 아니라 On에서도 실행합니다 refsectbibtex1-blx(다른 참조 섹션에서도 유사하게).

일반적인 컴파일 순서

latex <file>
bibtex <file>
latex <file>
latex <file>

그리하여 된다

latex <file>
bibtex <file>
bibtex <file>1-blx
...
bibtex <file>n-blx
latex <file>
latex <file>

ns 의 수는 어디에 있습니까 refsection?


BibTeX 대신 Biber를 사용하는 경우 추가로 Biber를 실행할 필요가 없으며 임의로 많은 refsection을 가질 수 있으며 여전히 다음과 같이 컴파일할 수 있습니다.

latex <file>
biber <file>
latex <file>
latex <file>

BibTeX 대신 Biber backend=bibtex,로 변경하여 실행하세요(backend=biber,Biber를 사용한 Biblatex: 정의되지 않은 인용을 방지하도록 편집기 구성편집자에게 도움을 줄 수 있습니다).

일부 고급 biblatex기능은 Biber에서만 사용할 수 있으므로 Biber로 전환하는 것이 이 문제를 해결하는 데 선호되는 방법입니다.

관련 정보