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

font-style="italic" doesn't work for Chinese publication #180

Open
redleafnew opened this issue Apr 4, 2021 · 17 comments
Open

font-style="italic" doesn't work for Chinese publication #180

redleafnew opened this issue Apr 4, 2021 · 17 comments

Comments

@redleafnew
Copy link

I post this issue on citation-style-language/styles#5323 and https://forums.zotero.org/discussion/88346/font-style-italic-doesnt-work-for-chinese-publication#latest

@ocouch suggest to post here.

The original contents:

I edited a csl file, and used font-style="italic" for , the code is
,

and the English publication italicizes, however the Chinese publication remains unchanged.

the snapshot:
italic
111126340-8f015e00-85ad-11eb-931d-79f947924537

the gist: https://gist.github.com/redleafnew/1139eb32d6204ca4eebfd2e90dd75d18

an example item:https://gist.github.com/redleafnew/9b71ab6b5577bb32a7504ee0916d9939

IEEE.csl also can be used as the example csl.

Many thanks.

@ocouch
Copy link

ocouch commented Apr 5, 2021

His copy paste hasn't come through well. I've confirmed this bug using @redleafnew 's example files.
Here's the TL:DR;

  • font-style="italic" does not work when applied to the container-title variable when container-title contains only Chinese text and certain characters (tested " " "." "[" "]" "µ" "±" "°") : <text variable="container-title" font-style="italic"/>
  • font-style="italic" does work when applied to the container-title variable when container-title contains certain non-Chinese characters. I have tested with letters of the english alphabet and "-": <text variable="container-title" font-style="italic"/>
  • font-style="italic" does work when applied to the title variable when title contains Chinese text. <text variable="title" font-style="italic"/>
  • font-style="italic" does work when applied to the title variable when title contains English text. <text variable="title" font-style="italic"/>

Notably, it works correctly in the Zotero quick drop-down box in the MS-Word Add in (not sure if that's using a different implementation of cite-proc).

image

Only Chinese:
image

A single non-Chinese character:
image

Test File: https://www.dropbox.com/s/eqvihiwdbcx9ox3/Exported%20Items.json?dl=0
I modified only the publication (container-title) field of this item to test this.

For reference, I tested with Zotero 5.0.96

@fbennett
Copy link
Contributor

fbennett commented Apr 5, 2021 via email

@ocouch
Copy link

ocouch commented Apr 5, 2021

Haha - "It's not a bug, it's a feature!"

I'm not familiar with the standards, just reproducing the issue. I'll leave that for @redleafnew, he maintains a repository of Chinese styles: https://github.com/redleafnew/Chinese-STD-GB-T-7714-related-csl

Making it an option to enable italics might be the way to go?

@redleafnew
Copy link
Author

thanks @ocouch and @fbennett , I checked some Journals' and thesis requirements, which mention foreign publication title should be italic, but for Chinese one, no specification is regulated. When I prepared a project, italic publication title is required. As @ocouch mentioned, making it an option is indeed a good way to go.

@bwiernik
Copy link
Contributor

bwiernik commented Apr 5, 2021

When I prepared a project, italic publication title is required

What do you mean by that? Is there a publisher or institution that is asking for italic typesetting for Chinese characters?

@redleafnew
Copy link
Author

yes, the institution asked us for italic typesetting for Chinese publication title?

@ocouch
Copy link

ocouch commented Apr 6, 2021

@redleafnew Which institution(s), specifically? @bwiernik said it's a major change - ie. lots of work so gotta give him some evidence to do it

@bwiernik
Copy link
Contributor

bwiernik commented Apr 6, 2021

Can you give a link to a style guide?

@redleafnew
Copy link
Author

redleafnew commented Apr 7, 2021

@ocouch Maybe a little complex, NSFC (https://isisn.nsfc.gov.cn/egrantweb/) project uses a personal publication list from ScholarMate (https://www.scholarmate.com/oauth/index?sys=SNS, which your own publication could be claimed or added, like Researchgate), this publication list is generated automatically with ScholarMate, however the publication list of the project participant have to be generated with Zotero or Endnote, and my university required me to use the same style with ScholarMate, that is, the Chinese publication title should italic.
Snipaste_2021-04-07_08-18-12

Note: both websites could only be accessed with registered member

@fbennett
Copy link
Contributor

fbennett commented Apr 7, 2021

So ... there is an automated tool that incorrectly italicizes Chinese text, and your institution is requiring you to mimic the formatting produced by the tool? (That's not intended as personal criticism. If that is an accurate description of where the need comes from, it's a very strange position for them to put you in, and we'll need to think about this.)

@redleafnew
Copy link
Author

yes, this is the application scenarios, I will contact ScholarMate and inquire him if italic Chinese publication title is correct.

@redleafnew
Copy link
Author

redleafnew commented Apr 7, 2021

@fbennett It is not totally automated tool that incorrectly italicizes Chinese text. I contacted ScholarMate, he said NSFC provided him a template (p2 of the file,
01.参与者模板-简历2021通用版-20210104.docx
, which require the publication title italic.
Snipaste_2021-04-07_11-58-03

@zepinglee
Copy link

Italic or slanted fonts are never used for Chinese characters in serious publishing. Yet there are still some unskilled editors who just simply copy the style of western scripts without understanding it. I suggest a further discussion with the style provider.

@ttrepka
Copy link

ttrepka commented Dec 22, 2021

We are using citeproc-js in our product and received a user complaint about the same thing in Korean - journal names are not in italics unless they contain a Latin character. I honestly have no idea if it's correct or not, but apparently some journals require that so it might be useful to have an option to enable italics in Chinese or Korean.

Here's a link for one such journal: http://www.koreahrd.or.kr/html/sub11.asp It is necessary to click the right tab and then look for section 6.

image
Screenshot 2021-12-22 at 13 31 38

More info from the user:

Even if it is written only in Korean, the journal name needs to be written in italics. Below is a screenshot of the recently published article's reference.

image

@retorquere
Copy link
Collaborator

There's a whole bunch op places that has a-z regexen. The culprit is bound to be among those.

@bwiernik
Copy link
Contributor

As noted above, Chinese, Japanese, and Korean typesetting does not as a rule have italics. Most CJK fonts do not even have italic glyphs, so if italic glyphs are forced they are automatically generated slanted characters, not proper italics (eg, https://catalog.monotype.com/font/microsoft-corporation/meiryo/italic).

All of the examples I have seen of journals using italics with CJK characters have been verbatim copying rules do English Latin-character styles like APA, which were not written with non-Latin scripts in mind (and indeed APA generally calls for non-Latin titles to be translated or transliterated). So, I'm hesitant to introduce a change into citeproc-js that produces improper CJK typesetting without clear indication that this is a deliberate choice to format characters in a way that is supported by almost no fonts, rather than merely copying Western citation styles without careful thought.

@01keeper
Copy link

01keeper commented Sep 7, 2022

Please refer to the following manual and the Chinese book name is actually cited as italic.

https://www.tyndale.ca/sites/default/files/2020-05/CCSTStyleManual2016.pdf

螢幕截圖 2022-09-07 上午10 18 27

螢幕截圖 2022-09-07 上午10 18 36

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

8 participants