LaTeX forum ⇒ BibTeX, biblatex and bibermaster-doctoral thesis template custom bibliography with natbib

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
riffat_1982
Posts: 4
Joined: Sat May 20, 2023 10:32 am

master-doctoral thesis template custom bibliography with natbib

Postby riffat_1982 » Sat May 20, 2023 11:15 am

I have compiled my thesis using Masters/Doctoral Thesis (Class File Version 1.6 (27/8/17) downloaded from:
http://www.LaTeXTemplates.com) and everything is fine including bibliography with biblatex.

But I have created a custom bibliography style file (newstyle.bst) using makebst in cmd. when I compile using natbib, with backend = bibtex ,it prints the bibliography given that material is in the main.tex file but it fails to print the bibliography when material is in separate chapters as in master/doctoral thesis.

it prints using following code given (sample.bib)
\documentclass[12pt]{article}
\usepackage[english]{babel}
\usepackage{natbib}
\bibliographystyle{newstyle}

\begin{document}

 Mouthwashes are important in oral hygeine \citep{epstein2012}. Mouthwashes can be medicated \citep{gagari1995adverse}. There is an article use of mouthwashes in dentistry \citep{vergara2020}.
 
A book chapter is cited as \citep{Páez2022}. 

\bibliography{samplebib}

\end{document}


Any help why it does not print the bibliography in the master/docoral thesis? what should I change?
Last edited by Stefan Kottwitz on Sat May 20, 2023 12:09 pm, edited 1 time in total.
Reason: code marked

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net
LaTeX Beginner's Guide LaTeX Cookbook
kaiserkarl13
Posts: 684
Joined: Tue Mar 25, 2008 5:02 pm

master-doctoral thesis template custom bibliography with natbib

Postby kaiserkarl13 » Sun May 21, 2023 12:58 am

You have to run BibTeX on each .aux file individually. If you're using BibLaTeX, then you might need to use biber instead of bibtex, but either way: you have to process the .aux file for each chapter.

riffat_1982
Posts: 4
Joined: Sat May 20, 2023 10:32 am

master-doctoral thesis template custom bibliography with natbib

Postby riffat_1982 » Sun May 21, 2023 7:56 pm

kaiserkarl13 wrote:You have to run BibTeX on each .aux file individually. If you're using BibLaTeX, then you might need to use biber instead of bibtex, but either way: you have to process the .aux file for each chapter.


I don't know how to do that. My Chapter folder contains all the .tex ,.aux and BBL files and text files of each chapter.


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 6 guests