Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[l3text] \text_map_...関数の和文対応 #4

Open
h20y6m opened this issue Sep 3, 2022 · 0 comments
Open

[l3text] \text_map_...関数の和文対応 #4

h20y6m opened this issue Sep 3, 2022 · 0 comments

Comments

@h20y6m
Copy link
Owner

h20y6m commented Sep 3, 2022

expl3 <2022-08-30> で追加された書記素()毎のマップ関数 \text_map_??? も和文が入ると正常に動作しない。

\ExplSyntaxOn
\text_map_inline:nn { ABC~äëïöü~αβγ~あいうえお~か゚き゚く゚け゚こ゚~葛󠄀城市~葛󠄁飾区~☀☁☂☃~⛄👨‍👩‍👧‍👦💔 }
  {
    \iow_term:n { [#1] }
  }
\ExplSyntaxOff
[A]
[B]
[C]
[ ]
[^^c3^^a4]
[^^c3^^ab]
[^^c3^^af]
[^^c3^^b6]
[^^c3^^bc]
[ ]
! Arithmetic overflow.
<to be read again>
                   =
l.7   }

?

l3textにコードポイントを扱うためのユーティリティ関数(\__text_codepoint_process:nN\__text_codepoint_compare:N)が追加されているので、これを和文対応させればよさそう。

h20y6m added a commit that referenced this issue Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant