------------
Running 'biber --quiet "main.bcf"'
------------
Latexmk: applying rule 'biber main'...
Latexmk: Failed to find one or more biber source files:
Rule 'xelatex': File changes, etc:
Changed files, or newly in use since previous run(s):
'Main_Spine/c1.aux'
'Main_Spine/c2.aux'
'Main_Spine/c3.aux'
'Main_Spine/c4.aux'
'Main_Spine/c5.aux'
'Main_Spine/c6.aux'
'main.aux'
'main.bbl'
'main.gls'
'main. Listing'
日志末尾返回值段
Latexmk: All targets (main.xdv main.pdf) are up-to-date
Collected error summary (may duplicate other messages):
biber main: Could not find all biber source files for 'main'
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs, or warnings treated as errors.
C:\texlive\2020\bin\win32\runscript.tlu:915: command failed with exit code 12:
perl.exe c:\texlive\2020\texmf-dist\scripts\latexmk\latexmk.pl
------------
Running 'biber "main.bcf"'
------------
Latexmk: applying rule 'biber main'...
INFO - This is Biber 2.16
INFO - Logfile is 'main.blg'
INFO - Reading 'main.bcf'
INFO - Found 5 citekeys in bib section 0
INFO - Using all citekeys in bib section 1
INFO - Found 0 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'References/reference.bib' for section 0
INFO - LaTeX decoding ...
INFO - Found BibTeX data source 'References/reference.bib'
INFO - Overriding locale 'en-US' defaults 'normalization = NFD' with 'normalization = prenormalized'
INFO - Overriding locale 'en-US' defaults 'variable = shifted' with 'variable = non-ignorable'
INFO - Sorting list 'none/global//global/global' of type 'entry' with template 'none' and locale 'en-US'
INFO - No sort tailoring available for locale 'en-US'
INFO - Processing section 1
INFO - Looking for bibtex format file 'References/reference.bib' for section 1
INFO - Looking for bibtex format file 'References/achievement.bib' for section 1
INFO - LaTeX decoding ...
INFO - Found BibTeX data source 'References/achievement.bib'
INFO - Overriding locale 'en-US' defaults 'variable = shifted' with 'variable = non-ignorable'
INFO - Overriding locale 'en-US' defaults 'normalization = NFD' with 'normalization = prenormalized'
INFO - Sorting list 'none/global//global/global' of type 'entry' with template 'none' and locale 'en-US'
INFO - No sort tailoring available for locale 'en-US'
INFO - Writing 'main.bbl' with encoding 'UTF-8'
INFO - Output to main.bbl
Latexmk: Found biber source file(s) [References/achievement.bib References/reference.bib main.bcf]
Rule 'xelatex': File changes, etc:
Changed files, or newly in use since previous run(s):
'Main_Spine/c1.aux'
'Main_Spine/c2.aux'
'Main_Spine/c3.aux'
'Main_Spine/c4.aux'
'Main_Spine/c5.aux'
'Main_Spine/c6.aux'
'main.aux'
'main.bbl'
'main.gls'
'main. Listing'
Latexmk: All targets (main.xdv main.pdf) are up-to-date
软件信息
Bug 说明
clean.bat
清除临时文件后,执行latexmk.exe
编译Could not find all biber source files for 'main'
,并且返回错误码12
,但pdf文件生成正常日志中的
biber
段日志末尾返回值段
一个可能的解决方案
我尝试将
latexmkrc
文件中的$biber = "biber --quiet %O %S";
行改为$biber = "biber %O %S";
(删去--quiet
),问题就莫名其妙地解决了修改
latexmkrc
文件后,再次清除临时文件并执行latexmk.exe
编译,对应日志部分分别为一切正常。
然而我并没有搜到
quiet
参数与Latexmk
报错之间的关联。可能是latexmk
必须读取biber
的日志输出来判断索引?但总之这样改是work的,且去掉
quiet
参数不会带来什么额外的影响附件 包含quiet选项的输出日志 不含quiet选项的输出日志