This may seem an easy problem to you but for me I am struggling with it!.I need a little help with adding references in my report. I am able to compile and get a pdf doc but my problem is how to cite. I used \cite{ref1} but it does connect with the .bib file. I am getting [ref1] instead of [1].
\documentclass[a4paper]{report}
\usepackage{graphicx}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
%\usepackage[style=authortitle-icomp]{biblatex}
\usepackage{lmodern}
\usepackage[backend=biber,bibencoding=latinl]{biblatex}
%\addbibresource{folder/references.bib}
\begin{document}
my report here
\printbibliography
\end{document}
% Here is the references.bib file in which I have the citation
%both the main file and bib file are saved in the same folder
@book{ref1,
isbn = {3-662-45239-1},
title = {Scanning Probe Microscopy},
language = {eng},
author = {Voigtländer, Bert},
publisher = {Springer Berlin Heidelberg},
}
Best Answer
Your are close, but there are two errors
you need a line
\addbibresource{references.bib}
sobiblatex
finds the bib filelatinl
is not a valid encoding, it should belatin1
(or switch to the defaultutf8
)Here is a minimal document
with
references.bib