运行时出现奇怪的错误biber
。我有一个.tex
和.bib
文件,可以在一台电脑上编译成一个好的 pdf,但出现错误
Use of \sortlist doesn't match its definition. \sortlist{
在.bbl
文件行上
\sortlist{entry}{}
这让我怀疑问题出在我的系统上。
该biber.exe
文件已从工作 PC 复制到容易出错的 PC,TeXStudio 中的设置也已复制,MikTeX 软件包存储库已与不同来源同步。当然,除了和之外的所有文件.tex
在.bib
测试运行期间都已删除。使用时编译正常bibtex
,我相信您明白这不是永久解决方案。
此错误的根源可能是什么?如何解决?未提供 MWE,因为这似乎是系统问题。
编辑:卸载并重新安装biblatex
并miktex-biber-bin
导致不同的错误:
Illegal parameter number in definition of \z. \end
编辑2:错误根源{\c{c}}
在于.bib
文件。用 替换 的快速修复方法c
效果不错,但法国作者可能会因为拼错名字而哭泣。
梅威瑟:
\documentclass{article}
\usepackage[backend=biber]{biblatex}
\addbibresource{MWEbib.bib}
\begin{document}
\cite{konschelle2014}
\printbibliography
\end{document}
MWEbib.bib
:
@article{konschelle2014,
title={Transport equations for superconductors in the presence of spin interaction},
author={Konschelle, Fran{\c{c}}ois},
journal={The European Physical Journal B},
volume={87},
number={5},
pages={1--19},
year={2014},
publisher={Springer}
}
错误:
Illegal parameter number in definition of \z. \end
日志档案:
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9) (preloaded format=pdflatex 2016.5.3) 3 MAY 2016 15:59
entering extended mode
**./2016-05-03_MWE.tex
(2016-05-03_MWE.tex
LaTeX2e <2015/10/01> patch level 2
Babel <3.9n> and hyphenation patterns for 69 languages loaded.
("D:\Program Files D\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("D:\Program Files D\MiKTeX 2.9\tex\latex\base\size10.clo"
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("D:\Program Files D\MiKTeX 2.9\tex\latex\biblatex\biblatex.sty"
Package: biblatex 2016/03/03 v3.3 programmable bibliographies (PK/JW/AB)
("D:\Program Files D\MiKTeX 2.9\tex\latex\biblatex\biblatex_.sty"
Package: biblatex_ 2016/03/03 v3.3 programmable bibliographies (biber) (PK/JW/A
B)
("D:\Program Files D\MiKTeX 2.9\tex\latex\etoolbox\etoolbox.sty"
Package: etoolbox 2015/08/02 v2.2a e-TeX tools for LaTeX (JAW)
\etb@tempcnta=\count87
)
("D:\Program Files D\MiKTeX 2.9\tex\latex\graphics\keyval.sty"
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
)
("D:\Program Files D\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty"
Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)
("D:\Program Files D\MiKTeX 2.9\tex\generic\oberdiek\ltxcmds.sty"
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
)
("D:\Program Files D\MiKTeX 2.9\tex\generic\oberdiek\kvsetkeys.sty"
Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)
("D:\Program Files D\MiKTeX 2.9\tex\generic\oberdiek\infwarerr.sty"
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
)
("D:\Program Files D\MiKTeX 2.9\tex\generic\oberdiek\etexcmds.sty"
Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
("D:\Program Files D\MiKTeX 2.9\tex\generic\oberdiek\ifluatex.sty"
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
Package etexcmds Info: Could not find \expanded.
(etexcmds) That can mean that you are not using pdfTeX 1.50 or
(etexcmds) that some package has redefined \expanded.
(etexcmds) In the latter case, load this package earlier.
)))
("D:\Program Files D\MiKTeX 2.9\tex\latex\logreq\logreq.sty"
Package: logreq 2010/08/04 v1.0 xml request logger
\lrq@indent=\count88
("D:\Program Files D\MiKTeX 2.9\tex\latex\logreq\logreq.def"
File: logreq.def 2010/08/04 v1.0 logreq spec v1.0
))
("D:\Program Files D\MiKTeX 2.9\tex\latex\base\ifthen.sty"
Package: ifthen 2014/09/29 v1.1c Standard LaTeX ifthen package (DPC)
)
("D:\Program Files D\MiKTeX 2.9\tex\latex\url\url.sty"
\Urlmuskip=\muskip10
Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
)
\c@tabx@nest=\count89
\c@listtotal=\count90
\c@listcount=\count91
\c@liststart=\count92
\c@liststop=\count93
\c@citecount=\count94
\c@citetotal=\count95
\c@multicitecount=\count96
\c@multicitetotal=\count97
\c@instcount=\count98
\c@maxnames=\count99
\c@minnames=\count100
\c@maxitems=\count101
\c@minitems=\count102
\c@citecounter=\count103
\c@savedcitecounter=\count104
\c@uniquelist=\count105
\c@uniquename=\count106
\c@refsection=\count107
\c@refsegment=\count108
\c@maxextratitle=\count109
\c@maxextratitleyear=\count110
\c@maxextrayear=\count111
\c@maxextraalpha=\count112
\c@abbrvpenalty=\count113
\c@highnamepenalty=\count114
\c@lownamepenalty=\count115
\c@maxparens=\count116
\c@parenlevel=\count117
\blx@tempcnta=\count118
\blx@tempcntb=\count119
\blx@tempcntc=\count120
\blx@maxsection=\count121
\blx@maxsegment@0=\count122
\blx@notetype=\count123
\blx@parenlevel@text=\count124
\blx@parenlevel@foot=\count125
\blx@sectionciteorder@0=\count126
\labelnumberwidth=\skip43
\labelalphawidth=\skip44
\biblabelsep=\skip45
\bibitemsep=\skip46
\bibnamesep=\skip47
\bibinitsep=\skip48
\bibparsep=\skip49
\bibhang=\skip50
\blx@bcfin=\read1
\blx@bcfout=\write3
\c@mincomprange=\count127
\c@maxcomprange=\count128
\c@mincompwidth=\count129
Package biblatex Info: Trying to load biblatex default data model...
Package biblatex Info: ... file 'blx-dm.def' found.
("D:\Program Files D\MiKTeX 2.9\tex\latex\biblatex\blx-dm.def")
Package biblatex Info: Trying to load biblatex custom data model...
Package biblatex Info: ... file 'biblatex-dm.cfg' not found.
\c@afterword=\count130
\c@savedafterword=\count131
\c@annotator=\count132
\c@savedannotator=\count133
\c@author=\count134
\c@savedauthor=\count135
\c@bookauthor=\count136
\c@savedbookauthor=\count137
\c@commentator=\count138
\c@savedcommentator=\count139
\c@editor=\count140
\c@savededitor=\count141
\c@editora=\count142
\c@savededitora=\count143
\c@editorb=\count144
\c@savededitorb=\count145
\c@editorc=\count146
\c@savededitorc=\count147
\c@foreword=\count148
\c@savedforeword=\count149
\c@holder=\count150
\c@savedholder=\count151
\c@introduction=\count152
\c@savedintroduction=\count153
\c@namea=\count154
\c@savednamea=\count155
\c@nameb=\count156
\c@savednameb=\count157
\c@namec=\count158
\c@savednamec=\count159
\c@translator=\count160
\c@savedtranslator=\count161
\c@shortauthor=\count162
\c@savedshortauthor=\count163
\c@shorteditor=\count164
\c@savedshorteditor=\count165
\c@labelname=\count166
\c@savedlabelname=\count167
\c@institution=\count168
\c@savedinstitution=\count169
\c@lista=\count170
\c@savedlista=\count171
\c@listb=\count172
\c@savedlistb=\count173
\c@listc=\count174
\c@savedlistc=\count175
\c@listd=\count176
\c@savedlistd=\count177
\c@liste=\count178
\c@savedliste=\count179
\c@listf=\count180
\c@savedlistf=\count181
\c@location=\count182
\c@savedlocation=\count183
\c@organization=\count184
\c@savedorganization=\count185
\c@origlocation=\count186
\c@savedoriglocation=\count187
\c@origpublisher=\count188
\c@savedorigpublisher=\count189
\c@publisher=\count190
\c@savedpublisher=\count191
\c@language=\count192
\c@savedlanguage=\count193
\c@pageref=\count194
\c@savedpageref=\count195
\shorthandwidth=\skip51
\shortjournalwidth=\skip52
\shortserieswidth=\skip53
\shorttitlewidth=\skip54
\shortauthorwidth=\skip55
\shorteditorwidth=\skip56
Package biblatex Info: Trying to load compatibility code...
Package biblatex Info: ... file 'blx-compat.def' found.
("D:\Program Files D\MiKTeX 2.9\tex\latex\biblatex\blx-compat.def"
File: blx-compat.def 2016/03/03 v3.3 biblatex compatibility (PK/JW/AB)
)
Package biblatex Info: Trying to load generic definitions...
Package biblatex Info: ... file 'biblatex_.def' found.
("D:\Program Files D\MiKTeX 2.9\tex\latex\biblatex\biblatex_.def"
File: biblatex_.def
\c@textcitecount=\count196
\c@textcitetotal=\count197
\c@textcitemaxnames=\count198
\c@biburlnumpenalty=\count199
\c@biburlucpenalty=\count266
\c@biburllcpenalty=\count267
\c@smartand=\count268
)
Package biblatex Info: Trying to load bibliography style 'numeric'...
Package biblatex Info: ... file 'numeric.bbx' found.
("D:\Program Files D\MiKTeX 2.9\tex\latex\biblatex\bbx\numeric.bbx"
File: numeric.bbx 2016/03/03 v3.3 biblatex bibliography style (PK/JW/AB)
Package biblatex Info: Trying to load bibliography style 'standard'...
Package biblatex Info: ... file 'standard.bbx' found.
("D:\Program Files D\MiKTeX 2.9\tex\latex\biblatex\bbx\standard.bbx"
File: standard.bbx 2016/03/03 v3.3 biblatex bibliography style (PK/JW/AB)
\c@bbx:relatedcount=\count269
\c@bbx:relatedtotal=\count270
))
Package biblatex Info: Trying to load citation style 'numeric'...
Package biblatex Info: ... file 'numeric.cbx' found.
("D:\Program Files D\MiKTeX 2.9\tex\latex\biblatex\cbx\numeric.cbx"
File: numeric.cbx 2016/03/03 v3.3 biblatex citation style (PK/JW/AB)
Package biblatex Info: Redefining '\cite'.
Package biblatex Info: Redefining '\parencite'.
Package biblatex Info: Redefining '\footcite'.
Package biblatex Info: Redefining '\footcitetext'.
Package biblatex Info: Redefining '\smartcite'.
Package biblatex Info: Redefining '\supercite'.
Package biblatex Info: Redefining '\textcite'.
Package biblatex Info: Redefining '\textcites'.
Package biblatex Info: Redefining '\cites'.
Package biblatex Info: Redefining '\parencites'.
Package biblatex Info: Redefining '\smartcites'.
)
Package biblatex Info: Trying to load configuration file...
Package biblatex Info: ... file 'biblatex.cfg' found.
("D:\Program Files D\MiKTeX 2.9\tex\latex\biblatex\biblatex.cfg"
File: biblatex.cfg
)))
Package biblatex Info: Trying to load language 'english'...
Package biblatex Info: ... file 'english.lbx' found.
("D:\Program Files D\MiKTeX 2.9\tex\latex\biblatex\lbx\english.lbx"
File: english.lbx 2016/03/03 v3.3 biblatex localization (PK/JW/AB)
)
\@quotelevel=\count271
\@quotereset=\count272
(2016-05-03_MWE.aux)
\openout1 = `2016-05-03_MWE.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
Package biblatex Info: No input encoding detected.
(biblatex) Assuming 'ascii'.
Package biblatex Info: Automatic encoding selection.
(biblatex) Assuming data encoding 'ascii'.
\openout3 = `2016-05-03_MWE.bcf'.
Package biblatex Info: Trying to load bibliographic data...
Package biblatex Info: ... file '2016-05-03_MWE.bbl' found.
(2016-05-03_MWE.bbl)
Package biblatex Info: Reference section=0 on input line 4.
Package biblatex Info: Reference segment=0 on input line 4.
! Illegal parameter number in definition of \z.
<to be read again>
\crcr
l.7 \end
{document}
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.
[1
{C:/Users/TomVe/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]
(2016-05-03_MWE.aux)
Package logreq Info: Writing requests to '2016-05-03_MWE.run.xml'.
\openout1 = `2016-05-03_MWE.run.xml'.
)
Here is how much of TeX's memory you used:
6100 strings out of 493634
107487 string characters out of 3142935
492623 words of memory out of 3000000
9485 multiletter control sequences out of 15000+200000
4591 words of font info for 17 fonts, out of 3000000 for 9000
1025 hyphenation exceptions out of 8191
44i,4n,45p,833b,950s stack positions out of 5000i,500n,10000p,200000b,50000s
<D:/Program Files D/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx12.pfb><D:/
Program Files D/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb><D:/Program
Files D/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmti10.pfb>
Output written on 2016-05-03_MWE.pdf (1 page, 39108 bytes).
PDF statistics:
18 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
{\c{c}}
当替换为时,错误消失,文档可以编译c
。
答案1
最后,我可以用上面的 MWE 重现这个问题。我猜这与Biber 2.4、微型字体和特殊字符,那里提到的解决方法在这里也有效。
一个简单的解决方法是加载fontenc
包时选择T1
正确的非 ASCII 字符
\usepackage[T1]{fontenc}
在即将推出的 3.4 版本中biblatex
该问题将会被修复。
答案2
对于在升级 TeXLive 后遇到此问题的人,请在尝试上述解决方案之前尝试清理编译目录。这意味着删除所有自动生成的文件,如 *.aux、*.bbl。您可能会节省一些时间:)