我只知道latex的基础知识,我在IET修改的参考文献文件
iet.bst的第1838行是这样的:
我之所以指出错误的原因是因为当我从
iet.bst
中遇到了错误,这个文件是用于写论文并发表的latex文件。错误出现在@webpage参考文献条目类型中,我已经搜索过了,我认为问题可能出在某些应该是可选字段的地方,而且可能被错误地弹出,从而导致错误出现。
![error message](https://istack.dev59.com/IGN1g.webp)
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
我之所以指出错误的原因是因为当我从
main.tex
中移除Arduino:2020
的@webpage引用时,错误就消失了。但是,正如我已经说过的,我只知道latex的基础知识:(奇怪的是,即使有这个错误,PDF文件似乎也没有问题。如果有人能帮助我,我将不胜感激。谢谢