Donnerstag, 18. April 2024
latex4
One more experience. I am including various chapters with \include{}. Each chapter should have its own bibliography. Therefore, I am using biber with

> \refsection

before the first section and

> \printbibliography
> \endrefsection

at the end.

.bib-files are included via \addbibresource{} in the main file.

The tricky part is that people leave many more bib-entries in their files than they cite. I don't know how biber deals with double entries and if it takes the first or last occurence. In any case, did it happen, that I had to fix the bib-entry of another chapter than the one using it. This makes sense since \addbibresource{} simply pools the bib-files and they are not associated to a specific \include{}.