From: imiyazaki Date: Thu, 29 Jul 2004 01:04:04 +0000 (+0000) Subject: fix for new version of omega. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=4905f08b1eb22fe207f4617670b2bad5ece3b173;p=chise%2Fomega.git fix for new version of omega. --- diff --git a/inCHISE b/inCHISE index 08cc1bd..9f6bb1a 100755 --- a/inCHISE +++ b/inCHISE @@ -40,8 +40,7 @@ $opt_use_kage_for_Ext_B=0;# 1=true, 0=false. ### End ### -my $strictly_forbidden_after = '「【『[(〈“‘‘(〔{《{\[\(\x{3016}{「'; -# \x{3016} | # white 【 +my $strictly_forbidden_after = '「【『[(〈‘‛“‟(〔{《{\[\(〖{「'; my $forbidden_after = "\x{0000}"; @@ -52,8 +51,7 @@ my $slightly_forbidden_after = '¥¥$$〒♯##¢¢££@@§'; # All these characters are allowed to protrude # in the right margin my $strictly_forbidden_before= - '!,.:;?、。!,.:;?。\)#}’”〉》」』】〕\x{3017})]}}」\]'; -### \x{3017} | # white 】 + '!,.:;?、。!,.:;?。\)\]}’”〉》」』】〕〗)]}」'; my $forbidden_before = 'ー々ぁぃぅぇぉゃゅょっゎァィゥェォャュョッヮヵヶ'; @@ -61,7 +59,7 @@ my $forbidden_before my $slightly_forbidden_before = '\x{000a}\#\-‐−‰′″℃゛゜ゝゞヽヾ"%-゙゚'; -#my $asian = '\x{1100}-\x{11FF}\x{2E80}-\x{D7AF}\x{F900}-\x{FAFF}\x{FE30}-\x{FE4F}\x{FF00}-\x{FFFFFF}'; # need to fix. +#my $asian = '\x{1100}-\x{11FF}\x{2E80}-\x{D7AF}\x{F900}-\x{FAFF}\x{FE30}-\x{FE4F}\x{FF00}-\x{FFFFFF}'; # need to be fixed. my $asian = '\x{2E80}-\x{312f}\x{3190}-\x{ABFF}\x{F900}-\x{FAFF}\x{FE30}-\x{FE4F}\x{FF00}-\x{FFFFFF}'; # need to be fixed. my $space = '\x{0020}\x{0009}\x{000A}\x{000C}\x{000D}'; @@ -180,6 +178,8 @@ foreach $out_cs ('UniCNS','UniGB','UniJIS','UniKS','UniMulti'){ while(<>){ utf8::decode($_); + print '\relax{}'; + if($in_cs ne 'ucs@mcs'){ s/(.)/&get_char_in_mcs($1,$in_cs)/ge; }