我正在使用子文件包制作一个相当大的文档,其安排如下:
- The main folder containing a "Main.tex" file.
- Another folder inside the main folder containing all the subfiles.
在对子文件运行 biber 后,它正确地捕获了引用,但是当我尝试编译主文件时,它会生成以下内容:
INFO - This is Biber 2.14
INFO - Logfile is 'main.blg'
INFO - Reading 'main.bcf'
INFO - Found 58 citekeys in bib section 0
INFO - Processing section 0
INFO - Globbing data source 'With_all_set_up.bib'
INFO - Globbed data source 'With_all_set_up.bib' to With_all_set_up.bib
INFO - Looking for bibtex format file 'With_all_set_up.bib' for section 0
INFO - LaTeX decoding ...
INFO - Found BibTeX data source 'With_all_set_up.bib'
WARN - ISBN '19127' in entry 'Shaker' is invalid - run biber with '--validate_datamodel' for details.
WARN - ISBN '6-3227-90-977-978' in entry 'Eshak2015' is invalid - run biber with '--validate_datamodel' for details.
WARN - ISBN '0521299780 9780521299787' in entry 'Browning1983' is invalid - run biber with '--validate_datamodel' for details.
WARN - ISBN '9772320777' in entry 'Omar1970' is invalid - run biber with '--validate_datamodel' for details.
WARN - ISBN '977-5109-76-D' in entry 'Demit2012' is invalid - run biber with '--validate_datamodel' for details.
WARN - ISBN '9970165418' in entry 'Misc1886' is invalid - run biber with '--validate_datamodel' for details.
WARN - ISBN '2-162-241-977' in entry 'Andreas2015' is invalid - run biber with '--validate_datamodel' for details.
FATAL - Caught signal: SEGV
Likely your .bib has a very bad entry which causes libbtparse to crash:
如果我的条目有误,那么 Biber 就不会在子文件中运行,也不会正确引用参考资料。那么,有什么建议吗?其中一个子文件的 *.BLG 文件的内容如下:
[0] Config.pm:304> INFO - This is Biber 2.14
[1] Config.pm:307> INFO - Logfile is 'chapter5.blg'
[250] biber-MSWIN32:322> INFO - ===
[400] Biber.pm:415> INFO - Reading 'chapter5.bcf'
[703] Biber.pm:943> INFO - Found 6 citekeys in bib section 0
[768] Biber.pm:4256> INFO - Processing section 0
[769] Utils.pm:75> INFO - Globbing data source 'With_all_set_up.bib'
[898] Utils.pm:91> INFO - Globbed data source 'With_all_set_up.bib' to With_all_set_up.bib
[1437] Biber.pm:4455> INFO - Looking for bibtex format file 'With_all_set_up.bib' for section 0
[1677] bibtex.pm:1653> INFO - LaTeX decoding ...
[2187] bibtex.pm:1471> INFO - Found BibTeX data source 'With_all_set_up.bib'
[2906] Utils.pm:304> WARN - ISBN '2-162-241-977' in entry 'Andreas2015' is invalid - run biber with '--validate_datamodel' for details.
[3098] UCollate.pm:68> INFO - Overriding locale 'ar-001' defaults 'variable = shifted' with 'variable = non-ignorable'
[3098] UCollate.pm:68> INFO - Overriding locale 'ar-001' defaults 'normalization = NFD' with 'normalization = prenormalized'
[3098] Biber.pm:4084> INFO - Sorting list 'nty/global//global/global' of type 'entry' with template 'nty' and locale 'ar-001'
[3123] bbl.pm:652> INFO - Writing 'chapter5.bbl' with encoding 'UTF-8'
[3162] bbl.pm:755> INFO - Output to chapter5.bbl
[3163] Biber.pm:128> INFO - WARNINGS: 1
研究该文件后,发现该问题是由以下参考资料引起的:
@online{Wikivowelfile2019,
author = {,Wikimedia Commons},
title = {Daniel Jones's 18 Cardinal Vowels},
year = 2019,
url = {https://commons.wikimedia.org/wiki/File:Daniel_Jones%27s_18_Cardinal_Vowels.svg},
urldate = {2018-08-16},
langid = {english},
keywords = {English}
}
``````````````````````````````````````````````````````````
It is caused by the URL component since it contains the "%" character. Upon removing the URL component, the file runs without issues.