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

Handling of explicit nameparts #8760

Closed
pcdi opened this issue May 5, 2022 · 2 comments
Closed

Handling of explicit nameparts #8760

pcdi opened this issue May 5, 2022 · 2 comments

Comments

@pcdi
Copy link

pcdi commented May 5, 2022

Is your suggestion for improvement related to a problem? Please describe.
I am working a lot with Chinese sources. Since the name formatting is different from Western names, I am using the extended name format, which adds custom nameparts.

An overview of how this works with Ethiopian names is provided in this TeX.StackExchange answer. In summary, in addition to the nameparts family, given, etc., I am adding a namepart called cjk, which holds the Chinese characters for the person.

These changes are made through biblatex's datamodels: An example .dbx datamodel file can be found here, the corresponding .tex document here, and the resulting PDF here.

In my .bib entries, I am then able to use, for example:

author = {cjk=张康之, family=Zhang, given=Kang\-zhi, nametemplates=cjk},

While this approach works flawlessly with biblatex/biber, it has certain drawbacks when working with JabRef:
JabRef sees the explicit nameparts as part of the name, so the above example shows cjk=张康之 in the Author/Editor column of the main table. Depending on what namepart comes first, JabRef will show that namepart. For example, if the order were as follows:

author = {family=Zhang, given=Kang\-zhi, cjk=张康之, nametemplates=cjk},

JabRef would show family=Zhang in the Author/Editor column.
The same behavior appears in the entry preview, where the author shows up as cjk or family, respectively.

This naturally also extends to JabRef's search function, where family=Zhang and Zhang would appear as two distinct "last names".

This behavior also emerges when no custom nameparts are used, so it also applies to

author = {family=lastname, given=firstname},

Describe the solution you'd like
Explicit nameparts should be ignored for display purposes and treated as equal to implicit nameparts for internal purposes. Additionally, checking for "Names are not in standard biblatex format" should take into account any custom additions that can be provided to JabRef via the standardized biblatex .dbx datamodel file.

Additional context
Related info: plk/biblatex#416
https://tex.stackexchange.com/a/320738
https://tex.stackexchange.com/a/390393

@Siedlerchr
Copy link
Member

Refs #4558

@koppor
Copy link
Member

koppor commented Mar 25, 2024

Closing as duplicate of #4558. (Because we need to reduce the number of issues to be able to handle with our contributors power)

@koppor koppor closed this as completed Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants