我只了解乳胶的基础知识,我在参考书目文件中遇到错误
iet.bst
由IET修改的参考书目文件,并作为乳胶文件提供以撰写要发表的论文。
该错误出现在 @webpage 参考书目条目类型中,正如我已经搜索过的那样,我认为它与某些应该是可选的字段有关,并且在可能错误地弹出之后,出现错误。
来自 iet.bst 的第 1838 行是这样的:
ITERATE {call.type$}
网页入口类型的代码是这样的:
% Title and url fields required;
% author, note, year, month, and lastchecked fields optional
STRINGS {database}
FUNCTION {webpage}
{ output.bibitem
author empty$
{ editor empty$
'skip$ % author and editor both optional
{ format.editors output.nonnull }
if$
}
{ editor empty$
{ format.authors output.nonnull }
{ "can't use both author and editor fields in " cite$ * warning$ }
if$
}
if$
% author empty$
% 'skip$
% { format.authors output.nonnull }
% if$
new.block
format.title "title" output.check
journal empty$
{
format.type "type" output.check
publisher empty$
'skip$
{ format.publisher.address output }
if$
"database on the Internet" 'database :=
type database =
{ format.journal.date "year" output.check }
{ format.date "year" output.check }
if$
lastchecked empty$
'skip$
{ format.lastchecked output }
if$
new.block
part empty$
'skip$
{ part output }
if$
pages empty$
'skip$
{ pages bracket.check output }
if$
}
{ journal
remove.dots
"journal" bibinfo.check
"journal" output.check
format.type "type" output.check
format.journal.date "year" output.check
lastchecked empty$
'skip$
{ format.lastchecked output
";" no.blank.or.punct output
}
if$
no.blank.or.punct format.vol.num output
pages empty$
'skip$
{ ":" no.blank.or.punct output
no.blank.or.punct pages bracket.check output
}
if$
new.block
}
if$
format.url "url" output.check
new.block
note output
fin.entry
}
% ...urlbst to here
向我指出错误的原因在于该部分,是因为当我从
Arduino:2020
中删除 main.tex
的条目 @webpage 指示物时,错误消失了,但正如我已经说过的,我只知道乳胶的基本知识:(
奇怪的是,即使有这个错误,pdf 的渲染显然没有问题。
如果有人帮助我,我很感激。
谢谢你
我在 @article 条目类型上遇到了同样的错误。 就我而言,似乎当字段“volume = {volume number}”和“number = {issue number}”尽管是可选的但未添加到文章的条目中时,会弹出此错误。将上述字段添加到我的条目后,错误消失了。尝试将相关的可选字段添加到您的条目中。另外,也许将您的条目更改为其他条目类型(例如“misc”)可以解决您的问题。
将条目从
article
更改为 misc
解决了我的问题。
我尝试向条目添加字段,但它无法解决问题。
我遇到过一次,我手动将文章的卷添加到BibTeX文件中,然后错误就解决了。
我将编译命令从bibtex更改为pbibtex,问题解决了。
添加到@AreumBae 的解决方案中,我对@inproceedings 条目类型也遇到了类似的问题。此错误是由于 .bst 文件不期望的字段引起的,特别是“卷”字段类型。删除此条目解决了问题。