如何编辑 BibTeX .bst FUNCTION {format.names}?
在尝试了几个 .bst 文件之后,我仍然对 ChicagoReedWeb.bst 文件的布局非常满意。但是,我不喜欢同一作者对条目的处理,例如:
如果看过ChicagoReedWeb.bst 文件,但只了解一些基础知识。 那么如何编辑 ChicagoReedWeb.bst 文件的代码,使其打印作者的完整参考文献而不是“--------”?
After trying several .bst files I am still mostly satisfied with the layout of the ChicagoReedWeb.bst file. However, I don't like the handling of entries by the same author, eg:
If have looked at the ChicagoReedWeb.bst file but only understand some of the basics.
So how can I edit the code of the ChicagoReedWeb.bst file in such a way that it will print the author's full reference instead of the "--------" ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,这很好超出了我之前使用 BibTeX 的经验,但是查看该文件,我得到的印象是
name.or.dash
部分正在将名称替换为如果与前一个相同,则划线。我建议尝试将此代码替换为
:如果我对语法的理解是正确的,这应该简单地删除比较和可选更改,并保留您想要的名称。
一种稍微简洁的方法可能是在您不需要的地方删除对 name.or.dash 的调用。这将使您更灵活地决定是否需要用破折号代替重复的书名等。
OK, this is well outside my previous experience with BibTeX, but looking at the file, I get the impression that the
name.or.dash
section is replacing the name with a dash if it's the same as the previous one. I suggest trying replacing this code:with this:
If my understanding of the syntax is correct, this should simply remove the comparison and optional change, and leave the name as you want it.
A slightly tidier approach might be to take out the calls to
name.or.dash
in the places which you don't want them. That will give you more flexibility about whether you want a dash in place of, for example, a repeated book name.