Skip to content

Commit

Permalink
[uptex] \char & kcatcode=not_cjk (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-tk committed Jun 25, 2024
1 parent bae3e8d commit e2e161c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions source/texk/web2c/uptexdir/uptex-m.ch
Original file line number Diff line number Diff line change
Expand Up @@ -1516,12 +1516,16 @@ hmode+no_boundary: begin get_x_token;
hmode+kanji,hmode+kana,hmode+other_kchar,hmode+hangul,hmode+modifier: goto main_loop_j;
hmode+char_given:
if check_echar_range(cur_chr) then goto main_loop
else begin cur_cmd:=kcat_code(kcatcodekey(cur_chr)); goto main_loop_j; end;
else begin cur_cmd:=kcat_code(kcatcodekey(cur_chr));
if (cur_cmd<=not_cjk) then cur_cmd:=other_kchar;
goto main_loop_j; end;
hmode+kchar_given:
begin cur_cmd:=kcat_code(kcatcodekey(cur_chr)); goto main_loop_j; end;
hmode+char_num: begin scan_char_num; cur_chr:=cur_val;
if check_echar_range(cur_chr) then goto main_loop
else begin cur_cmd:=kcat_code(kcatcodekey(cur_chr)); goto main_loop_j; end;
else begin cur_cmd:=kcat_code(kcatcodekey(cur_chr));
if (cur_cmd<=not_cjk) then cur_cmd:=other_kchar;
goto main_loop_j; end;
end;
hmode+kchar_num: begin scan_char_num; cur_chr:=cur_val;
cur_cmd:=kcat_code(kcatcodekey(cur_chr));
Expand Down

0 comments on commit e2e161c

Please sign in to comment.