[citeproc-js] Greek Language and Apostrophe
When Greek language is selected in Preferences/Export, citations that contain apostrophe, if exported with several styles (Chicago, MLA and others), cause Firefox to freeze.
For example: Book title: Paul’s Return
The problem did not exist a few months ago. My guess is it started after a recent update, I am not sure which one though.
Thanks for your help!
For example: Book title: Paul’s Return
The problem did not exist a few months ago. My guess is it started after a recent update, I am not sure which one though.
Thanks for your help!
https://www.zotero.org/support/reporting_problems
Thank you for replying.
Firefox 43.0.4
Zotero 4.0.28.10
1. Open Firefox/Zotero
2. Create New Item/Book
3. Type a Book title that includes an apostrophe (Paul's Return)
4. Go to Zotero Preferences/Export
5. Select Default Output Format: Modern Language Association 7th edition
6. Select language: Greek (Ελληνικά)
7. Click OK
8. Drag Paul's Return to an open Microsoft Word document
Result: Firefox freezes (application not responding), needs Force Quit.
All Firefox extensions (except Zotero) were disabled.
The above procedure (1-8) causes Firefox to freeze with Zotero 4.0.28.3 and 4.0.28.10.
fbennett will need to fix this in the processor. As a workaround in the meantime you'll need to switch to English for the locale when generating citations.
I'm curious, though — the Greek locale defines these quotes:
<term name="open-quote">‘</term>
<term name="close-quote">’</term>
<term name="open-inner-quote">'</term>
<term name="close-inner-quote">'</term>
<term name="page-range-delimiter">–</term>
The English locale defines these:
<term name="open-quote">“</term>
<term name="close-quote">”</term>
<term name="open-inner-quote">‘</term>
<term name="close-inner-quote">’</term>
<term name="page-range-delimiter">–</term>
Does the Greek locale make sense to you? Not sure about the absence of double quotes, but using straight quotes doesn't seem right for anything.
«…» and “…” for Greece. It does suggest straight quotes for Hebrew, though, so this would still be a fatal bug:
https://en.wikipedia.org/wiki/Quotation_mark#Summary_table_for_all_languages
edit: also, fbennett added those quotation marks with the following note:
<!-- http://en.wikipedia.org/wiki/Non-English_usage_of_quotation_marks differs, but the characters below are directly from a Greek-speaking style author -->
Greek locale is wrong (in fact I was, it was me that first translated the terms, five years ago).
As for the nested quotations, single curly ones are fine, there is no definite rule about them.
So, I believe the following should solve the problem:
<term name="open-quote">«</term>
<term name="close-quote">»</term>
<term name="open-inner-quote">‘</term>
<term name="close-inner-quote">’</term>
<term name="page-range-delimiter">–</term>
On behalf of Greek Zotero users, thank you all!