File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change
1
+ 2025-02-08 TANAKA Takuji <
[email protected] >
2
+
3
+ * uptex-m.ch: Enable ^^^^xyzw format only when
4
+ internal encoding is upTeX.
5
+
1
6
2025-02-07 TANAKA Takuji <
[email protected] >
2
7
3
8
* uptex-m.ch: Enable catcode mac_param(6) for
Original file line number Diff line number Diff line change @@ -703,8 +703,8 @@ hangul_code(mid_kanji):
703
703
@x
704
704
begin c:=buffer[loc+1]; @+if c<@' 200 then {yes we have an expanded char}
705
705
@ y
706
- begin if (cur_chr=buffer[loc+ 1 ] ) and (cur_chr=buffer[ loc+2 ] ) and
707
- (( loc+6 ) < =limit ) then
706
+ begin if (isinternalUPTEX ) and (( loc+6 ) < =limit ) and
707
+ (cur_chr=buffer[ loc+1 ]) and (cur_chr=buffer[loc+ 2 ] ) then
708
708
begin c:= buffer[loc+3 ]; cc:= buffer[loc+4 ];
709
709
cd:= buffer[loc+5 ]; ce:= buffer[loc+6 ];
710
710
if is_hex (c) and is_hex (cc) and is_hex (cd) and is_hex (ce) then
@@ -798,10 +798,9 @@ if cat=other_kchar then decr(k); {now |k| points to first nonletter}
798
798
until not((cat=letter)or(cat=kanji)or(cat=kana)or(cat=hangul)or(cat=modifier))or(k>limit);
799
799
{@@<If an expanded...@@>;}
800
800
if not((cat=letter)or(cat=kanji)or(cat=kana)or(cat=hangul)or(cat=modifier)) then begin
801
- if (cat=mac_param)and( buffer2[k-1])and(multilenbuffchar(cur_chr)>1 ) then k:=k-multilenbuffchar(cur_chr)
801
+ if (buffer2[k-1]) then k:=k-multilenbuffchar(cur_chr)
802
802
else decr(k);
803
- end;
804
- if cat=other_kchar then k:=k-multilenbuffchar(cur_chr)+1; {now |k| points to first nonletter}
803
+ end; {now |k| points to first nonletter}
805
804
@z
806
805
807
806
@x
You can’t perform that action at this time.
0 commit comments