6

I am trying to automate my LaTeX pdf output within TeXnicCenter. I am using pdflatex with biber and it's been proposed to get the following settings:

enter image description here

However, whenever I add a new \autocite{xyz} in my document, TeXnicCenter outputs an error: Citation xyz not found.

When I rerun biber manually, with biber file.bcf and recompile with pdflatex it works.

How can I automate my process, to just compile and recompile from within TeXnicCenter?

Note: My problem is NOT being discussed or solved with this question.

mcbetz
  • 4,857

1 Answers1

3

Because you gave no MWE it is more a guess what happend.

With your given profile you have to choose in TeXnicCenter the proper profile LaTeX = PDF(BIBER) in the white field below menu point format. If you then compile twice a complete MWE, using package biblatex with option backend=biber (important, I guess this is missing!), everything should work.

Try this MWE:

%http://tex.stackexchange.com/questions/97218/how-to-automate-biber-within-texniccenter
\listfiles                % shows used packages in a list in log file
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{author2000,
  author  = {AuthorA},
  title   = {Title of Article},
  journal = {Name of Journal},
  year    = {2000},
}
\end{filecontents*}

\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[german]{babel}
\usepackage{csquotes}

\usepackage[%
  style=authoryear
 ,backend=biber         % to force biblatex to use biber
 ,sortlocale=de_DE
]{biblatex}
\addbibresource{\jobname.bib}

\begin{document}

\nocite{*}              % all bib entrys are printed

\printbibliography

\end{document}

Try this MWE on your computer (store it for example as file mb-biber.tex with utf8 coding) and compile it twice. If you still have errors (there should only be one correct warning caused by filecontents) please edit your question and add the error messages you get. Add also the list of used packages near the end of your log file.

I hope this answer helps you to see how important it is to show us what you are doing. That's the reason for comments asking for a MWE.

Mensch
  • 65,388