Biblatex-mla 中的引用未定义

Biblatex-mla 中的引用未定义

我是一名 Mac 用户,我安装了 biblatex-mla,~/Library/texmf并且texhash进行了很多编辑。但我的引用始终不起作用。

这是我的 tex 文件:

\begin{filecontents*}{bibl1.bib}
@book{goossens93,
    keywords = {primary},
    author = "Michel Goossens and Frank Mittlebach",
    title = "The {LaTeX} Companion",
    year = "1993",
    publisher = "Addison-Wesley",
    address = "Reading, Massachusetts"
}

@book{knuth84,
    keywords = {primary},
    author = "Donald E. Knuth",
    title= "The {TeX}book",
    publisher = "Addison-Wesley",
    year = 1984
}
\end{filecontents*}

\begin{filecontents*}{bibl2.bib}
@unpublished{patashnik88,
    keywords = {secondary},
    author = "Oren Patashnik",
    title = "Using {BibTeX}",
    note = "Documentation for general BibTeX users",
    month = jan,
    year = 1988
}
\end{filecontents*}

\documentclass{article}
\usepackage[style=mla,guessmedium=false]{biblatex}
\usepackage[american]{babel}
\usepackage{csquotes}
\addbibresource{bibl1.bib}
\addbibresource{bibl2.bib}

\begin{document}
\cite{knuth84}, \cite{goossens93}, \cite{patashnik88}

\printbibliography[keyword=primary,heading=subbibliography,%
title={Primary Sources}]
\printbibliography[keyword=secondary,heading=subbibliography,%
title={Secondary Sources}]

\end{document}

我确信我将bib文件包含在当前目录中。以下是日志:

Package biblatex Warning: Missing 'hyperref' package.
(biblatex)                Setting hyperref=false.
(./Writing Draft.aux) (./Writing Draft.bbl)
LaTeX Warning: Citation 'knuth84' on page 1 undefined on input line 39.
LaTeX Warning: Citation 'goossens93' on page 1 undefined on input line 39.
LaTeX Warning: Citation 'patashnik88' on page 1 undefined on input line 39.
Package biblatex Warning: Keyword 'primary' not found on input line 41.
LaTeX Warning: Empty bibliography on input line 41.
Package biblatex Warning: Keyword 'secondary' not found on input line 43.
LaTeX Warning: Empty bibliography on input line 43.
[1{/usr/local/texlive/2012/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./Writing Draft.aux)
LaTeX Warning: There were undefined references.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)                "Writing Draft"
(biblatex)                and rerun LaTeX afterwards.
)</usr/local/texlive/2012/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb
></usr/local/texlive/2012/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on "Writing Draft.pdf" (1 page, 21282 bytes).
SyncTeX written on "Writing Draft.synctex.gz"
Transcript written on "Writing Draft.log".

非常感谢您的帮助。

答案1

在我删除文件名和中的空格后问题解决了\usepackage[style=mla,guessmedium=false,backend=bibtex8]{biblatex}。奇怪。

相关内容