分享

Bibtex Error

 dzh1121 2013-03-18
今天遇到了2钟bibtex的错误。
注:在texmaker中,当我们按下F11运行bibtex时,错误信息会在 .blg 文件中。
  或者,我们可以在terminal中运行:
   1) pdflatex main.tex  
   2) bibtex main.aux  (main.tex是主文件夹)
来查看显示在terminal上的错误提示。

今天遇到的两钟错误分别是:
1:Too many commas in name 1  ~~~~~~~~~~~~~~~~
这个的原因是:
bibtex 太聪明了。  其严格的要求是: 作者名之间用 & 或者 and 隔开
而有些标准是用 comma(逗号)隔开的。  这样就容易造成混淆
例如
Wang, Dawei  在英文中是被允许的。(而且很常见,尤其是在正式场合)
导致, Wang,Dawei, Li,Tianya  会让bibtex 混淆。
Commas could serve two purposes in the author field, separating last names from first names (in "last,
first" format) and separating names of different authors. BibTeX only lets you use them one way.
这个问题,在下面的问题(问题2)解决之后,基本可以忽略(亦即bibtex对每一个引用item 分别解析,看是用那种方式写的名字。)

解决方法: 在相应的错误项上,更改姓名的格式即可( comma 换成 and)

2:I'm skipping whatever remains of this entry
You're missing an entry type---line 5024 of file image_forensics.bib


这个通常是jabref的编码问题。
解决方案:
jabref ——》 options-> preference -> General -> default decoding ->  UTF8
这样,即可保证以后进来的引用项都是UTF8格式的。
但是,existing items 还没有变。
我们需要通过一个网站来转换格式: 

UTF to UTF Conversion

http://www./convert/text/utf2utf.htm

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多