Ticket #41900

Spurious space after curly quote

Eröffnet am: 2021-04-01 16:13 Letztes Update: 2021-04-01 17:33

Auswertung:
Verantwortlicher:
(Keine)
Typ:
Status:
Offen
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine

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-Verlauf (3/3 Historien)

2021-04-01 16:13 Aktualisiert von: dbitouze
  • New Ticket "Spurious space after curly quote" created
2021-04-01 16:29 Aktualisiert von: h7k
Kommentar

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 Aktualisiert von: dbitouze
Kommentar

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?

Dateianhangliste

Keine Anhänge

Bearbeiten

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