我正在使用命令链来处理以下形式的乳胶文件:
pdflatex file && bibtex file && pdflatex file && pdflatex file
虽然这在 中运行得很好bibtex
,但当我使用 时,bibtex8
链会在bibtex8 file
命令后立即停止。事实上,bibtex8
命令的退出代码是 ,1
而对于bibtex
则是0
,尽管处理成功结束,没有错误,并且生成的file.bbl
文件是相同的。要么bibtex
产生bibtex8
两个警告:
bibtex file
The top-level auxiliary file: ERSEM-release.aux
The style file: copernicus.bst
Database file #1: ../bibtex-db/bibtex-db.bib
Database file #2: ../bibtex-db/me.bib
Database file #3: ../bibtex-db/misc.bib
Warning--empty booktitle in falkowski_primary_1992
Warning--missing institution in dickson_guide_2007
(There were 2 warnings)
echo $?
0
相应地:
bibtex8 file
The 8-bit codepage and sorting file: 88591lat.csf
The top-level auxiliary file: ERSEM-release.aux
The style file: copernicus.bst
Database file #1: ../bibtex-db/bibtex-db.bib
Database file #2: ../bibtex-db/me.bib
Database file #3: ../bibtex-db/misc.bib
Warning--empty booktitle in falkowski_primary_1992
Warning--missing institution in dickson_guide_2007
(There were 2 warnings)
echo $?
1
有任何建议为什么两个退出代码会不同以及我如何改变这种行为?