I download the contents of the els-cas-templates LaTeX files here, extract it into a new folder.
- I firstly open up the pdf document and check the references are displaying correctly, before re-compiling (which they are).
- I next open up the
cas-dc-templateLaTeX file. - I select the compilation options to
PdfLaTeX + Bib(la)tex + PdfLaTeX (x2) + See PDF. - I then run the
PDFLaTeXcompilation and clicksee PDF.
Now the references have changed to [? ] [? ? ][? ? ] and I get the warning for the references as follows Citation Fortunato2010' on page 1 undefined`.
I have tried changing the \bibliographystyle{cas-model2-names} to a harvard referencing style and plainnat etc. but still get the same issue.
Any reason after downloading the template my compilation is not finding the references? They appear in the pdf document after downloading it so they have been able to compile correctly on a different computer.
.blgfile. What does it say? – moewe Mar 06 '21 at 14:59.blgfile gets created... I am using Windows 10 with Texmaker. In the folder where the files are I do not see a file with the type.blg. – user113156 Mar 06 '21 at 15:10.blgfiles as "Performance monitor files" or some such and may hide their extension. The.blgfile is a simple text file you can open with any text editor. If there is indeed no.blgfile, that means you did not run BibTeX. You need to run BibTeX as explained in https://tex.stackexchange.com/q/63852/35864, so that a full compile sequence is LaTeX, BibTeX, LaTeX, LaTeX (where "LaTeX" is your favourite flavour of LaTeX: pdfLaTeX, LuaLaTeX, XeLaTeX). – moewe Mar 06 '21 at 15:13