我一直在测试biblatex
如何更好地控制 BibTeX 提供的参考书目格式。因此,我一直在尝试编译它。问题是参考书目无法打印,但引用可以打印。这是我用来测试的文档的当前最小工作示例biblatex
:
\documentclass[a4paper,12pt]{article}
\usepackage{fontspec}
\usepackage[backend=bibtex]{biblatex}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{setspace}
\usepackage{url}
\addbibresource{References.bib}
\pagestyle{fancy}
% clear any old style settings
\fancyhead{}
\fancyfoot{}
%new settings
\lhead{\footnotesize {Sebastian Stephenson}}
\rhead{\footnotesize{2812193}}
\rfoot{{\thepage} of \pageref{LastPage}}
%for hardvard style citation (check with a person at tutorial to see if what is being complied is ok)
%\citestyle{agms}
% addfont Times New Roman
\setmainfont{Times New Roman}
\begin{document}
\begin{doublespacing}
\title{The French New Wave}
%to remove the date that is added when it gets complied
\date{}
\maketitle
%Because the maketitle command has been used, it automatically
%issues \thispagestyle{plain} which overrides the fancy headings for
%this page. Must now tell Latex to override this
\thispagestyle{fancy}
The French New Wave represents a diverse...Two by Jean-Luc Godard: Á bout du shofflle(Breathless)\cite{godardfilmb}and Alphaville\cite{godardfilma} and one by Jacques Rivette called Céline et Julie vont en bateau (Céline and Julie Go Boating)\cite{rivettemovie}.
French New Wave would produce chain reactions around Europe\cite{newwavegen}. The work done during this period is important for medium of film.
\end{doublespacing}
% \newpage
\defbibheading{Bibliography}
\printbibliography% [nottype=video]
% \defbibheading{Filmography}
% \printbibliography[type=video]
\end{document}
这\usepackage[backend=bibtex]{biblatex}
是因为这出现在日志中但似乎没有改变任何东西。
Package biblatex Warning: Data encoding is 'utf8'.
(biblatex) Use backend=biber.
(./Essay.bbl
Package biblatex Warning: BibTeX reported the following issues
(biblatex) with 'rivettesense':
(biblatex) - Invalid format of field 'month'.
Package biblatex Warning: BibTeX reported the following issues
(biblatex) with 'sensegodard':
(biblatex) - Invalid format of field 'month'.
Package biblatex Warning: BibTeX reported the following issues
(biblatex) with 'reviewgoboating':
(biblatex) - Invalid format of field 'month'.
Package biblatex Warning: BibTeX reported the following issues
(biblatex) with 'godardportrait':
(biblatex) - Invalid format of field 'month'.
Package biblatex Warning: BibTeX reported the following issues
(biblatex) with 'madmen':
(biblatex) - Invalid format of field 'month'.
)
这就是他们条目的样子rivettesense
。我确实更改了工作原始文件中 misc 中的条目类型,以尝试我也可以使用的新条目。在原始 bib 文件中,这应该位于@misc
@online{rivettesense,
author={Saul Austerlitz},
title={Jacques Rivette | Senses of Cinema},
month={January},
year={2003},
url={http://sensesofcinema.com/2003/great-directors/rivette/},
publisher={Senses of Cinema},
address={Melbourne},
note={[30/10/12]}
}
如果您需要更多信息,请在下方评论。
答案1
引用手册第 2.2.2 节:
month
字段(整数)出版月份。这必须是整数,而不是序数或字符串。不要说
month={January}
但是month={1}
。书目样式会根据需要将其转换为语言相关的字符串或序数。
另一个警告相当简单:如果数据编码是utf8
,则应使用 biber 而不是 BibTeX 作为后端。如果像您的情况一样使用 XeLaTeX,则更是如此。