Eclipse TexLipse BibLatex 配置

Eclipse TexLipse BibLatex 配置

我正在尝试使用 TexLipse 构建我的论文参考书目,但不幸的是,我找不到让它工作的配置。希望有人能够让它工作,并能帮助我让它工作。 这里有一个与我的问题相关的问答,所以也许你可以对这两个问题做出贡献,因为它缺少 TeXlipse 的答案。提前感谢您的时间。

这是我的 Tex 文件和 References.bib 的简化版本:

文档.tex

\documentclass{article}
\usepackage[backend=biber, style=authoryear]{biblatex}
\addbibresource{References.bib}

\begin{document}

\cite{DUMMY:1}

\section{Title}

\subsection{Subtitle}

Plain text.

\subsection{Another subtitle}

More plain text.

\printbibliography

\end{document}

参考文献.bib

@BOOK{DUMMY:1,
    AUTHOR="John Doe",
    TITLE="The Book without Title",
    PUBLISHER="Dummy Publisher",
    YEAR="2100",
}

这是项目结构:

这是项目结构

当我保存 document.tex 时,构建在控制台上输出的内容如下:

running: B:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe -synctex=1 

-interaction=nonstopmode --src-specials document.tex 
pdflatex.exe> This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6300 64-bit)
pdflatex.exe> entering extended mode
pdflatex.exe> (document.tex
pdflatex.exe> LaTeX2e <2017-04-15>
pdflatex.exe> Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
pdflatex.exe> Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\biblatex.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\pdftexcmds.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\etoolbox\etoolbox.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\kvsetkeys.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\etexcmds.sty")))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\logreq\logreq.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\logreq\logreq.def"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\base\ifthen.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\url\url.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\xstring\xstring.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\xstring\xstring.tex"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\blx-dm.def")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\blx-compat.def")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\biblatex.def")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\bbx\authoryear.bbx"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\bbx\standard.bbx"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\cbx\authoryear.cbx")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\biblatex.cfg"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\lbx\english.lbx")
pdflatex.exe> (document.aux) (document.bbl)
pdflatex.exe> 
pdflatex.exe> LaTeX Warning: Citation 'DUMMY:1' on page 1 undefined on input line 11.
pdflatex.exe> 
pdflatex.exe> 
pdflatex.exe> LaTeX Warning: Empty bibliography on input line 24.
pdflatex.exe> 
pdflatex.exe> [1{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}] (document.aux)
pdflatex.exe> 
pdflatex.exe> LaTeX Warning: There were undefined references.
pdflatex.exe> 
pdflatex.exe> 
pdflatex.exe> Package biblatex Warning: Please (re)run Biber on the file:
pdflatex.exe> (biblatex)                document
pdflatex.exe> (biblatex)                and rerun LaTeX afterwards.
pdflatex.exe> 
pdflatex.exe>  )<B:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx10.pfb><B:/Pr
pdflatex.exe> ogram Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx12.pfb><B:/Program Fi
pdflatex.exe> les/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb>
pdflatex.exe> Output written on document.pdf (1 page, 34469 bytes).
pdflatex.exe> SyncTeX written on document.synctex.gz.
pdflatex.exe> Transcript written on document.log.
running: B:\Program Files\MiKTeX 2.9\miktex\bin\x64\bibtex.exe document 
bibtex.exe> This is BibTeX, Version 0.99d (MiKTeX 2.9.6300 64-bit)
bibtex.exe> The top-level auxiliary file: document.aux
bibtex.exe> I found no \citation commands---while reading file document.aux
bibtex.exe> I found no \bibdata command---while reading file document.aux
bibtex.exe> I found no \bibstyle command---while reading file document.aux
bibtex.exe> (There were 3 error messages)
running: B:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe -synctex=1 -interaction=nonstopmode --src-specials document.tex 
pdflatex.exe> This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6300 64-bit)
pdflatex.exe> entering extended mode
pdflatex.exe> (document.tex
pdflatex.exe> LaTeX2e <2017-04-15>
pdflatex.exe> Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
pdflatex.exe> Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\biblatex.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\pdftexcmds.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\etoolbox\etoolbox.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\kvsetkeys.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\etexcmds.sty")))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\logreq\logreq.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\logreq\logreq.def"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\base\ifthen.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\url\url.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\xstring\xstring.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\xstring\xstring.tex"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\blx-dm.def")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\blx-compat.def")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\biblatex.def")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\bbx\authoryear.bbx"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\bbx\standard.bbx"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\cbx\authoryear.cbx")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\biblatex.cfg"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\lbx\english.lbx")
pdflatex.exe> (document.aux) (document.bbl)
pdflatex.exe> 
pdflatex.exe> LaTeX Warning: Citation 'DUMMY:1' on page 1 undefined on input line 11.
pdflatex.exe> 
pdflatex.exe> 
pdflatex.exe> LaTeX Warning: Empty bibliography on input line 24.
pdflatex.exe> 
pdflatex.exe> [1{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}] (document.aux)
pdflatex.exe> 
pdflatex.exe> LaTeX Warning: There were undefined references.
pdflatex.exe> 
pdflatex.exe> 
pdflatex.exe> Package biblatex Warning: Please (re)run Biber on the file:
pdflatex.exe> (biblatex)                document
pdflatex.exe> (biblatex)                and rerun LaTeX afterwards.
pdflatex.exe> 
pdflatex.exe>  )<B:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx10.pfb><B:/Pr
pdflatex.exe> ogram Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx12.pfb><B:/Program Fi
pdflatex.exe> les/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb>
pdflatex.exe> Output written on document.pdf (1 page, 34469 bytes).
pdflatex.exe> SyncTeX written on document.synctex.gz.
pdflatex.exe> Transcript written on document.log.
running: B:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe -synctex=1 -interaction=nonstopmode --src-specials document.tex 
pdflatex.exe> This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6300 64-bit)
pdflatex.exe> entering extended mode
pdflatex.exe> (document.tex
pdflatex.exe> LaTeX2e <2017-04-15>
pdflatex.exe> Babel <3.9r> and hyphenation patterns for 75 language(s) loaded.
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
pdflatex.exe> Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\biblatex.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\pdftexcmds.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\etoolbox\etoolbox.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\kvsetkeys.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\etexcmds.sty")))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\logreq\logreq.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\logreq\logreq.def"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\base\ifthen.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\url\url.sty")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\xstring\xstring.sty"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\generic\xstring\xstring.tex"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\blx-dm.def")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\blx-compat.def")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\biblatex.def")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\bbx\authoryear.bbx"
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\bbx\standard.bbx"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\cbx\authoryear.cbx")
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\biblatex.cfg"))
pdflatex.exe> ("B:\Program Files\MiKTeX 2.9\tex\latex\biblatex\lbx\english.lbx")
pdflatex.exe> (document.aux) (document.bbl)
pdflatex.exe> 
pdflatex.exe> LaTeX Warning: Citation 'DUMMY:1' on page 1 undefined on input line 11.
pdflatex.exe> 
pdflatex.exe> 
pdflatex.exe> LaTeX Warning: Empty bibliography on input line 24.
pdflatex.exe> 
pdflatex.exe> [1{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}] (document.aux)
pdflatex.exe> 
pdflatex.exe> LaTeX Warning: There were undefined references.
pdflatex.exe> 
pdflatex.exe> 
pdflatex.exe> Package biblatex Warning: Please (re)run Biber on the file:
pdflatex.exe> (biblatex)                document
pdflatex.exe> (biblatex)                and rerun LaTeX afterwards.
pdflatex.exe> 
pdflatex.exe>  )<B:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx10.pfb><B:/Pr
pdflatex.exe> ogram Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx12.pfb><B:/Program Fi
pdflatex.exe> les/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb>
pdflatex.exe> Output written on document.pdf (1 page, 34469 bytes).
pdflatex.exe> SyncTeX written on document.synctex.gz.
pdflatex.exe> Transcript written on document.log.
running: "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe" document.pdf

它会产生以下问题: 在此处输入图片描述

答案1

TeXlipse 使用文档解析器自动确定是否从文档源运行 BibTeX 或 Biber。

根据网上的记录(https://sourceforge.net/p/texlipse/discussion/451977/thread/1a984278/#c309),当解析器识别到需要运行 Biber 时,它就有点挑剔了。

显然,backend=biber周围不能包含任何空格=。此外,在多行中,\usepackage不能backend=biber在第一行。

因此,您必须biblatex按如下方式加载

\usepackage[style=authoryear, backend=biber]{biblatex}

或(换行后)

\usepackage[
  backend=biber,
  style=authoryear,
]{biblatex}

TeXlipse 的开发已被 Eclipse 基金会接收,请参阅http://texlipse.sourceforge.net/http://projects.eclipse.org/projects/science.texlipsehttps://github.com/eclipse/texlipse。也许解析器的缺点将在未来的版本中得到解决。

相关内容