
나는 biblatex
인용된 모든 문헌을 자신의 카테고리에 추가하는 추가 기능을 사용하고 있습니다.
\DeclareBibliographyCategory{cited}
\AtEveryCitekey{\addtocategory{cited}{\thefield{entrykey}}}
보여진 바와 같이여기. 이제 다음 MWE를 고려하십시오.
\documentclass{scrreprt}
\usepackage[refsegment=chapter]{biblatex}
\DeclareBibliographyCategory{cited}%so we can access all non-cited as own category
\AtEveryCitekey{\addtocategory{cited}{\thefield{entrykey}}}
\begin{filecontents}{thebib.bib}
@misc{mathworks_constant_2018,
type = {Documentation},
title = {Constant volume pneumatic chamber based on ideal gas law},
url = {https://uk.mathworks.com/help/physmod/simscape/ref/constantvolumepneumaticchamber.html},
urldate = {2022-01-01},
journal = {Mathworks Simulink Documentation},
author = {{Mathworks}},
year = {2018},
}
@online{WinNT,
author = {MultiMedia LLC},
title = {{MS Windows NT} Kernel Description},
year = 1999,
url = {http://web.archive.org/web/20080207010024/http://www.808multimedia.com/winnt/kernel.htm},
urldate = {2010-09-30}
}
\end{filecontents}
\addbibresource{thebib.bib}
\usepackage{cleveref}
\begin{document}
\chapter{This is a chapter}
\autocite{mathworks_constant_2018}
\endrefsegment%anything after not in any segment -> not printed by bibbysegment
\nocite{*}%
\printbibheading%print big heading once
\defbibheading{subbibliography}{\vspace*{1.5\baselineskip}\section*{\Cref{refsegment:\therefsection\therefsegment}}}%
\bibbysegment[heading=subbibliography]%cycle through all segments and print
\defbibheading{notcited}{\section*{Further Reading}}
\printbibliography[notcategory=cited, heading=notcited]
\end{document}
부분적으로 영감을 얻은 예를 들어이 질문.
with \defbibheading
는 cleveref
클릭 가능한 링크를 허용하는 재정의입니다. 예제의 일부는 아니지만 아무 것도 깨지지 않도록 그대로 두었습니다. hyperref
표시되지 않도록 생략했습니다 . 결과는 다음과 같습니다.
이 경우 인용 키를 제거하는 방법이 있습니까 [1]
?추가 자료부분?
어디에도 인용된 항목이 없으므로 거기에는 인용 키가 필요하지 않습니다. 관심 있는 사람을 위한 목록일 뿐입니다.
답변1
새로운 참고문헌 환경을 정의할 수 있습니다.추가 읽기부분. authoryear.bbx
합리적으로 기분 좋은 결과를 제공하므로 방금 정의를 복사했습니다 . 또한 번호 매기기가 예상 대로 defernumbers
나오는지 확인하기 위해 옵션을 사용할 수도 있습니다 .omitnumbers
\printbibliography
추가 읽기섹션에 있지만 여기서의 출력은 변경되지 않습니다. 다음과 같은 경우에만 차이가 있을 것입니다.추가 읽기\printbibliography
그 뒤에는 이전에 나타나지 않은 항목이 포함된 다른 번호가 매겨져 있습니다 ).
\documentclass{report}
\usepackage[refsegment=chapter, defernumbers=true]{biblatex}
\usepackage{cleveref}
\DeclareBibliographyCategory{cited}
\AtEveryCitekey{\addtocategory{cited}{\thefield{entrykey}}}
\defbibheading{subbibliography}{%
\section*{\Cref{refsegment:\therefsection\therefsegment}}}
\defbibheading{notcited}{\section*{Further Reading}}
\defbibenvironment{bibnonum}
{\list
{}
{\setlength{\leftmargin}{\bibhang}%
\setlength{\itemindent}{-\leftmargin}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\item}
\begin{filecontents}{\jobname.bib}
@misc{mathworks_constant_2018,
type = {Documentation},
title = {Constant volume pneumatic chamber based on ideal gas law},
url = {https://uk.mathworks.com/help/physmod/simscape/ref/constantvolumepneumaticchamber.html},
urldate = {2022-01-01},
journal = {Mathworks Simulink Documentation},
author = {{Mathworks}},
year = {2018},
}
@online{WinNT,
author = {MultiMedia LLC},
title = {{MS Windows NT} Kernel Description},
year = 1999,
url = {http://web.archive.org/web/20080207010024/http://www.808multimedia.com/winnt/kernel.htm},
urldate = {2010-09-30}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\chapter{This is a chapter}
\autocite{mathworks_constant_2018}
\endrefsegment
\nocite{*}
\printbibheading
\bibbysegment[heading=subbibliography]
\printbibliography[notcategory=cited, env=bibnonum, heading=notcited]
\end{document}
report
나는 대신에 사용해야했다 scrreprt
.https://github.com/plk/biblatex/issues/857MWE가 나를 위해 작동하도록 만들었습니다. 또한 \vspace*{1.5\baselineskip}%
표준 클래스에 도입되는 과도한 공간을 피하기 위해 MWE에 대한 을 제거했습니다 .