Ticket #41900

Spurious space after curly quote

Date d'ouverture: 2021-04-01 16:13 Dernière mise à jour: 2021-04-01 17:33

Rapporteur:
Propriétaire:
(Aucun)
Type:
État:
Ouvert
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun

Détails

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
Commentaire

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
Commentaire

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

Modifier

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