LaTeX forum ⇒ BibTeX, biblatex and biberUsing the "\cite{test_article}" with the following tex and bib file, throws up a compilation error.

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
mcsentas
Posts: 7
Joined: Thu Nov 23, 2017 5:53 pm

Using the "\cite{test_article}" with the following tex and bib file, throws up a compilation error.

Postby mcsentas » Fri Jan 26, 2018 8:30 pm

Using the "\cite{test_article}" with the following tex and bib file, throws up a compilation error.

  1. This is BibTeX, Version 0.99d (TeX Live 2016)
  2. The top-level auxiliary file: document.aux
  3. I found no \citation commands---while reading file document.aux
  4. I found no \bibdata command---while reading file document.aux
  5. I found no \bibstyle command---while reading file document.aux
  6. (There were 3 error messages)


Any suggestions.?


  1. \documentclass[man, 12pt]{apa6}
  2. \usepackage{setspace}
  3. \usepackage[british]{babel}
  4. \usepackage{csquotes}
  5. \usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
  6.  
  7. \AtEveryBibitem{
  8. \clearfield{month}
  9. }
  10. \DeclareLanguageMapping{english}{american-apa}
  11.  
  12.  
  13. \DeclareSourcemap{
  14. \maps[datatype=bibtex]{
  15. \map{
  16. \step[fieldsource=url,
  17. notmatch=\regexp{wiki},
  18. final=1]
  19. \step[fieldset=urldate, null]
  20. }
  21. }
  22. }
  23.  
  24. \addbibresource{document.bib}
  25.  
  26. %\usepackage[l2tabu]{nag}
  27.  
  28. % title, etc.
  29. \title{Usability Evaluation }
  30. \shorttitle{User Evaluation}
  31. \author{TU}
  32.  
  33. \affiliation{University}
  34. %\abstract{}
  35. %\keywords{}
  36. %\authornote{}
  37.  
  38. \begin{document}
  39. \begin{spacing}{1.5}
  40. \maketitle
  41. Test \cite{article}
  42.  
  43. \printbibliography
  44.  
  45. %\appendix
  46. \end{spacing}
  47. \end{document}


This is the sample BIB file (document.bib)

  1. @test_article{article,
  2. author = {Peter Adams},
  3. title = {The title of the work},
  4. journal = {The name of the journal},
  5. year = 1993,
  6. number = 2,
  7. pages = {201-213},
  8. month = 7,
  9. note = {An optional note},
  10. volume = 4
  11. }

User avatar
Johannes_B
Site Moderator
Posts: 3803
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Fri Jan 26, 2018 9:17 pm

You are telling package biblatex that program biber should be used to get the info from the bib database, but you are actually using program bibtex to get the info. That won't work.
Please have a look at the following link: https://en.wikibooks.org/wiki/LaTeX/Bib ... g_up_biber
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8979
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Jan 27, 2018 10:29 am

Yes, use biber instead of bibtex. Ths can be a setting in your editor, if you don't use the command line.

Stefan
Site admin


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 6 guests