我正在使用经典论文撰写论文。当我尝试在文件中添加一些项目Bibliography.bib
然后进行编译时,新项目不会出现在 PDF 文件中。为什么?我该如何解决?
该.blg
文件称:
This is BibTeX, Version 0.99d (TeX Live 2017/Debian)
Capacity: max_strings=100000, hash_size=100000, hash_prime=85009
The top-level auxiliary file: ClassicThesis.aux
The style file: biblatex.bst
A level-1 auxiliary file: FrontBackmatter/DirtyTitlepage.aux
A level-1 auxiliary file: FrontBackmatter/Titlepage.aux
A level-1 auxiliary file: FrontBackmatter/Titleback.aux
A level-1 auxiliary file: FrontBackmatter/Dedication.aux
A level-1 auxiliary file: FrontBackmatter/Abstract.aux
A level-1 auxiliary file: FrontBackmatter/Publications.aux
A level-1 auxiliary file: FrontBackmatter/Acknowledgments.aux
A level-1 auxiliary file: FrontBackmatter/Contents.aux
A level-1 auxiliary file: Chapters/Chapter01.aux
A level-1 auxiliary file: Chapters/Chapter02.aux
A level-1 auxiliary file: Chapters/Chapter03.aux
A level-1 auxiliary file: Chapters/Chapter0A.aux
A level-1 auxiliary file: FrontBackmatter/Bibliography.aux
A level-1 auxiliary file: FrontBackmatter/Declaration.aux
A level-1 auxiliary file: FrontBackmatter/Colophon.aux
Reallocated glb_str_ptr (elt_size=4) to 20 items from 10.
Reallocated global_strs (elt_size=20001) to 20 items from 10.
Reallocated glb_str_end (elt_size=4) to 20 items from 10.
Reallocated singl_function (elt_size=4) to 100 items from 50.
Reallocated singl_function (elt_size=4) to 100 items from 50.
Reallocated singl_function (elt_size=4) to 100 items from 50.
Reallocated wiz_functions (elt_size=4) to 6000 items from 3000.
Reallocated singl_function (elt_size=4) to 100 items from 50.
Reallocated singl_function (elt_size=4) to 100 items from 50.
Reallocated singl_function (elt_size=4) to 100 items from 50.
Reallocated singl_function (elt_size=4) to 100 items from 50.
Reallocated singl_function (elt_size=4) to 100 items from 50.
Reallocated singl_function (elt_size=4) to 100 items from 50.
Reallocated singl_function (elt_size=4) to 100 items from 50.
Database file #1: ClassicThesis-blx.bib
Database file #2: Bibliography.bib
Database file #3: AMiede_Publications.bib
Biblatex version: 3.8
Reallocated wiz_functions (elt_size=4) to 9000 items from 6000.
Reallocated singl_function (elt_size=4) to 100 items from 50.
You've used 27 entries,
6268 wiz_defined-function locations,
1327 strings with 11696 characters,
and the built_in function-call counts, 134242 in all, are:
= -- 9321
> -- 3027
< -- 1428
+ -- 2570
- -- 690
* -- 7813
:= -- 10262
add.period$ -- 0
call.type$ -- 27
change.case$ -- 26
chr.to.int$ -- 30
cite$ -- 52
duplicate$ -- 14215
empty$ -- 12789
format.name$ -- 1367
if$ -- 29895
int.to.chr$ -- 0
int.to.str$ -- 114
missing$ -- 0
newline$ -- 723
num.names$ -- 2042
pop$ -- 8569
preamble$ -- 1
purify$ -- 1143
quote$ -- 0
skip$ -- 7515
stack$ -- 0
substring$ -- 13129
swap$ -- 4042
text.length$ -- 655
text.prefix$ -- 26
top$ -- 1
type$ -- 906
warning$ -- 0
while$ -- 1167
width$ -- 0
write$ -- 697
我认为它使用了biblatex
,因为我在配置文件中发现了这一点:
\PassOptionsToPackage{%
%backend=biber,bibencoding=utf8, %instead of bibtex
backend=bibtex8,bibencoding=ascii,%
language=auto,%
style=numeric-comp,%
%style=authoryear-comp, % Author 1999, 2010
%bibstyle=authoryear,dashed=false, % dashed: substitute rep. author
with ---
sorting=nyt, % name, year, title
maxbibnames=10, % default: 3, et al.
%backref=true,%
natbib=true % natbib compatibility mode (\citep and \citet still work)
}{biblatex}
\usepackage{biblatex}
例子:
\documentclass[a4paper,10pt]{article}
\PassOptionsToPackage{%
%backend=biber,bibencoding=utf8, %instead of bibtex
backend=bibtex8,bibencoding=ascii,%
language=auto,%
style=numeric-comp,%
%style=authoryear-comp, % Author 1999, 2010
%bibstyle=authoryear,dashed=false, % dashed: substitute rep. author
with
---
sorting=nyt, % name, year, title
maxbibnames=15, % default: 3, et al.
%backref=true,%
natbib=true % natbib compatibility mode (\citep and \citet still work)
}{biblatex}
\usepackage{biblatex}
\addbibresource{Bibliography.bib}
\addbibresource[label=ownpubs]{AMiede_Publications.bib}
\begin{document}
This is a citation \cite{bentley:1999}
Here is the bibliography
\defbibheading{bibintoc}[\bibname]{%
\phantomsection
\manualmark
\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}%
\addtocontents{toc}{\protect\vspace{\beforebibskip}}%
\addcontentsline{toc}{chapter}{\tocEntry{#1}}%
\chapter*{#1}%
}
\printbibliography[heading=bibintoc]
\end{document}
这不会打印参考书目,但也不会出现任何错误。