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.
You need to load the babel
package.
\documentclass{article}
\usepackage[style=ieee,backend=biber]{biblatex}
\usepackage[american]{babel}
\begin{filecontents}{\jobname.bib}
@article{Doe2012,
author={Doe, J.},
title={This title is a question?},
journal={Proc. IEEE},
year={2012},
volume={1234},
number={12},
pages={345--678},
month={Dec.},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Some text \autocite{Doe2012}
\printbibliography
\end{document}
biblatex
is aware of babel
and uses it when deciding on how to deal with punctuation inside quotation marks.
Best Answer
To a large extent, you can get American punctuation patterns automatically with
biblatex
by loadingbabel
with the[american]
option.For your bibliography items themselves
If you load the
babel
package with the option[american]
,biblatex
will put the punctuation inside the quotation marks automatically. This is explained in section 3.91 of thebiblatex
manual.For in text quotations
The best way to do this automatically is to use the
\textquote
command of thecsquotes
package. You need to change the default formatting for the citation part of the quote, and you need to redefine the\mktextquote
command. This is explained in section 9.2 of thecsquotes
manual.Here is an example document. Notice that the quotation marks in the text quotation and in the bibliography item are in the correct place for American standards. The example works the same way with the
biblatex-chicago
package loaded.