TeX - LaTeX Asked by John Campbell on June 26, 2021
I am trying to include my references using PDFLATEX into my document like this :
begin{document}
...
bibliographystyle{plain}
bibliography{References}
end{document}
But the cite
command returns empty and the references are not displayed.
What package should i include knowing that i only included natbib
. Also i put my References.bib in the same folder than my .tex and it starts like this :
@article{ref1,
title={...
AND neither can i use filecontents
:
begin{filecontents}{jobname.bib}
@book{author_book,
title = {Book's title},
author = {Author, Some},
location = {The City},
publisher = {Publisher},
year = {2005},
}
end{filecontents}
begin{document}
nocite{*}
bibliographystyle{abbrv}
bibliography{jobname}
end{document}
PS : i use TexWorks under Windows 10.
Thanks.
documentclass[
a4paper,
]{article}
usepackage[backend=biber]{biblatex}
begin{filecontents}[force]{jobname.bib}
@book{author_book,
title = {Book's title},
author = {Author, Some},
location = {The City},
publisher = {Publisher},
year = {2005},
}
end{filecontents}
addbibresource{jobname.bib}
begin{document}
printbibliography
nocite{*}
end{document}
Correct answer by Mafsi on June 26, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP