我正在尝试article
使用编译XeLaTeX
。文章还包含一个bibliography
文件,我想将其打印在文章中,而不引用任何 bib 条目。
请参阅以下完整的 tex 代码-
\documentclass[a4paper,10pt]{article}
\usepackage{marvosym}
\usepackage{fontspec} %for loading fonts
\usepackage{xunicode,xltxtra,url,parskip} %other packages for formatting
\RequirePackage{color,graphicx}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage[big]{layaureo} %better formatting of the A4 page
\usepackage{supertabular} %for Grades
\usepackage{titlesec} %custom \section
%FONTS
\defaultfontfeatures{Mapping=tex-text}
\setmainfont[
SmallCapsFont = Fontin-SmallCaps.otf,
BoldFont = Fontin-Bold.otf,
ItalicFont = Fontin-Italic.otf
]
{Fontin.otf}
\usepackage{biblatex}
\addbibresource{publications.bib}
\begin{document}
\pagestyle{empty} % non-numbered pages
\font\fb=''[cmr10]'' %for use with \LaTeX command
\section{Section before Publications}
Section before Publications
\section{Publications}
\nocite{*}
\printbibliography
\section{Section after Publications}
Section after Publications
\end{document}
为了编译此代码,我首先运行,XeLaTeX
然后运行BibTeX
。BibTeX
报告以下错误-
Process started
This is BibTeX, Version 0.99d (TeX Live 2015) The top-level auxiliary file: sample.aux I found no \citation commands---while reading file sample.aux I found no \bibdata command---while reading file sample.aux I found no \bibstyle command---while reading file sample.aux (There were 3 error messages)
Process exited with error(s)
以下是必要的细节-
- 2015 特克斯现场展
- Texmaker 4.5
我在生成的文章中看不到 bib 条目。这是怎么回事?