I wanted to use BibLateX with IEEE style, because of urldate
. The problem is, I'm getting error:
! LaTeX Error: Missing \begin{document}.
I'm using pdftex
and bibtex
for compilation.
I'm completely new to biblatex
, so I wrote this code according to the answers in this question.
Edit:
I'm using TexMaker - now with biber
option for compilation according to this question.
My code
\documentclass{article}
\usepackage[
backend=biber,
style=ieee
]{biblatex}
\addbibresource{paralel_distribution.bib}
\usepackage{hyperref}
\begin{document}
aaaa
aaaaaaaaaaa \cite{blackford1997scalapack}
aaaaaaaaaaa \cite{balay2014petsc}
\printbibliography
\end{document}
My .bib file
@Article{balay2014petsc,
Title = {PETSc Users Manual Revision 3.5},
Author = {Balay, S and Abhyankar, S and Adams, M and Brown, J and Brune, P and Buschelman, K and Eijkhout, V and Gropp, W and Kaushik, D and Knepley, M and others},
Year = {2014},
Urldate = {13.05.2015},
Url = {http://www.mcs.anl.gov/petsc/petsc-current/docs/manual.pdf}
}
@Techreport{petsc-user-ref,
Title = {{PETS}c Users Manual},
Author = {Satish Balay and Shrirang Abhyankar and Mark~F. Adams and Jed Brown and Peter Brune and Kris Buschelman and Victor Eijkhout and William~D. Gropp
and Dinesh Kaushik and Matthew~G. Knepley
and Lois Curfman McInnes and Karl Rupp and Barry~F. Smith
and Hong Zhang},
Institution = {Argonne National Laboratory},
Year = {2014},
Number = {ANL-95/11 - Revision 3.5},
Url = {http://www.mcs.anl.gov/petsc},
Urldate = {12.05.2015}
}
@Book{blackford1997scalapack,
Title = {ScaLAPACK users' guide},
Author = {Blackford, L Susan and Choi, Jaeyoung and Cleary, Andy and D'Azevedo, Eduardo and Demmel, James and Dhillon, Inderjit and Dongarra, Jack and Hammarling, Sven and Henry, Greg and Petitet, Antoine and others},
Publisher = {siam},
Year = {1997},
Urldate = {13.05.2015},
Volume = {4},
Url = {http://www.netlib.org/scalapack/slug/}
}
.bib
file? Normally, this should workbackend=biber
option, but compile withbibtex
…\begin{document}
leads to such an error. So the best you have to do is commenting package loading in the preamble,and uncommenting gradually until the problem happens again. Then you should be able to llocalise the problem.