
Estoy usando biblatex
la característica adicional de agregar todas las referencias citadas a su propia categoría:
\DeclareBibliographyCategory{cited}
\AtEveryCitekey{\addtocategory{cited}{\thefield{entrykey}}}
como se muestraaquí. Ahora considere este 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}
con un ejemplo inspirado en partes poresta pregunta.
El \defbibheading
con cleveref
es una redefinición para permitir enlaces en los que se puede hacer clic. No es parte del ejemplo, pero lo dejé así para que nada se rompa. Lo omití hyperref
para que no se muestren. El resultado es:
¿Hay alguna manera de eliminar las claves de citas? En este caso[1]
, delOtras lecturas¿sección?
Dado que no se citan entradas en ninguna parte, no necesitamos claves de citas allí. Sólo pretende ser una lista para cualquiera que le importe.
Respuesta1
Puede definir un nuevo entorno de bibliografía para elOtras lecturassección. Simplemente copié la definición authoryear.bbx
porque da un resultado razonablemente agradable. También querrás usar la opción defernumbers
para asegurarte de que la numeración salga como se espera (también puedes agregar la opción omitnumbers
al\printbibliography
comando delOtras lecturassección, aunque eso no cambiaría la salida aquí; Sólo habría una diferencia siOtras lecturasle sigue otro numerado \printbibliography
con entradas que no han aparecido antes).
\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}
Tuve que usar report
en lugar descrreprt
debido ahttps://github.com/plk/biblatex/issues/857para que el MWE funcione para mí. También eliminé el \vspace*{1.5\baselineskip}%
para MWE porque quería evitar el espacio excesivo que introduce con la clase estándar.