BibTeX, biblatex and biberCambridge Template for thesis + references for every chapter

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Thoalfukar
Posts: 7
Joined: Mon Jan 23, 2017 8:51 am

Cambridge Template for thesis + references for every chapter

Post by Thoalfukar »

hi everybody,
Realllyy I need help ..
I trying to wright my thesis and using Cambridge Template. Every thing fine with it but only one problem. The bibliography I need it for each chapter while in the template is for the whole thesis. I tried to change it but no way.

this is the link for the whole template
https://github.com/kks32/phd-thesis-tem ... s/tag/v2.3



could any of you help me with this

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Cambridge Template for thesis + references for every chapter

Post by Johannes_B »

Since you haven't told us what you have so far, i am just assuming you are using the modern package biblatex.

Code: Select all

\documentclass[custombib]{Classes/PhDThesisPSnPDF}
\usepackage[refsection=chapter]{biblatex}
\addbibresource{biblatex-examples.bib}
\defbibheading{subchap}[\bibname]{%
	\section*{#1}%
	\addcontentsline{toc}{section}{#1}%
	\markboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}
}
\begin{document}
\chapter{Wombat}
\cite{aristotle:physics}
\printbibliography
\chapter{Capybara}\cite{westfahl:space}
\printbibliography[heading=subchap,title={References}]
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Thoalfukar
Posts: 7
Joined: Mon Jan 23, 2017 8:51 am

Cambridge Template for thesis + references for every chapter

Post by Thoalfukar »

Thanks for replay but I still don't know how to use this code with that template. its its more complicate with the package that been used.
could you tell me exactly how could I merge this code with Cambridge template.



many thanks
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Cambridge Template for thesis + references for every chapter

Post by Johannes_B »

You just have to copy the relevant lines.

Even using a template, you need to learn basic LaTeX. It is needed to use the template.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply