* code change for ptex
recently a bug in ptex (Japanese Publishing TeX) was reported in
the
Japanese TeX forum and immediately afterwards fixed in the
TeX Live upstream svn repository.
The code change is minimal:
--- texlive-bin-2012.20120628.orig/texk/web2c/ptexdir/ptex-base.ch
2012-05-12 21:40:41.000000000 +0900
+++ texlive-bin-2012.20120628/texk/web2c/ptexdir/ptex-base.ch
2012-07-18 02:19:29.125987453 +0900
@@ -2149,7 +2149,7 @@
else if cur_tok<cs_token_flag+single_base then
cur_val:=cur_tok-cs_token_flag-active_base
else cur_val:=cur_tok-cs_token_flag-single_base;
-if (cur_val>255)and(cur_cmd<kanji) then
+if (cur_val>255)and((cur_cmd<kanji)or(cur_cmd>max_char_code))
then
begin print_err("Improper alphabetic or KANJI constant");
@.Improper alphabetic constant@>
help2("A one-character control sequence belongs after a `
mark.")@/