plk / biblatex

biblatex is a sophisticated bibliography system for LaTeX users. It has considerably more features than traditional bibtex and supports UTF-8
520 stars 118 forks source link

Bib file not added to file list when used as argument to refsection #1315

Open sieversMartin opened 1 year ago

sieversMartin commented 1 year ago

When using bib files as an argument to \begin{refsection}, these bib files are not added to the file list used e.g. by package snapshot.

Looking at the definitions in biblatex.sty, I added a call to \blx@refsection@addfile#1 which solved the problem (but may not be the best option):

\def\blx@refsection@addfile#1{%
   \ifcsdef{blx@res@labl@#1}
   {\blx@refsection@addfile@i{\csuse{blx@res@labl@#1}}}
   {\blx@refsection@addfile@i{#1}}%
   \@addtofilelist{#1}}