Latex 错误:只能在序言中使用,并且 biblatex 存在问题

Latex 错误:只能在序言中使用,并且 biblatex 存在问题

我遇到了“只能在序言中使用”类型的错误,并且参考书目也出现了错误。也许这两个错误是相关的。我的 .TEX 文件如下:

\documentclass[12pt,a4paper]{article}

\usepackage[backend=biber]{biblatex}
\usepackage[english]{babel}  

\title{LaTex error: can be used only in preamble}  
\author{John Doe} 

\begin{document} 
\maketitle

\section{Introduction} 
\label{sec:intro}

The problem of constructing reliable circuits was first stated by John von
Neumann in 1952, but it is fair to say that the topic became a field of 
research from 1956 onwards, with the work of  E.F. Moore and C.E. Shannon \cite{MooreShannon56}.  

% \section*{References}
% \nocite{*} 
% \bibliographystyle{plain} 
\bibliography{Biblio1} 

\end{document}

并且我的.BIB文件仅包含以下条目:

@article{MooreShannon56,
author = "E.F. Moore and C.E. Shannon",
title = "Reliable circuits using less reliable relays",
journal = "Journal of the Franklin Institute",
volume = "262",
number = "3",
pages = "191 - 208",
year = "1956", 
issn = "0016-0032",
doi = "http://dx.doi.org/10.1016/0016-0032(56)90559-2",
url = "http://www.sciencedirect.com/science/article/pii/0016003256905592" 
}

除了上述错误之外,参考列表也没有显示。我正在将 MikTeX 与 TeXnicCenter 结合使用。

答案1

\documentclass[12pt,a4paper]{article}

\usepackage[backend=biber,style=numeric]{biblatex}
% numeric is about equal to Bibtex's plain
\usepackage[english]{babel}  

\addbibresource{Biblio1.bib}
% This command can be used repeatedly to combine your bibliography from as many files you want
...
\begin{document} 
...
\printbibliography % Prints the bibliography
\end{document}

我强烈建议您阅读 Biblatex 上的文档或一些教程。

相关内容