BibTeX, biblatex and biber ⇒ Empty bibliography and ? on citations
Empty bibliography and ? on citations
I am writing my master thesis in TexMaker and in my main file in preamble I tried to add bibliography.
\bibliographystyle{authordate1}
\addto{\captionsenglish}{\renewcommand{\bibname}{References}}
\makeatletter
\renewcommand\@biblabel[1]{}
\makeatother
\newcommand*{\citenumfont}{}
\usepackage{apacite}
then under the chapters I added
\bibliographystyle{apacite}
\bibliography{references}
In the chapters I use \cite{filename} where the filename is taken from the reference bib file (not misspelled).
Even though I get undefined citations, i do produce a pdf.
But in the citations in the pdf i get only (?, ?) and in the text, no references are listed, the page under "references" is empty.
I have googled and tried everything but nothing seems to work, could anyone please try to help?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Empty bibliography and ? on citations
Why are you using yhe code you are using? Where does it come from? Some template?
You are telling LaTeX/BibTeX twice to use different bibliography styles, that is an error.
Why are you redefining the biblabel? Do you know what it is or does?
Apart from different styles, i bet you did not call bibtex.
But since you are writing a thesis, i suggest to use biblatex with biber instead. Please have a look at https://en.m.wikibooks.org/wiki/LaTeX/B ... _and_biber
And never try to use a new package in your project. Always use a small test document to make yourself familiar with the workflow.
Empty bibliography and ? on citations
\usepackage{biblatex}
\addbibresource{references.bib}
in the preamble and
\printbibliography
under the chapters in the document and NOTHING shows up, even the empty "References" is gone
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Empty bibliography and ? on citations
Empty bibliography and ? on citations
@article{andersen2000crustal,
title={Crustal contaminants in the Permian Oslo Rift, South Norway: constraints from Precambrian geochemistry},
author={Andersen, Tom and Knudsen, Trine-Lise},
journal={Lithos},
volume={53},
number={3-4},
pages={247--264},
year={2000},
publisher={Elsevier}
}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Empty bibliography and ? on citations
Do you see the difference?
Empty bibliography and ? on citations
Sorry, my latex skills are not advanced. Just did what I was able to google
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Empty bibliography and ? on citations
It should be a step by step by step by step walkthrough to getting a bibliography.
Empty bibliography and ? on citations
When I run bibtex I get
This is BibTeX, Version 0.99d (TeX Live 2018) The top-level auxiliary file: Maintex.aux I found no \citation commands---while reading file Maintex.aux I found no \bibdata command---while reading file Maintex.aux I found no \bibstyle command---while reading file Maintex.aux (There were 3 error messages)
Process exited with error(s)
and citation undefined
Empty bibliography and ? on citations
backend
option of the biblatex package does not match the program you are running.