“如何呼叫 biber”的后续内容

“如何呼叫 biber”的后续内容

接受的答案问题写道:

为了进行编译,您现在应该调用pdflatex,,biberpdflatex

我的问题是我在 TeXStudio 下并且不知道如何调用biber...

编辑:通过接受答案的 MWE,我在 TeXStudio 的输出中得到以下内容:

Process started: bibtex "document-28-04-21-22p55".aux
This is BibTeX, Version 0.99d (TeX Live 2019/Debian)
The top-level auxiliary file: document-28-04-21-22p55.aux
I found no \citation commands---while reading file document-28-04-21-22p55.aux
I found no \bibdata command---while reading file document-28-04-21-22p55.aux
I found no \bibstyle command---while reading file document-28-04-21-22p55.aux
(There were 3 error messages)
Process exited with error(s)

不幸的是,我真的不知道如何解决这个问题......

答案1

实际上是pdflatex +pdflatex +biber +pdflatex +pdflatex

我将分享一些屏幕截图来帮助您入门。

A

b

如果您运行链接中的 MWE,则整个过程将自行运行。(我正在使用 MikTeX)

作为输出你应该得到

是

“如何呼叫 biber”的后续内容

% !TeX TS-program = pdflatex

\listfiles % see the list of loaded file at the end of the log file

\documentclass{article}

\usepackage[autostyle]{csquotes}

\usepackage[
backend=biber,
style=authoryear-icomp,
natbib=true,
url=false, 
doi=true,
eprint=false
]{biblatex}
\addbibresource{biblatex-examples.bib}

\usepackage[]{hyperref}
\hypersetup{
    colorlinks=true,
}

%% ##############################
\begin{document}
    Lorem ipsum dolor sit amet~\citep{kastenholz}.
    At vero eos et accusam et justo duo dolores et ea rebum~\citet{sigfridsson}.
    \printbibliography 
\end{document}

检查 TeXstudio (midway) 的控制台输出(或.blg使用文本编辑器的文件)。我使用了一个名为 的文件biberMWE.tex

Process started: biber.exe "biberMWE"

biber: security risk: running with elevated privileges
INFO - This is Biber 2.16
INFO - Logfile is 'biberMWE.blg'
INFO - Reading 'biberMWE.bcf'
INFO - Found 2 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'biblatex-examples.bib' for section 0
INFO - LaTeX decoding ...
INFO - Found BibTeX data source 'C:/Users/simon/AppData/Local/Programs/MiKTeX/bibtex/bib/biblatex/biblatex-examples.bib'
INFO - Overriding locale 'de_DE' defaults 'variable = shifted' with 'variable = non-ignorable'
INFO - Overriding locale 'de_DE' defaults 'normalization = NFD' with 'normalization = prenormalized'
INFO - Sorting list 'nyt/global//global/global' of type 'entry' with template 'nyt' and locale 'de_DE'
INFO - No sort tailoring available for locale 'de_DE'
INFO - Writing 'biberMWE.bbl' with encoding 'UTF-8'
INFO - Output to biberMWE.bbl
Process exited normally

最后一行最为重要。每次更改数据库.bib或在文档中添加引用时,您都应该寻找这个不错的结尾。

相关内容