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

[Bug]: 引用英文论文时,应显示“等”而不是“et al.” #268

Closed
c-my opened this issue Mar 27, 2023 · 3 comments
Closed

[Bug]: 引用英文论文时,应显示“等”而不是“et al.” #268

c-my opened this issue Mar 27, 2023 · 3 comments

Comments

@c-my
Copy link

c-my commented Mar 27, 2023

发生了什么?

在中文论文模板中,使用\citet引用英文论文时,作者名称后显示"et al."

你期望的结果

作者名称后应显示“等”而不是"et al."

问题复现的步骤

  1. main.bib中插入一遍英文文献的bibtex信息
  2. 在正文中使用\citet进行引用

最小可复现用例或者截图

使用\citet{NIPS2017_3f5ee243}发现引用以下文献

@inproceedings{NIPS2017_3f5ee243,
 author = {Vaswani, Ashish and Shazeer, Noam and Parmar, Niki and Uszkoreit, Jakob and Jones, Llion and Gomez, Aidan N and Kaiser, \L ukasz and Polosukhin, Illia},
 booktitle = {Advances in Neural Information Processing Systems},
 editor = {I. Guyon and U. Von Luxburg and S. Bengio and H. Wallach and R. Fergus and S. Vishwanathan and R. Garnett},
 pages = {},
 publisher = {Curran Associates, Inc.},
 title = {Attention is All you Need},
 url = {https://proceedings.neurips.cc/paper_files/paper/2017/file/3f5ee243547dee91fbd053c1c4a845aa-Paper.pdf},
 volume = {30},
 year = {2017}
}

效果如下图所示:
图片

操作系统或平台

Windows

LaTeX 发行版以及发行年份

TexLive 2023

BIThesis 模板

graduate-thesis

日志信息

No response

@fky2015
Copy link
Contributor

fky2015 commented Mar 27, 2023

下图是《北京理工大学研究生学位论文撰写规范》,看起来“等”和“et al.”均可。(当然“,”因为不符合国标的原因暂时没有处理,一般不影响)
image

另外其他模板倒是也遇到了类似的需求 mohuangrui/ucasthesis#95 (comment)

简单来说,如果一定想要正文引用在任何地方都出现“等”,可以添加 gbcitelocal=chinesemain.tex 中:

\usepackage[
  %%% 此处
  gbcitelocal=chinese,
  defernumbers=true,
  backend=biber,
  style=gb7714-2015,
  gbalign=gb7714-2015,
  gbnamefmt=lowercase,
  gbpub=false,
  gbannote=true,
  gbpunctin=false,
  doi=false,
  url=false,
  eprint=false,
  isbn=false,
]{biblatex}

但请注意:参考文献部分也会收到影响。


修正:见下楼。

@hushidong
Copy link

加gbcitelocal=chinese就只影响引用标注标签

@c-my
Copy link
Author

c-my commented Mar 27, 2023

感谢回复,使用gbcitelocal=chinese方式已解决。

@c-my c-my closed this as not planned Won't fix, can't repro, duplicate, stale Mar 27, 2023
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

3 participants