Imprimir lista de entradas bibliográficas não citadas sem chaves de citação

Imprimir lista de entradas bibliográficas não citadas sem chaves de citação

Estou usando biblatexo recurso adicional de adicionar todas as referências citadas à sua própria categoria:

\DeclareBibliographyCategory{cited}
\AtEveryCitekey{\addtocategory{cited}{\thefield{entrykey}}}

como mostradoaqui. Agora 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}

com um exemplo inspirado em partes deessa questão.

O \defbibheadingwith cleverefé uma redefinição para permitir links clicáveis. Não faz parte do exemplo, mas deixei assim nada quebra. Eu deixei hyperrefde fora para que eles não aparecessem. O resultado é:

insira a descrição da imagem aqui

Existe uma maneira de remover chaves de citação – neste caso [1]– doLeitura adicionalseção?

Como nenhuma entrada é citada em nenhum lugar, não precisamos de chaves de citação. É apenas uma lista para quem se importa.

Responder1

Você pode definir um novo ambiente bibliográfico para oleitura adicionalseção. Acabei de copiar a definição authoryear.bbxporque dá um resultado razoavelmente agradável. Você também vai querer usar a opção defernumberspara garantir que a numeração saia conforme o esperado (você também pode adicionar a opção omitnumbersao \printbibliographycomando doleitura adicionalseção, embora isso não altere a saída aqui; só haveria diferença seleitura adicionalé seguido por outro numerado \printbibliographycom entradas que não apareceram 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}

Bibliografia do Capítulo 1 com números. Leitura adicional sem números.

Eu tive que usar reportem vez de scrreprtpor causa dehttps://github.com/plk/biblatex/issues/857para fazer o MWE funcionar para mim. Também removi o \vspace*{1.5\baselineskip}%MWE porque queria evitar o espaço excessivo que ele introduz na classe padrão.

informação relacionada