Juris-M / citeproc-js

A JavaScript implementation of the Citation Style Language (CSL) https://citeproc-js.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default rendering for contributor name in Katakana and Romanesque for a Japanese entry

frianasoa opened this issue · comments

The default display for Japanese contributors seems to be hard-coded in citeproc-js.

I would like to suggest new rendering defaults that take into consideration katakana and original non-Japanese authors' names, which should not be displayed the same way as Japanese names.

Japanese names

Keep as the current default: always Family Given

Katakana names

  • Given Family: マイケル・ジャクソン
  • Family Given (name-as-sort-order): ジャクソン, マイケル

As far as I know, this is how katakana names are written in general, at least in my field. I could be mistaken though. Still, I think this is a better default than the current one. For now I am hard-coding the punctuation "・" but we could attach that to a value if needed.

Romanesque names

Force to follow romanesque rules instead of Japanese.

This inadvertently follows Japanese name rendering when the language is "ja", which is not appropriate. I wonder if the current default makes sense in certain contexts/fields.

Options

In case the old default works for other people, an option to keep the legacy defaults or activate the new defaults could be added.

I understand we cannot cater for every language irregularities but I believe that with this, it will make more sense to use citeproc-js for Japanese in certain fields such as mine.

I am new to the community so I might have missed something as well. In this case, I would be glad if someone could point me to the right direction.

Links

If allowed, I will submit a pull request, but first, I would like to know if my suggestion makes sense to be added.

Thank you!