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{}.


Update (17.10.2024):
Now I use
> \begin{refsection}[biblio.bib]
and
> \end{refsection}
The advantage is that this way, each bibliography has its own bibtex-source file.

... link