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

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

master-doctoral thesis template custom bibliography with natbib

Post by riffat_1982 »

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)

Code: Select all

\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 2024:

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

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

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

master-doctoral thesis template custom bibliography with natbib

Post by kaiserkarl13 »

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

Post by riffat_1982 »

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.
Post Reply