Theses, Books, Title pagesHow to make each chapter has its own reference Section

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

How to make each chapter has its own reference Section

Post by templateuser »

Thank you for taking time to provide such a wonderful templates.It has saved me a lot of time and troubles
,however, I have one problem.Please how do I change the code so that each chapter has its own reference section instead of the whole thesis having just one reference section. What I mean is that at the end of the chapter I want to see all the reference materials in that section alone to appear under that chapter not anywhere else. At the moment when I compile the code all the reference materials appear at end of the thesis , I want separate reference for each chapter .Thank you

Dee

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: How to make each chapter has its own reference Section

Post by Vel »

Hi,

The best way to do this is to use the chapterbib package: http://www.ctan.org/pkg/chapterbib

See here for some instructions on how to implement it: https://engineering.purdue.edu/~mark/pu ... ographies/

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: How to make each chapter has its own reference Section

Post by templateuser »

i Vel, I have followed the link and used the code provided.I put the code in the main.tex just before begin{document} and run it from there.I put the chapters in separate folders and run the code as suggested I keep getting errors. When it runs I have the same references repeated on each chapter , although I used different references for each chapter. I hope you can help again Vel.Thanks

Dee
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: How to make each chapter has its own reference Section

Post by templateuser »

any follow-up on this point? Have you managed to have it worked Dee?
thank you.

andhiex
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: How to make each chapter has its own reference Section

Post by templateuser »

@andhiex I am struggling to make it work.I have tried different methods but none seems to work.There may be simpler implementation somewhere than this one.I will update you if I figure that out

Dee
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

How to make each chapter has its own reference Section

Post by templateuser »

Hello,

I have the same problem - I need different bibliography sections for each chapter that only include the citations of the chapter.

I put \usepackage{chapterbib} in the preamble,
then I changed the command from \input to \include, for where the chapters go, because that's what it says in the package docu.
so \include{Chapters/Chapter1}
then I put in the end of each chapter file where I want the references, the normal \bibliographystyle and \bibliography commands (like it says in the docu).

Problems:
The bibliography file is not found, anyway, there are only questionmarks instead of citations. Even after running bibtex and latex several times.
The references section is not numbered within the chapter (it says 1. References instead of 1.5 References, 2. instead of 2.5 etc).

Hope someone can figure it out!
Thanx!

susi
reyaz
Posts: 12
Joined: Sun Apr 22, 2018 6:05 am

How to make each chapter has its own reference Section

Post by reyaz »

@templateuser
Hi Everyone
I am new in Latex and I am using the MasterPhDthesis template, as per your information the steps you have taken and in your case each chapter is showing the same biblography. Please tell me the steps so that I can reach upto that step. then I will find the solution hoe to change the referances of each chapter.
I possible send me your file so that I can make similler changes. My email id is reyaz421@outlook.com
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

How to make each chapter has its own reference Section

Post by Johannes_B »

This topic is very old and for an obsolete version of the template. For the current version, package biblatex is used.
Have a look at https://en.wikibooks.org/wiki/LaTeX/Bib ... or_Chapter
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
reyaz
Posts: 12
Joined: Sun Apr 22, 2018 6:05 am

How to make each chapter has its own reference Section

Post by reyaz »

Johannes_B wrote:This topic is very old and for an obsolete version of the template. For the current version, package biblatex is used.
Have a look at https://en.wikibooks.org/wiki/LaTeX/Bib ... or_Chapter
Can you send me the link of latest template
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

How to make each chapter has its own reference Section

Post by Johannes_B »

It is at latextemplates.com
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