ElegantLaTeX/ElegantBook

Not able to change bibliography style

singhakr opened this issue · 1 comments

I am using the template provided on Overleaf (v4.3). I have tried various ways based on the documentation to change the bibliography style to plain, but it doesn't work. Either no bibliography is printed, or it is printed in default style. I am compiling the project on Overleaf and it is set to use XeLaTeX. I have tried "recompile from scratch", which should delete everything rerun the whole process.

I am also using bibend=bibtex, but not sure whether it is actually being used. I have even tried putting the style file plain.bst in the project folder.

I solved the problem by commenting all bibliography related lines in the .cls file and then using the normal way of specifying a bibliography file and the bibliography style:

\bibliographystyle{plain}
\bibliography{reference}

Now I can print bibliography in the plain or any other style. I can also change the bibliography file if required.