-
Notifications
You must be signed in to change notification settings - Fork 8
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
The cs:alternative extension seems to be not supported #38
Comments
It seems that this feature is marked as deprecated. Is it still required by some Japanese styles? |
I totally overlooked that the cs:alternative extension is deprecated. Recently, I created a style that supports this feature. I also have a plan to create a few more CSL-M styles. https://github.com/kotobuki/chicago-fullnote-bibliography-short-title-subsequent-ja-csl In the CSL style file,
This is useful because we can handle original and translated items as a single bibliography item. However, since this feature has been marked as deprecated, it's a bad idea to propose implementing this. An alternative idea is to create an item for a translated book and add fields such as |
I updated the style file to use [
{
"id": "morgan2023jiyu",
"author": [
{ "family": "Morgan", "given": "Casey" },
{ "family": "Patrov", "given": "Alexei" }
],
"citation-key": "morgan2023jiyu",
"event-place": "東京",
"issued": { "date-parts": [[2023]] },
"language": "ja",
"original-date": { "date-parts": [[2022]] },
"original-publisher": "Global Academic Press",
"original-publisher-place": "Chicago, IL",
"original-title": "The Philosophy of Free Will",
"publisher": "城南大学出版会",
"publisher-place": "東京",
"title": "自由意志の哲学",
"translator": [{ "family": "鈴木", "given": "真紀" }],
"type": "book"
}
] The results with the style file were as follows:
I was happy to find that the orders of names were handled correctly (i.e., given-family for so-called Latin names and family-give for Japanese names). Thank you very much for creating such a useful tool. 🙏 |
Hi,
As a researcher and developer in Japan, I'm super happy to see that the
cs:layout
extension of CSL-M has been supported in citeproc-lua. 🙇 I just confirmed that the feature works fine with a few CSL-M style files!A missing feature is the
cs:alternative
extension such asalt-translator
. Would you happen to have a plan to support the extension?Here is an example of a bibliography item that contains
alt-translator
,alt-issued
,alt-publisher-place
, andalt-publisher
.The text was updated successfully, but these errors were encountered: