[issue:253] Fwd: regexpatch: error on (u)pTeX with Japanese char

Hironobu Yamashita h.y.acetaminophen @ gmail.com
2019年 1月 17日 (木) 11:41:22 JST

Bruno さんからこんな問い合わせが来ました。
次からは issue ML も送信先 (cc:) に含めるようにします…。 -- Hironobu Yamashita

---------- Forwarded message ----------
From: Bruno Le Floch <blflatex @ gmail.com>
Date: Wed, 16 Jan 2019 23:57:47 +0100
Subject: Re: regexpatch: error on (u)pTeX with Japanese char
To: Hironobu Yamashita <h.y.acetaminophen @ gmail.com>
Cc: latex-team @ latex-project.org

Hello Hironobu,

Enrico forwarded some simple code of yours to determine if a character
is jp or not in ptex/uptex.  Do you know why there are two separate
primitives \catcode and \kcatcode?  It seems that their functionality
could have been combined into a single one.  We may decide to provide
only one higher-level expl3 function that would call either of these as

I may be missing some reason why \catcode and \kcatcode are separate.
Of course the documentation is hard to read for non-Japanese speakers.

Best regards,


issue メーリングリストの案内