0

I have a problem with references in TexMaker with biber&biblatex. My code is:

LaTeX Warning: There were undefined references. Package biblatex Warning: Please (re)run Biber on the file: (biblatex) SpongeTex (biblatex) and rerun LaTeX afterwards.

My script (SpongeTex)

\documentclass[11pt]{article}

\usepackage[autostyle]{csquotes}
\usepackage[backend=biber]{biblatex}
\addbibresource{library.bib} 
\title{Sponges}

section{Introduction}
In the last decade the aquaculture sector in the Mediterranean Sea has grown rapidly \cite{Sara2004a,Demirak2006}

\section{References}
\printbibliography

\end{document}

I think the settings in the "Configure textmaker" are correct. I selected for the quick build pdfLatex -> BibLatext (=biber) -> pdlatex (2x) -> View pdf.

Commander Quick Build

I tried running it by Tools --> Open Terminal.

C:\Users\name\OneDrive\Sponges>biber SpongeTex 'biber' is not recognized as an internal or external command, operable program or batch file.

My biber is in program files, but the spongetex is in this the above location. When I open the terminal that location is automatically in front of it. I am having the feeling I should do something different in the terminal. But, TexMaker with the settings I have already runs biber right?

I am a beginner, so I don't understand really what to do. On internet people give advise l ike "run", but I need more specific information on how to run and why.

Or is there another problem here?

  • 1
    You are using an absolute path for pdflatex, this looks as if you haven't setup the path environment variable for miktex correctly. Go to the windows search field, search for "environment variable" and then add for the system or for your account the C:\...\x64 as a new path variable. You can also try the miktex console, imho it has a button to fix the path. – Ulrike Fischer May 16 at 13:05
  • Amazing! Now it works! – Marretje Adriaanse May 16 at 15:18
  • When I add a new reference, it's back to the old error. Do I have to do this every time I add a reference? – Marretje Adriaanse May 16 at 16:03
  • No, if the path has been added correctly to windows it should work in future too. – Ulrike Fischer May 16 at 16:05
  • 1
    Sorry I have no idea what you are doing. Find someone who can look at your PC and check if the path variable is set correctly. – Ulrike Fischer May 16 at 16:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.