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.


I'm using TexMaker - now with biber option for compilation according to this question.

My code






aaaaaaaaaaa \cite{blackford1997scalapack}

aaaaaaaaaaa \cite{balay2014petsc}


My .bib file

  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}

  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}

  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/}
  • Welcome to TeX.SX! What is inside your .bib file? Normally, this should work
    – user31729
    Commented May 14, 2015 at 20:16
  • You use the backend=biber option, but compile with bibtex
    – Bernard
    Commented May 14, 2015 at 20:20
  • @Bernard: Making an answer?
    – user31729
    Commented May 14, 2015 at 20:28
  • 1
    I suppose the code that is posted compiles for you as it compiles for me. So your problem comes from something else and it may be hard to detect what is the problem. I suspect it comes from mistyping some part of the preamble that results in the preamble containing something that should be there. A simple dot inadvertently typed before \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.
    – Bernard
    Commented May 14, 2015 at 20:53
  • 3
    You should show more of the error message - latex tells you the line and the offending input. Commented May 14, 2015 at 21:17


Browse other questions tagged .