This is a rather minimal, but compilable test example. Does this example (saved, say, as biblatextest.tex
) compile for you without errors? If not, what does the logfile (biblatextest.txt
), especially the section *File List
, say?
EDIT: The proper compile sequence for the example (if one doesn't use a makefile like latexmk) is
-pdflatex biblatextest
-biber biblatextest
-pdflatex biblatextest
Note the use of biber
as a replacement for bibtex
!
\listfiles
\documentclass{article}
\usepackage[backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{A01,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Some text \autocite{A01}.
\printbibliography
\end{document}
(The filecontents environment is only used to include some external files directly into the example, so that it compiles. It is not necessary for the solution.)
EDIT 2: In response to the updated question: In the code snippet \autocite{A01}
, A01
is the citekey of the first (and only) bibentry in my .bib
file (it starts with @misc{A01,
misc
being the BibTeX type). What do you expect when you cite an entry that isn't included in your .bib
file?
EDIT 3: That's a new question, isn't it? ;-) To remove [hep-ex]
from every bibliography entry, add the following to your preamble:
\AtEveryBibitem{\clearfield{eprintclass}}
And yes, XeLaTeX instead of pdfLaTeX may be worth a try. For details see Frequently loaded packages: Differences between pdfLaTeX and XeLaTeX.
Best Answer
I'm not sure if there's a package which uses French colour names out of the box, so I've substituted red and yellow. Please note that
color
is very limited in the number of predefined colours it has, although you can define new ones as you like, and you can give them French names, or any name you want really.But for the purposes of fixing this error, try this:
I've moved your
x
inside$ ... $
for$x \in \mathbb{R}$
and tidied up some of your code formatting to make it easier to see where you went wrong.Your main mistake was you needed
\parbox{\linewidth}{foo}
with braces aroundfoo
. You had mistakenly put your closing brace after\mathbb{R}
, within$ ... $
and within thecenter
environment.You also had a
}
after\end{document}
.This should work, although I'll leave you to select the colours you want to use, as I have no idea what chamois is supposed to look like!
Also, consider using display math:
\[ ... \]
: