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

Code, edit and compile here:
\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}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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.

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

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