Haixing-Hu / GBT7714-2005-BibTeX-Style

A GB/T 7714-2005 national standard compliant BibTeX style.
GNU General Public License v2.0
352 stars 65 forks source link

若author项中有声调,则编译出错 #10

Open JfDw opened 8 years ago

JfDw commented 8 years ago

@book{lamport1994latex, author={Leslie \v{L}amport}, %此处使用\v,则编译报错 title={\LaTeX{} A Document Preparation System: User's Guide and Reference Manual}, year={1994}, edition={2}, address={Reading, Massachusetts}, publisher={Addison-Wesley}, }

报错信息: Undefined control sequence. \bibauthor{\V{L}AMPORT L}

其他声调,如\'等似乎没有问题

bestucan commented 8 years ago

你这问题问的,报错信息是大写的\V,原文是小写的\v。大写的是错的,不用bibtex在正文中也是错的。当然报错。小写是对的,我用小写放作者处编译就没问题。在看看原文到底是大写还是小写。

JfDw commented 8 years ago

@bestucan 你再试试,注意\v是放在作者的last name中编译会报错,如果放在first name中当然没有问题,我估计是在将last name转换成大写的时候也把\v转换成大写的了,所以报错

bestucan commented 8 years ago

额~,确实是,但我找到解决方法了。把那个字幕母括起来。这样:author={{Leslie {\v{L}}amport}},

bestucan commented 8 years ago

@JfDw

JfDw commented 8 years ago

@bestucan 收到,测试可行,谢谢!

liudonglei commented 8 years ago

遇到同样的问题,貌似是这个.bst转换的时候把name的所有字母都转为大写了。