-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Chinese author of essay reference section displays extra space #7199
Comments
Hi @xiaodongcentury! I just have some follow up questions,
You mean without space/comma?
Are you referring to an ideographic comma? Should it not be included? |
If it is the author's name in the pdf file that has an extra space, I don't think there is anything you can do in JabRef. The reason why you need that space/comma in the authors' name field has to do with how BibTeX/biblatex handles name (there are a lot of post/discussions on the topic, e.g., https://nwalsh.com/tex/texhelp/bibtx-23.html) and cannot be changed by JabRef. In theory the gb7714 package should deal with this situation correctly, but I can't find enough English documentation to say for sure. I'd recommend that you ask in a TeX/LaTeX/Biblatex forum regarding the usage of xeCJK/gb7714 because I am not familiar enough with their use to help you out =/ |
A potential workaround could be to remove the space after generating the key or to use a different citation key pattern but I'd guess that might lead to further issues later on. |
Thanks! |
Good that you got it to work! In the interest of keeping it working for future releases, I hope you don't mind answering some further questions?
|
Thank you!
|
I did a bit of research, but it seems there is no agreed standard of how to put Chinese names in bibtex. By default the naming parsing of biblatex and JabRef assume that name parts are separated by space. Maybe the strategy outlined at |
Thanks! |
We have improved the author parsing from 5.0 to 5.1, and made it align better with biblatex. So the reason why it works in the alpha is actually a bug that was fixed later (unfortunately it leads to problems for chinese names). Another idea would be to put the name (or parts of it?) in braces, e.g. |
Ah, that's a lot of work to do. |
I don't have time to write a full answer to this right now but you both are right. |
@k3KAW8Pnf7mkmdSMPHz27 Thanks |
@tobiasdiez it seems like the {} doesn't work, whether whole name or part of it. |
Thanks to @k3KAW8Pnf7mkmdSMPHz27 this should be fixed in the latest development version. Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version. |
Thank you ALL! |
Hi, i am using JabRef (JabRef 5.2--2020-12-14--e9be339 Linux 5.9.0-4-amd64 amd64 Java 15.0.1) on Debian sid.
JabRef version on
After importing the Chinese essay, manually insert a space or comma, such as 杨 秀群, the citationkey will generate successfully, but the Reference section of essay will display "杨 秀群 "(there is a space between杨 and 秀群) , not "杨秀群".
How could you resolve this problem, thanks!
The JabRef screenshot.
The corresponding pdf file screenshot.
And the bibliography file is
The text was updated successfully, but these errors were encountered: