I'm discovering biblatex and i have a few problem or misunderstanding.
I'm actually working with TeX Studio and when i'm trying to run the bibliography, I have the following message:
This is BibTeX, Version 0.99d (TeX Live 2015/W32TeX)
The top-level auxiliary file: rapport.aux
I found no \citation commands---while reading file rapport.aux
I found no \bibdata command---while reading file rapport.aux
I found no \bibstyle command---while reading file rapport.aux
(There were 3 error messages)
The thing is I trying a lot of different solutions shown in different topics and no one had the correct solution to my problem...
Here is my code:
\documentclass[a4paper, 12pt]{report}
\usepackage{geometry}
\usepackage[francais]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{enumerate}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathrsfs}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage[section]{placeins}
\usepackage{verbatim}
\usepackage{array}
\usepackage{multirow}
\usepackage{multicol}
\usepackage[final]{pdfpages}
\usepackage{siunitx}
\usepackage[style=authoryear]{biblatex}
\usepackage{csquotes}
\usepackage[final]{pdfpages}
\usepackage{float}
\usepackage{circuitikz}
\usepackage{pstricks,pst-plot,pstricks-add}
\usepackage{geometry}
\usepackage{titlesec}
\usepackage{xcolor}
\usepackage{sectsty}
\usepackage{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{rapport.bib}
@online{cim-wiki,
author = {Wikipedia},
title = {Common Information Model (electricity)},
date = {11.04.2016},
url = {https://en.wikipedia.org/wiki/Common_Information_Model_(electricity)},
}
\end{filecontents*}
\bibliography{rapport}
\chapter{Bibliographie}
\printbibliography
\end{document}
new version of the code:
\documentclass[a4paper, 12pt]{report}
\usepackage{geometry}
\usepackage[francais]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{enumerate}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathrsfs}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage[section]{placeins}
\usepackage{verbatim}
\usepackage{array}
\usepackage{multirow}
\usepackage{multicol}
\usepackage[final]{pdfpages}
\usepackage{siunitx}
\usepackage{csquotes}
\usepackage[final]{pdfpages}
\usepackage{float}
\usepackage{circuitikz}
\usepackage{pstricks,pst-plot,pstricks-add}
\usepackage{geometry}
\usepackage{titlesec}
\usepackage{xcolor}
\usepackage{sectsty}
\usepackage[style=authoryear,backend=biber]{biblatex}
\usepackage{filecontents}
\bibliography{rapport}
\begin{document}
\chapter{Bibliographie}
\nocite{cim-wiki}
\printbibliography
\end{document}
with the following bib file:
@online{cim-wiki,
ALTauthor = {Wikipedia},
ALTeditor = {editor},
title = {Common Information Model (electricity)},
date = {4 February 2016, at 04:26.},
url = {https://en.wikipedia.org/wiki/Common_Information_Model_(electricity)},
OPTurldate = {11/04/2016},
}
\begin{document}for example). Only things directly cited goes into the bibliography (unless you for example ask it to take everything from the.bibfile. – daleif Apr 13 '16 at 08:52\bibliography{...}is the proper syntax forbiblatex, that is a bibtex thing – daleif Apr 13 '16 at 08:53\nocite{*}works with normal bibtex. – daleif Apr 13 '16 at 08:55\bibliography{file}, but\addbibresource{file.bib}is preferred. Note that both of those commands must be called in the preamble and not in the document. As others have already commented, in your document you don't cite anything and consequently won't see any output- – moewe Apr 13 '16 at 08:59.logand.blgfiles? – moewe Apr 13 '16 at 09:34datefield must be given inYYYY-MM-DDformat. You also have no author for the entry. Except for the very bloated preamble, this looks fine and the warnings you report aren't that bad either. What is the output? – moewe Apr 13 '16 at 09:49\nociteand\printbibliographyand you get no further error or warnings, you should also get an output. But since the problem seems solved anyway, it's probably not something we need to lose sleep over. – moewe Apr 13 '16 at 11:06