使用 biblatex 设置 TeXlipse

使用 biblatex 设置 TeXlipse

已编辑


我正在尝试让 biblatex 工作特克斯利普斯。我当前的 tex 文件是:

\documentclass{ut-thesis}

\usepackage[backend=biber]{biblatex}
\addbibresource{thesis.bib}

\degree{Test Degree}
\department{Deparment}
\gradyear{Year}
\author{Author}
\title{UT-Thesis Class File Example}

\setcounter{tocdepth}{2}

\flushbottom

%%%%%%%%%%%%      MAIN  DOCUMENT      %%%%%%%%%%%%

\begin{document}

\begin{preliminary}

\maketitle

\begin{abstract}

\end{abstract}

\tableofcontents

\end{preliminary}

\chapter{Introduction}
\section{Why?}
This is a section \cite{ID}

\addcontentsline{toc}{chapter}{Bibliography}
\printbibliography

\end{document}

test.bib 包含:

@Article{ID,
author = {Author},
title = {Title},
journal = {journal},
year = {2013}
}

@Article{ID2,
author = {Authors},
title = {Title 2},
journal = {Journal 2},
year = {2013}
}

但我不断收到警告:

LaTeX Warning: Empty bibliography on input line 37.
Please (re)run Biber on the file:   document.tex

我正在尝试使用biber以下手动构建程序运行

Location: C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\biber.exe
Working Directory: ${workspace_loc:/Thesis/tmp}
Arguments: thesis

我得到以下控制台输出:

INFO - This is Biber 1.7
INFO - Logfile is 'thesis.blg'
INFO - Reading 'thesis.bcf'
INFO - Found 1 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'thesis.bib' for section 0
INFO - Found BibTeX data source 'C:/Program Files (x86)/MiKTeX 2.9/bibtex/bib/unswcover/thesis.bib'
WARN - I didn't find a database entry for 'ID' (section 0)
INFO - Overriding locale 'English_United States.1252' default tailoring 'variable = shifted' with 'variable = non-ignorable'
INFO - Sorting 'entry' list 'nty' keys
INFO - No sort tailoring available for locale 'English_United States.1252'
INFO - Writing 'thesis.bbl' with encoding 'ascii'
INFO - Output to thesis.bbl
INFO - WARNINGS: 1

当我设置运行该程序时,它在 Texmaker 中运行

pdflatex > biber > pdflatex > pdflatex

但我想让它在 TeXlipse 中运行。

答案1

我通过取消选中默认的 LaTeX 构建器并创建自己的构建器 ( ) 来修复此问题pdflatexbiber我认为这与写入和其他文件的文件夹pdflatex > biber > pdflatex (2) > pdflatex (final)不同有关,因此我对所有构建器使用了相同的目录。tmp.bbl

相关内容