任务单 #41900

Spurious space after curly quote

开放日期: 2021-04-01 16:13 最后更新: 2021-04-01 17:33

报告人:
属主:
(无)
类型:
状态:
开启
组件:
(无)
里程碑:
(无)
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
文件:

Details

As shown by the following MCE, LuaTeX-ja adds spurious space after curly quotes (straight quotes are OK):

  1. \documentclass{article}
  2. \usepackage{luatexja}
  3. \begin{document}
  4. Isn’it?
  5. Isn'it?
  6. \end{document}

任务单历史 (3/3 Histories)

2021-04-01 16:13 Updated by: dbitouze
  • New Ticket "Spurious space after curly quote" created
2021-04-01 16:29 Updated by: h7k
评论

LuaTeX-ja adds spurious space after curly quotes

In fact, LuaTeX-ja treats curly quotes as JAchars (Japanese characters) by default, because they have also codepoints in Japanese character codes). The same applies for some characters in "General Punctation" Unicode block (Wikipedia), such as dashes, per mille sign, bullet, etc.

Adding

\ltjsetparameter{jacharrange={-9}}
should resolve the issue.

2021-04-01 17:33 Updated by: dbitouze
评论

Adding {{{ \ltjsetparameter{jacharrange={-9}} }}} should resolve the issue.

This workaround does the trick indeed, thanks.

But is there a plan for a solution that doesn't resort to a workaround?

Attachment File List

No attachments

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名