Ticket #41900

Spurious space after curly quote

Open Date: 2021-04-01 16:13 Last Update: 2021-04-01 17:33

Reporter:
Owner:
(None)
Type:
Status:
Open
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

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}

Ticket History (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
Comment

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
Comment

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

Edit

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