我正在尝试在背面制作一个模板。我遇到了这个错误。
您可以看到引用不起作用,它显示为问号。这是我的文件夹的视图。
这是我在 main.tex 末尾写的内容
\bibliographystyle{plain}
\bibliography{ref}
这是我在第三章中写的内容,
\chapter{Simulation}
This is a test \cite{choudhary2006heterosis}
错误信息是这样的。
这是我的 ref.bib 文件中的内容。
@article{choudhary2006heterosis,
title={HETEROSIS IN RELATION TO COMBINING ABILITY IN HYBRIDS BETWEEN MULTIVOLTINE AND BIVOLTINE BREEDS OF THE SILKWORM, BOMBYX MORI L.},
author={CHOUDHARY, NAZIA and SINGH, AVINDRA},
journal={Uttar Pradesh Journal of Zoology},
pages={23--28},
year={2006}
}
这是 output.blg
This is BibTeX, Version 0.99d (TeX Live 2022)
Capacity: max_strings=200000, hash_size=200000, hash_prime=170003
The top-level auxiliary file: output.aux
White space in argument---line 3 of file output.aux
: \@input{Parts
: of the report/2_Declaration.aux}
I'm skipping whatever remains of this command
White space in argument---line 4 of file output.aux
: \@input{Parts
: of the report/4_Theory.aux}
I'm skipping whatever remains of this command
White space in argument---line 5 of file output.aux
: \@input{Parts
: of the report/5_Equipments.aux}
I'm skipping whatever remains of this command
White space in argument---line 6 of file output.aux
: \@input{Parts
: of the report/6_Procedure.aux}
I'm skipping whatever remains of this command
White space in argument---line 7 of file output.aux
: \@input{Parts
: of the report/7_Calculation.aux}
I'm skipping whatever remains of this command
White space in argument---line 8 of file output.aux
: \@input{Parts
: of the report/8_Result.aux}
I'm skipping whatever remains of this command
White space in argument---line 9 of file output.aux
: \@input{Parts
: of the report/9_Simulation.aux}
I'm skipping whatever remains of this command
White space in argument---line 10 of file output.aux
: \@input{Parts
: of the report/10_Conclusion.aux}
I'm skipping whatever remains of this command
White space in argument---line 11 of file output.aux
: \@input{Parts
: of the report/Appendix.aux}
I'm skipping whatever remains of this command
The style file: plain.bst
I found no \citation commands---while reading file output.aux
Database file #1: ref.bib
You've used 0 entries,
2118 wiz_defined-function locations,
496 strings with 3986 characters,
and the built_in function-call counts, 18 in all, are:
= -- 0
> -- 0
< -- 0
+ -- 0
- -- 0
* -- 2
:= -- 7
add.period$ -- 0
call.type$ -- 0
change.case$ -- 0
chr.to.int$ -- 0
cite$ -- 0
duplicate$ -- 0
empty$ -- 1
format.name$ -- 0
if$ -- 1
int.to.chr$ -- 0
int.to.str$ -- 0
missing$ -- 0
newline$ -- 3
num.names$ -- 0
pop$ -- 0
preamble$ -- 1
purify$ -- 0
quote$ -- 0
skip$ -- 1
stack$ -- 0
substring$ -- 0
swap$ -- 0
text.length$ -- 0
text.prefix$ -- 0
top$ -- 0
type$ -- 0
warning$ -- 0
while$ -- 0
width$ -- 0
write$ -- 2
(There were 10 error messages)
答案1
感谢 Ulrike Fischer。她指出我不应该在文件夹或文件名称中使用空格,因为这是罪魁祸首。