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},
}
Best Answer
Here is a more minimal AND working example, using
biber
notbibtex
Note that
biber
complains about the format of the date, so you'll need to look that up in thebiblatex
manual.You probably mean
urldate
notdate
, and then the syntax isYYYY-MM-DD
, soin this case.