I have trouble generating bibliography in ASME template (https://www.latextemplates.com/template/asme). My packages are standard for Polish:
\usepackage[T1]{fontenc}
\usepackage[polish]{babel}
\usepackage[utf8]{inputenc}
The problem is, I can't generate bibliography. I suppose it's either because of custom class \documentclass[twocolumn,10pt]{asme2ej}
or because of custom bibliography style \bibliographystyle{asmems4}
, although I've tried regular BiBTeX styles and they don't work. I properly get "Literatura" instead of "References" where bibliography caption should be, it just doesn't generate below and I have numerous [?] in text where [1], [2] etc. should be.
EDIT:
Full reproductible example:
\documentclass[twocolumn,10pt]{asme2ej}
\usepackage[T1]{fontenc}
\usepackage[polish]{babel}
\usepackage[utf8]{inputenc}
\usepackage{epsfig}
\begin{document}
% a lot of text
\cite{Text1}
% a lot of test
\cite{Text2}
% a lot of text
\bibliographystyle{asmems4}
\bibliography{asme2e}
% nothing generates except for "Literatura" caption
\end{document}
Text1 and Text2 are any BiBTeX-legal citations, I use some dummy examples at the moment for testing - changing them doesn't change anything in bibliography.
\cite
commands so naturally has an empty bibliography so can not be used to reproduce the problem at all. Unrelated, it usesepsfig
no document should be using that now it is a legacy emulation to mimic a syntax that was popular in the 1980s.epsfig
- I have no idea about it, it was just in ASME template.babel
.