detiuaveiro / ua-thesis-template

📖 A thesis LaTeX template that complies with the University of Aveiro's guidelines and provides a simple CLI workflow around make and compatibility with Overleaf.
MIT License
103 stars 36 forks source link

Get bibliography for each chapter #32

Closed carlosbornes closed 1 year ago

carlosbornes commented 1 year ago

Hi all,

Is there a way to obtain the bibliography for each chapter, and print it at the end of the chapter instead of printing it at the end of the document?

I tried adding \printbibliography at the end of each chapter and this creates a new chapter with the bibliography instead of writing it as a section in the chapter

rj-jesus commented 1 year ago

Hi,

I think you want refsection=chapter in biblatex and something like \printbibliography[heading=subbibliography] at the end of each chapter (you might also need/want to redefine the headings).

See [0] §§ 3.1.2.1 and 3.14.3.

Cheers, Ricardo

[0] https://mirror.ox.ac.uk/sites/ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf

On 11/16/22 14:30, Carlos Bornes wrote:

Hi all,

Is there a way to obtain the bibliography for each chapter, and print it at the end of the chapter instead of printing it at the end of the document?

I tried adding \printbibliography at the end of each chapter and this creates a new chapter with the bibliography instead of writing it as a section in the chapter