使用 Biblatex 进行编译时遇到问题?

使用 Biblatex 进行编译时遇到问题?

我的文档使用存在问题biblatex,我的 MWE 是这样的:

\documentclass{book}
\usepackage[
            style       = alphabetic,
            sorting     = nyt,
            sortcites   = true,
            autopunct   = true,
            babel       = hyphen,
            hyperref    = true,
            abbreviate  = false,
            backref     = true,
            backend     = biber]{biblatex}
\addbibresource{bibliography.bib}
\defbibheading{bibempty}{}
\usepackage[indonesian]{babel}
\usepackage{lipsum}
\begin{document}
\chapter{BLAL}
\lipsum[1-2]
\section{BLAL}
\lipsum[1]
\section[1-3]
This is example citation book for \cite{book_key} , and further more see citation article for \cite{article_key}
Prosedure compile this dokumen :
\begin{enumerate}
\item pdflatex
\item biber
\item pdflatex x 2
\end{enumerate}
\chapter*{Daftar Pustaka}
\addcontentsline{toc}{chapter}{Daftar Pustaka}
\section*{Buku}
\addcontentsline{toc}{section}{Buku}
\printbibliography[heading=bibempty,type=book]
\section*{Artikel}
\addcontentsline{toc}{section}{Artikel}
\printbibliography[heading=bibempty,type=article]
\end{document}

我的 bib 文件如下:

@book{book_key,
    address = {City},
    publisher = {Publisher},
    author = {Smith, John},
    title = {Book title},
    year = {2012},
    volume = {3},
    series = {2},
    edition = {1},
    pages = {123--200},
    month = {January}
}

@article{article_key,
    address = {City},
    publisher = {Publisher},
    author = {Smith, James},
    title = {Article title},
    year = {2013},
    volume = {14},
    number = {6},
    pages = {1--8},
    month = {March}
}

我尝试按照以下步骤进行编译:

  1. pdflatex
  2. 比布拉特克斯
  3. pdflatex
  4. pdflatex

但我收到如下错误消息:

Command Line:   bibtex.exe "tesbib"
Startup Folder: D:\tes bib

This is BibTeX, Version 0.99d (MiKTeX 2.9 64-bit)
The top-level auxiliary file: tesbib.aux
I found no \citation commands---while reading file tesbib.aux
I found no \bibdata command---while reading file tesbib.aux
I found no \bibstyle command---while reading file tesbib.aux
(There were 3 error messages)

我不知道如何解决

我希望我的输出如下:

奥

答案1

你应该不是安装biber.exe在主 MiKTeX 目录中,但在本地 TeXMF 中。您可以找到详细说明这里

相关内容