fmarotta / kaobook

A LaTeX class for books, reports or theses based on https://github.com/kenohori/thesis and https://github.com/Tufte-LaTeX/tufte-latex.
https://github.com/fmarotta/kaobook
LaTeX Project Public License v1.3c
858 stars 184 forks source link

Bibliography not showing up #249

Closed me7pako closed 2 years ago

me7pako commented 2 years ago

As the title suggests, the bibliography simply does not show up. I have tried running the main file with biber and following it with pdflatex multiple times but to no avail. The main file is nothing out of the ordinary so I did not include it here.

Any ideas what the issue can be?

me7pako commented 2 years ago

Ok I found a workaround for anyone having the same issue as mine: instead of those two lines in the preamble:

\usepackage[style=authoryear,backend=bibtex]{biblatex} %backend tells biblatex what you will be using to process the bibliography file \addbibresource{main.bib}

I deleted them and put:

\usepackage{filecontents} \begin{filecontents}{ [I put here mybiblography]} \end{filecontents}

and inside the dcoument I removed:

\printbibliography[title=Bibliography]

And replaced it with

\nocite{*} \bibliographystyle{ieeetr} %to print the bibliography with original typing order \bibliography{jobname}

After that I would run the main.tex with bibtex and not with biber, and then pdflatex+makeindex+bibtex