typst: Typst 0.13 `covers: "latin-in-cjk"` doesn't cover apostrophes and quotation marks
Let's "quote!" // Libertinus apostrophe/quotation marks
#set text(font: ((name: "Libertinus Serif", covers: "latin-in-cjk"), "Harano Aji Mincho"))
Let's "quote!" // CJK apostrophe/quotation marks
If this is a feature, we should be cautious when using “latin-in-cjk”.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 16 (9 by maintainers)
Since that usually
'can only be seen in latin docs and in cjk usually use‘and“instead (without smartquote feature), this would probably be a workaround.Thank you very much. I certainly understand the difficulty of relying so heavily on
text(lang:)in Typst. I’ll drop the above.However, the “latin-in-cjk” problem is the same for both Chinese and Japanese, e.g.
will cause the apostrophe to be incorrect:
As you have suggested, using
regexis the most flexible way:Thank you so much for your valuable suggestions.
How would
be different from