BibTeX, biblatex and biber ⇒ Empty bibliography and ? on citations
Empty bibliography and ? on citations
Hey,
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?
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?
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Empty bibliography and ? on citations
Welcome to the forum.
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.
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.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Empty bibliography and ? on citations
I have tried many combnations, but ok I used
\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
\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
Did you run biber?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Empty bibliography and ? on citations
When I run bibtex i get "didnt find database entry" checked my bib file a thousand times don't fine anything wrong with it
@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}
}
@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
Bibtex and biber...
Do you see the difference?
Do you see the difference?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Empty bibliography and ? on citations
I used Texshop to create bib file with references. That's all I did
Sorry, my latex skills are not advanced. Just did what I was able to google
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
And the page i linked to? You seemed to have read it.
It should be a step by step by step by step walkthrough to getting a bibliography.
It should be a step by step by step by step walkthrough to getting a bibliography.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Empty bibliography and ? on citations
I have followed all the steps and the references and citations still do not show up.
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
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
It may be, that you have followed everything else, but you get this message because you have not adjusted the settings of your editor. The default setting of the
backend
option of the biblatex package does not match the program you are running.