I am using a template from this journal. In this template the bibliography part is written inside the tex file. I would like to use my own bib
file. I tried the following lines at the end of the tex file bedore the \end{document}
but it doesn't recognize the bib file:
\bibliographystyle{dgruyter_author}
\bibliography{Mybib}
I have added some citation in the middle of the text \cite
I checked the warning I get is:
Package natbib warning: Citation "Brown1997High" on page 1 undefined.
- The bib file is in the main folder of the template files beside the main tex file.
- I have used the bib file with other styles for instance IEEE, … before.
- I am using
winedt8.1
onwindows
What should I do?
Update: if I change the code to:
\bibliographystyle{plain}
\bibliography{Mybib}
it works. But now the question is: How can I use the style from the template?
A copy of the style file can be found here.
As you asked I add the following minimal working example:
\documentclass[USenglish,twocolumn]{article}
\usepackage[utf8]{inputenc}%(only for the pdftex engine)
%\RequirePackage[no-math]{fontspec}%(only for the luatex or the xetex engine)
\usepackage[big]{dgruyter_author}
\begin{document}
\articletype{Research Article{\hfill}Open Access}
\author*[1]{Corresponding Author}
\affil[1]{Affil, E-mail: email@email.edu}
\title{\huge Article title}
\runningtitle{Article title}
\maketitle
\section{Introduction}
\paragraph{Reference to a standard}
Elements to cite:
Standard symbol and number,
Title \cite{standard-1}.
% >>>>> I replaced the following lines >>>>>
%\begin{thebibliography}{99}
%\bibitem{standard-2} ISO/TR 9544:1988, Information processing --- Computer-assisted publishing --- Vocabulary
%\end{thebibliography}
% >>>>> with these lines >>>>>>>
\bibliographystyle{plain}
\bibliography{Mybib}
\end{document}
\end{document}
Best Answer
If I rename your style file
dgruyter.sty
todgruyter_author.sty
and add the missing logodg-degruyter.png
(it is called in the style file!) into the same directory and add a bib file with packagefilecontents
into your MWE it compiles for me with two warnings comming from the style file..The new MWE is:
Please try this new MWE and tell us if it shows the result you want.