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}