Closed Aaronw88 closed 5 years ago
You have to use biber
not bibtex
.
Maybe this should be made clear in the readme
Thank you for your quick response.
I admit that I was using bibtex at first; however, after changing over to biber, I saw no change in the result.
I'm using Texmaker with MiKTeX2.9. Under options, configure Texmaker, I changed the line next to Bib(la)tex to biber. The file will compile successfully and produced a PDF; however, the in-text citations still appear as they did before (e.g. [Zhoa2013] instead of [1]).
Perhaps I'm simply missing one or two other simple options that need to be selected.
Again, any help you can provide would be much appreciated.
Take care.
Aaron
On Sun, Jan 20, 2019 at 1:00 PM Richard West notifications@github.com wrote:
You have to use biber not bibtex. Maybe this should be made clear in the readme
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pr-omethe-us/ussci-latex-template/issues/1#issuecomment-455864650, or mute the thread https://github.com/notifications/unsubscribe-auth/AssVeY-tBEv5-dRMyb-86d-eZYAq3Vw_ks5vFGhcgaJpZM4aJmfC .
Can you please attach your LaTeX and .bib files here?
The LaTeX and .bib files I'm using are in the attached folder. Whether I use the "template.bib" or "cnf_bbP_bib.bib" file, I still see the same issue.
Please let me know if there is anything further you require.
Again, thank you for your help, I greatly appreciate it.
Take care.
Aaron
On Sun, Jan 20, 2019 at 2:26 PM Bryan W. Weber notifications@github.com wrote:
Can you please attach your LaTeX and .bib files here?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pr-omethe-us/ussci-latex-template/issues/1#issuecomment-455870763, or mute the thread https://github.com/notifications/unsubscribe-auth/AssVeewhvh4vy0cidgRwnNYiUNzUEWCJks5vFHySgaJpZM4aJmfC .
I think you have to log in to GitHub to attach files, I don't see anything on this post.
Sorry, here are the files.
So, I'm not specifically sure why, but I seem to have resolved the issue. I believe it was a result of having MikTex and/or biber in more than one location on my machine. After ensuring there was only one set (and path to) these files, the citations appeared correctly in the PDF. Thank you again for helping with this.
Glad it is resolved. Sometimes, clearing the temporary files (.aux
, .bbl
, etc.) can also help resolve issues like this.
Hello,
So I could be missing something and/or making a mistake somewhere; however, when I run this template the in-text citations appear as [author year] in stead of as a single number. For example, referencing the Zhao 2013 paper via ('\cite{Zhao2013}') yields: [Zhao2013] within the text. For a typical combustion and flame paper, the in-text citation should appear as [1], [1-10], [1-10,25], etc. I believe that this is typically handled in an elsarticle.cls file that employs natbib, which allows for the "short&compress" option (e.g. '\usepackage[sort&compress]{natbib}'). Is there a way to implement something similar here? Or is it already built in and I'm just missing it. Any help you can provide with this would be appreciated.