首先,我正在使用 TeXstudio,以防该信息很重要。
经过几个小时的搜索,我实在是太绝望了,所以我干脆就从这个问题,尝试运行它,但它不起作用。所以我得到的是:
%bibtest.tex
\documentclass[a4paper,12pt]{scrartcl}
%\usepackage[style=authoryear, backend=bibtex]{biblatex} %produces errors
\usepackage[style=authoryear]{biblatex}
\usepackage{hyperref}
\addbibresource{biblio.bib}
\title{Minimal test}
\date{}
\begin{document}
\maketitle
Lorem ipsum ...\cite{Google5gram}
\printbibliography
\end{document}
%%%%%%%%%%
%biblio.bib
@ONLINE{Google5gram,
author = {Alex Franz and Thosten Brants},
organization = {Google Machine Translation Team},
url = {http://googleresearch.blogspot.com/2006/08/all-our-n-gram-are-belong-to-you.html},
title = {All Our N-Gram are Belong to You},
month = aug,
year = {2006},
}
但虽然文本有引用标签,但生成的文档没有参考书目。
并且编译器运行多次,总是产生相同的输出:
这是 BibTeX,版本 0.99d(MiKTeX 2.9 64 位)
顶级辅助文件:bibtest.aux
读取文件 bibtest.aux 时,我没有找到 \citation 命令 读取文件 bibtest.aux 时,
我没有找到 \bibdata 命令 读取文件 bibtest.aux 时,
我没有找到 \bibstyle 命令
(有 3 条错误消息)
过程以错误结束(n)
我只是不知道我做错了什么。我删除了除上面列出的两个文件之外的所有文件,我重新启动了 IDE,重新启动了 PC,但什么也没起作用。我很绝望,请帮帮我!
答案1
%bibtest.tex
\documentclass[a4paper,12pt]{scrartcl}
\usepackage{hyperref}
\usepackage{lipsum}
\usepackage{cite}
\title{Minimal test}
\date{\today}
\begin{document}
\maketitle
\lipsum[1] \cite{wang_model_2009}
\bibliographystyle{abbrv}
\bibliography{biblio}
\end{document}
%biblio.bib
@book{wang_model_2009,
address = {London},
title = {Model {Predictive} {Control} {System} {Design} and {Implementation} {Using} {MATLAB}®},
isbn = {978-1-84882-331-0},
publisher = {Springer London},
author = {Wang, Liuping},
year = {2009},
keywords = {Appl.Mathematics/Computational Methods of Engineering, (CAD, CAE) and Design, Computer-Aided Engineering, Control , Robotics, Mechatronics, Electrical Engineering, Engineering, Industrial and Production Engineering, Industrial Chemistry/Chemical}
}