¤¢¤é¤«¤¸¤áruby/CHISE¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ª¤¤¤Æ²¼¤µ¤¤¡£
¡¦ruby/CHISE¤Î¥¤¥ó¥¹¥È¡¼¥ë
- ¡¦ºÇ½é¤Ë ruby/CHISE ¤ò»È¤Ã¤Æ ids, ids-decomposed, ids-aggregated ¤òºî¤ë¡£
+ ¡¦*ruby/CHISE ¤ò»È¤Ã¤Æ ids, ids-decomposed, ids-aggregated ¤Èids ¤Î
+ µÕ°ú¤DB¤òºîÀ®
¡¦Chise_utils.pm ¤ò¥¤¥ó¥¹¥È¡¼¥ë¡ÊÍ× BerkeleyDB.pm¡Ë
¡¦pfaedit, t1asm ¤Ê¤É¤â¤í¤â¤í¤Î¥¤¥ó¥¹¥È¡¼¥ë
¡¦¥Õ¥©¥ó¥È¥á¥È¥ê¥Ã¥¯¥Õ¥¡¥¤¥ë¤Î¥¤¥ó¥¹¥È¡¼¥ë
- ¡¦¼¡¤Ë make_omegadb.pl ¤ò¼Â¹Ô
+ ¡¦CHISE DB ¤ËAdobe CID¾ðÊó¤òÉÕ¤±²Ã¤¨¤ë
¡¦ÀßÄê¤Î½ñ¤´¹¤¨
¡¦dvipdfmx ¤ÎÀßÄê
¡¦OTP ¤Î½àÈ÷
¡¦lambda ¤Î¼Â¹Ô
¡¦dvipdfmx ¤Î¼Â¹Ô
- ¤³¤ì¤ò½ç¤ËÀâÌÀ¤·¤Æ¤¤¤¤Þ¤¹¡£¤Ê¤ª¤³¤Î¥Õ¥¡¥¤¥ë¤ÎËöÈø¤Ë¤ª¤Þ¤±¤È¤·¤ÆMac OS
- X¤ËXEmacs/CHISE¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ëÊýË¡¤Î°ì¤Ä¤ò¾Ò²ð¤·¤Æ¤¤¤Þ¤¹¡£»²¹Í¤Ë¤·
- ¤Æ²¼¤µ¤¤¡£
+ ¤³¤ì¤ò½ç¤ËÀâÌÀ¤·¤Æ¤¤¤¤Þ¤¹¡£
-¢£ ºÇ½é¤Ë ruby/CHISE ¤ò»È¤Ã¤Æ ids, ids-decomposed, ids-aggregated ¤òºî¤ë¡£
+¢£ ºÇ½é¤Ë ruby/CHISE ¤ò»È¤Ã¤Æ ids, ids-decomposed, ids-aggregated ¤È
+ ids ¤ÎµÕ°ú¤DB¤òºî¤ê¤Þ¤¹¡£
$ cd $RUBY_CHISE_DIR/tools
$ vi make_ids_db.rb
db.make_ids_aggregated
db.make_ids_decomposed
- ¤¬É¬Íס£
+ ¤¬É¬ÍפǤ¹¡£
¢£ Chise_utils.pm ¤ò¥¤¥ó¥¹¥È¡¼¥ë¡ÊÍ× BerkeleyDB.pm¡Ë
* ɬÍפʤ餳¤Î¸å mktexlsr ¤ò¼Â¹Ô¤·¤Æ²¼¤µ¤¤¡£
-¢£ ¼¡¤Ë make_omegadb.pl ¤ò¼Â¹Ô
+¢£ CHISE DB ¤ËAdobe CID¾ðÊó¤òÉÕ¤±²Ã¤¨¤ë
- $ perl make_omegadb.pl $CMAP_DIR $OMEGADB_HOME_DIR
+ ÉÕ°¤Î add_adobecid.pl ¤ò»È¤Ã¤Æ CHISE DB ¤Ë¾ðÊó¤ò²Ã¤¨¤Þ¤¹¡£
+ ɬÍפʥե¡¥¤¥ë¤Ï Adobe Reader ¤ä Adobe Acrobat ¤Ê¤É¤ËÉÕ°¤Î CMap ¥Õ¥¡
+ ¥¤¥ë¡ÊUniGB-UCS2-H, UniCNS-UCS2-H,UniJIS-UTF16-H,UniKS-UCS2-H¡Ë¤Ç¤¹¡£
- $CMAP_DIR ¤Ï UniCNS-UCS2-H, UniGB-UCS2-H, UniJIS-UCS2-H,
- UniKS-UCS2-H ¤¬¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê¡£Acrobat Reader ¤ËÉÕ°¤Î¤â¤Î¤Ê¤É¡£
- $DB_DIR ¤Ï¤¢¤é¤«¤¸¤áºîÀ®
+ »Í¤Ä¤Î¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ add_adobecid.pl ¤ò¼Â¹Ô¤·¤Þ¤¹¡£
+
+ $ perl $CMap_dir/UniGB-UCS2-H $chisedb_dir
+ $ perl $CMap_dir/UniCNS-UCS2-H $chisedb_dir
+ $ perl $CMap_dir/UniJIS-UTF16-H $chisedb_dir
+ $ perl $CMap_dir/UniKS-UCS2-H $chisedb_dir
+
+ * $CMAp_dir ¤Ï¾åµ¤Î CMap ¥Õ¥¡¥¤¥ë¤Î¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê
+ $chisedb_dir ¤Ï /usr/local/lib/chise/char-db ¤Ê¤É CHISE ¤Îʸ»ú¥Ç¡¼
+ ¥¿¥Ù¡¼¥¹¤¬¤¢¤ë¥Ç¥£¥ì¥¯¥È¥ê¤Ç¤¹¡£
+
+ * CHISE ¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹¤òľÀÜÍøÍѤ¹¤ë¤è¤¦¤Ë¤·¤¿¤¿¤á¡¢make_omegadb.pl
+ ¤ÏɬÍפʤ¯¤Ê¤ê¤Þ¤·¤¿¡£
¢£ ÀßÄê¤Î½ñ¤´¹¤¨
$dbpath ¢« ¥°¥ê¥Õ¤ò³ÊǼ¤¹¤ëDB¤Î¾ì½ê
¡¦outCMAP
- $omegadb_home ¢« make_omegadb.pl ¤Ç DB ¤òºîÀ®¤·¤¿¾ì½ê
+ $opt_order ¢« Multifont ´Ä¶Æâ¤Ç»ÈÍѤ¹¤ë¥Õ¥©¥ó¥È¤ÎÍ¥Àè½ç°Ì¤ò»Ø
+ Äꤷ¤Þ¤¹¡£c, g, j, k, t ¤òÍ¥Àè½ç°Ì¤Î¹â¤¤Êý¤«¤é½ç
+ ¤Ë¡Öjtcgk¡×¤Î¤è¤¦¤Ê·Á¤Çʤ٤ޤ¹¡£Á´¤Æ¤ò»ØÄꤹ¤ëɬ
+ ÍפϤʤ¯¡Öjt¡×¤Ê¤É¤Î·Á¤â²Äǽ¤Ç¤¹¡£
+
+ ¤½¤ì¤¾¤ì
+
+ 'c'=>'UniCNS'
+ 'g'=>'UniGB'
+ 'j'=>'UniJIS'
+ 'k'=>'UniKS'
+ 't'=>'GT'
+
+ ¤òɽ¤·¤Æ¤¤¤Þ¤¹¡£
+
+ $opt_protrude ¢« ¶Ø§¤ò¤Ö¤é²¼¤¬¤ê¤Ë¤¹¤ë¤«¤É¤¦¤«¤Î»ØÄê¤Ç¤¹¡£¤Ö¤é²¼
+ ¤¬¤ê¤Ë¤¹¤ë»þ¤Ï¡Ö1¡×¤ò¡¢¤Ö¤é²¼¤¬¤ê¤ò¤·¤Ê¤¤»þ¤Ï¡Ö0¡×
+ ¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£
¢£ dvipdfmx ¤ÎÀßÄê
¤ò½ñ¤²Ã¤¨¤ë¡£
- * gt.map ¤Ïɬ¤º¤·¤âɬÍפʤ¤¡£
+ * gt.map ¤Ïɬ¤º¤·¤âɬÍפǤϤʤ¤¡£
* chise.map ¤Ï KAGE ¥µ¡¼¥Ð¤«¤é¥°¥ê¥Õ¤ò¤â¤é¤Ã¤ÆÍè¤ë»þ¤ËɬÍס£
¢£ OTP ¤Î½àÈ÷
$ ln -s outCMAP Utf8mcsToUniGB
$ ln -s outCMAP Utf8mcsToUniJIS
$ ln -s outCMAP Utf8mcsToUniKS
+ $ ln -s outCMAP Utf8mcsToUniMulti
- # $useGT ¤Î±£¤·¥ª¥×¥·¥ç¥ó¤¢¤ê¡£
+ # UniMulti ¤Ï UniCNS, UniGB, UniJIS, UniKS ¤ÎÃ椫¤é outCMAP ¤ÎÃæ¤Î
+ $opt_order ¤Ç»ØÄꤵ¤ì¤¿½ç¤Ë¥Õ¥©¥ó¥È¤òõ¤·¡¢¸«ÉÕ¤«¤ì¤Ð¤½¤ì¤òÍøÍѤ¹
+ ¤ë´Ä¶¤Ç¤¹¡£¤½¤ÎÍ¥Àè½ç°Ì¤Î»ØÄê¤Ï outCMAP ¤ÎÃæ¤ÇľÀܹԤäƲ¼¤µ¤¤¡£
# HZK ¤È CDP ¤Î TTF ¤Ï¡¢dvipdfmx ¤¬ PS¥Õ¥©¥ó¥È̾¤ò¸«ÉÕ¤±¤é¤ì¤ºËä¤á¹þ
- # ¤á¤Ê¤¤¤Î¤Ç¡¢¸½ºß $useHZK ¤È $useCDP ¤Ïµ¡Ç½¤·¤Ê¤¤¡£outCMAP¤ÎÃæ¤â¤¤
- # ¤¤²Ã¸º¡£
+ # ¤á¤Ê¤¤¤Î¤Ç¡¢¸½ºß HZK ¤È CDP ¤Ïµ¡Ç½¤·¤Æ¤¤¤Þ¤»¤ó¡£outCMAP¤ÎÃæ¤â¤¤¤¤
+ # ²Ã¸º¡£
# ³°ÉôOTP¤Ï¡¢¸½ºß¤Î¦¸¤Î»ÅÍͤǤϥ«¥ì¥ó¥È¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ê¤¤¤Èµ¡Ç½¤·¤Þ
# ¤»¤ó¡£¤´Ãí°Õ¤ò¡£
ex)
$ lambda test
+ # chise.sty ¤Ë¤Ï¼¡¤ÎÆó¤Ä¤Î¥ª¥×¥·¥ç¥ó¤¬¤¢¤ê¤Þ¤¹¡£
+ #
+ # 1. ¥Õ¥¡¥¤¥ë¤òÊݸ¤·¤¿»þ¤Î¥³¡¼¥Ç¥£¥ó¥°¥·¥¹¥Æ¥à¡Êɬ¿Ü¡Ë
+ # utf8cns, utf8gb, utf8jis, utf8ks, utf8mcs ¤Î¤¤¤º¤ì¤«¡£
+
+ # 2. ʸ½ñÁ´ÂΤ˥ǥե©¡¼¥ë¥È¤Ç»ÈÍѤ¹¤ë¥Õ¥©¥ó¥È¤Î¼ïÎà
+ # cnsfont, gbfont, jisfont, ksfont, multifont ¤Î¤¤¤º¤ì¤«¡£
+
+ # »ØÄꤷ¤Ê¤±¤ì¤Ð¥é¥ó¥óʸ»úÍѤΥե©¥ó¥È¤¬¥Ç¥Õ¥©¡¼¥ë¥È¤Ë¤Ê¤ê¤Þ¤¹¡£
+
+ # ¤Ê¤ª¡¢ºÇ¸å¤Î¡Ömultifont¡×¤Ï¡¢CNS, GB, JIS, KS ¤Î¥Õ¥©¥ó¥È¤Î¤¤¤º
+ # ¤ì¤«¤Ë¥°¥ê¥Õ¤¬¤¢¤ì¤Ð¤½¤ì¤ò»ÈÍѤ¹¤ë¤È¤¤¤¦´Ä¶¤Ç¤¹¡£¤³¤³¤Ç»ØÄꤷ
+ # ¤Ê¤¯¤Æ¤â \begin{Multifont}¡Ä\end{Multifont} ¤ä \multifont{} ¤ò
+ # »È¤Ã¤ÆÍøÍѤ¹¤ë¤³¤È¤â½ÐÍè¤Þ¤¹¡£
+
+ # ¤Þ¤¿Í¥Àè½ç°Ì¤ò»ØÄꤹ¤ë¤³¤È¤â½ÐÍè¤Þ¤¹¡£¾åµ¤Î¡ÖÀßÄê¤Î½ñ¤´¹¤¨¡×
+ # ¤ò»²¾È¤·¤Æ²¼¤µ¤¤¡£
+
¢£ dvipdfmx ¤Î¼Â¹Ô
ex)
http://www2.kumagaku.ac.jp/teacher/herogw/index.html
¤Î¥Ú¡¼¥¸¤Ë¤¢¤ë¥Ñ¥Ã¥±¡¼¥¸¤òÍøÍѤµ¤»¤Æ¤â¤é¤Ã¤Æ¤Þ¤¹¡£
-
-¡û Mac OS X ¤Ç¤Î XEmacs/CHISE ¤ÎÍøÍÑ
-
- XEmacs/CHISE¤Èlibchise¤Îfink¤Î¥Ñ¥Ã¥±¡¼¥¸¤È¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë½ÐÍè¤ë¤è¤¦
- ¤Ë¤·¤Þ¤·¤¿¡£fink¤Î¥Ñ¥Ã¥±¡¼¥¸ÍѤÎinfo/patch¥Õ¥¡¥¤¥ë¤Î¥¢¡¼¥«¥¤¥Ö¤ò¼èÆÀ
- ¤·¤Æ¡¢/sw/fink/10.2/local/main/finkinfo ¤ËÃÖ¤¤¤Æ¤«¤é¡¢¡Öfink install
- ¡Á¡×¤ò¼Â¹Ô¤·¤Æ²¼¤µ¤¤¡£
-
- 1. ¥¢¡¼¥«¥¤¥Ö¤Î¼èÆÀ
-
- $ wget http://www.jokoji.jp/chise/finkinfo-chise-20031014.tar.gz
-
- 2. /sw/fink/10.2/local/main/finkinfo ¤ØÇÛÃÖ
-
- $ sudo tar xvzf finkinfo-chise-20031014.tar.gz -C /sw/fink/10.2/local/main/finkinfo
-
- 3. xemacs-chise, libchise ¤Î¥¤¥ó¥¹¥È¡¼¥ë
-
- xemacs-chise ¤È libchise ¤ÏÁê¸ß°Í¸´Ø·¸¤Ë¤¢¤ë¤Î¤Ç¡¢¤Þ¤º
- xemacs-chise ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ²¼¤µ¤¤¡£ºÇ½é¤Ï libchise ¤ò»È¤¦
- xemacs-chise ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤Ï½ÐÍè¤Þ¤»¤ó¤¬¡¢libchise ¤Î¥¤¥ó
- ¥¹¥È¡¼¥ë¸å build ¤·¤¿ xemacs-chise ¤Ï libchise ¤ò¥ê¥ó¥¯¤·¤¿¤â¤Î¤Ë
- ¤Ê¤ë¤Î¤Ç¡¢xemacs-chise ¤ò¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤¹¤ë»þ¤Ë¼«Æ°Åª¤ËÆþ¤ì´¹¤ï
- ¤ê¤Þ¤¹¡£
-
- $ fink install xemacs-chise
- $ fink install xemacs-mule-sumo-pkg xemacs-sumo-pkg xemacs-chise-ids-pkg
-
- $ fink install libchise0 libchise0-dev libchise0-shlibs
-
- 4. XEmacs/CHISE ¤ÇÀµ¤·¤¤É½¼¨¤òÆÀ¤ë¤Ë¤Ï¿¤¯¤Î¥Õ¥©¥ó¥È¤¬É¬ÍפǤ¹¤¬¡¢¥Õ¥©
- ¥ó¥È¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ë¤Ä¤¤¤Æ¤Ï³ä°¦¤·¤Þ¤¹¡£Debian ¤Ç¤Î¥Õ¥©¥ó¥È¤Î¥¤¥ó
- ¥¹¥È¡¼¥ëÊýË¡¤Ê¤É¤ò»²¹Í¤ËɬÍפʥե©¥ó¥È¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ²¼¤µ¤¤¡£