Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

中文参考文献超过3个作者格式如何修改 #157

Open
JokerZhang66 opened this issue Mar 3, 2024 · 4 comments
Open

中文参考文献超过3个作者格式如何修改 #157

JokerZhang66 opened this issue Mar 3, 2024 · 4 comments

Comments

@JokerZhang66
Copy link

编译环境

宏包版本:gbt7714 v2.0
标注样式:numbers

描述问题

中文参考文献的作者超过三位后,第三个作者后不用加",",直接后面加上等就行,这样该如何修改呢?

bib 数据库代码:

@article{DZYX20240202001,
author = {  孙钰 and     严宇 and     崔剑 and     熊高剑 and 刘建华},
title = {联邦学习深度梯度反演攻防研究进展},
journal = {电子与信息学报},
 pages = {1-15},
issn = {1009-5896},
}    

截图:

image

@zepinglee
Copy link
Owner

zepinglee commented Mar 3, 2024

大致是修改这一部分。

{ ", " *
bbl.et.al *
#1 'namesleft :=
}

英文的 “et al.” 前也没逗号?

@JokerZhang66
Copy link
Author

大致是修改这一部分。

{ ", " *
bbl.et.al *
#1 'namesleft :=
}

英文的 “et al.” 前也没逗号?

学校的格式要求是这样的:
[1]孙丹,朱城聪,许作栋等.基于生成式人工智能的大学生编程学习行为分析研究[J/OL].电化教育研究,2024,(03):113-120
[2]Gubbi J, Buyya R, Marusic S, et al. Internet of Things (IoT): A vision, architectural elements, and future directions[J]. Future generation computer systems, 2013, 29(7): 1645-1660.

@JokerZhang66
Copy link
Author

大致是修改这一部分。

{ ", " *
bbl.et.al *
#1 'namesleft :=
}

英文的 “et al.” 前也没逗号?

具体该如何修改呢,我不太懂这个语法,麻烦了

@zepinglee
Copy link
Owner

这一段改成:

        { entry.lang lang.zh =
            'skip$
            { ", " * }
          if$
          bbl.et.al *
          #1 'namesleft :=
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants