I am writing my thesis in overleaf and want to add a bibliography sinced with Mendeley.
However, i'm having issues using biblatex package... Can i overwrite these issues or should I change my entire document type?
This is my code and the errors im facing:
\documentclass{dissertation}
\usepackage[style=authoryear]{biblatex}
\addbibresource{references.bib}
\begin{document}
\include{Introduction/Introduction}
\include{Methods/Methods}
\include{Results/Results}
\printbibliography
\end{document}
Errors
/usr/local/texlive/2017/texmf-dist/tex/latex/biblatex/biblatex.sty, line 462 LaTeX Error: Command \bibhang already defined.
/usr/local/texlive/2017/texmf-dist/tex/latex/biblatex/biblatex.sty, line 9791 LaTeX Error: Command \citename already defined.
/usr/local/texlive/2017/texmf-dist/tex/latex/biblatex/biblatex.def, line 270 LaTeX Error: Command \bibfont already defined.
usr/local/texlive/2017/texmf-dist/tex/latex/biblatex/biblatex.def, line 2067 LaTeX Error: Command \Citeauthor already defined.
Package biblatex Error: Incompatible package 'chapterbib'.
Package biblatex Error: Incompatible package 'natbib'.
dissertationclass apparently loads thenatbibpackage, which is incompatible withbiblatex. Can you please provide a link to thedissertationclass or to the template, please? – Phelype Oleinik May 29 '19 at 13:18dissertation.clsis this one simply comment out lines 18, 19 and 47 of the class and things should work as long as you don't use the built-in\referencesmacro. – Alan Munn May 29 '19 at 13:31dissertation.clsbeing a version of the TU Delft dissertation template available at https://www.tudelft.nl/en/tu-delft-corporate-design/downloads/. We had a question about the report template a while ago https://tex.stackexchange.com/q/428377/35864. The general approach is the same, but this time you need to stopnatbibandchapterbibfrom loading and not onlynatbib. – moewe May 30 '19 at 10:42.aux,.bbl,.bcf, ...) and then try again to compile with LaTeX, Biber, LaTeX, LaTeX. If it still does not work, please upload the.logand.blgfiles (on Windows you may have to unhide file extensions to find those files, Windows will also classify a.blgas a performance monitor file, even though it is just a normal text file you can open with your favourite editor). – moewe Jun 03 '19 at 15:57\usepackage[backend=biber,style=numeric,natbib=true]{biblatex} \addbibresource{references.bib}
Furthermore, there are no temporary files in my overleaf workspace. Finally, how do I upload the .log and .blg files? (I use IOS)
Thanks!
– Tess Jun 04 '19 at 07:26.bbl, we need the.logand the.blg.) You can just paste the complete contents of the.blghere. You can upload the log to https://pastebin.com/ – moewe Jun 04 '19 at 07:31And the .blg file:
[0] Config.pm:354> INFO - This is Biber 2.7
[0] Config.pm:357> INFO - Logfile is 'output.blg'
[47] biber:303> INFO - === Tue Jun 4, 2019, 14:56:09
[83] Biber.pm:359> INFO - Reading 'output.bcf'
[219] Biber.pm:835> INFO - Found 0 citekeys in bib section 0
[233] Utils.pm:164> WARN - The file 'output.bcf' does not contain any citations!
[247] bbl.pm:608> INFO - Writing 'output.bbl' with encoding 'UTF-8'
[247] bbl.pm:712> INFO - Output to output.bbl
[248] Biber.pm:109> INFO - WARNINGS: 1
– Tess Jun 04 '19 at 15:01.logshows one issue: If you want an ampersand (&) you can't simply write&, because the&symbol is special for TeX, you need to write\&.$&$is also wrong and should be replaced by a simple\&. Other than that it is fairly uneventful. But you should definitely fix that. ... – moewe Jun 04 '19 at 21:01.blgwarnsThe file 'output.bcf' does not contain any citations!which suggests that there were no\citeor\nociteinstructions in your document. By defaultbiblatexwill only print works you actually\cited. If you want to add all entries to the bibliography, regardless of whether they were cited or not, use\nocite{*}. See https://texfaq.org/FAQ-nocitestar – moewe Jun 04 '19 at 21:02