specify external ocp in full path.
authorimiyazaki <imiyazaki>
Wed, 26 Nov 2003 14:56:11 +0000 (14:56 +0000)
committerimiyazaki <imiyazaki>
Wed, 26 Nov 2003 14:56:11 +0000 (14:56 +0000)
chise.sty

index 5c75bdd..3efac53 100644 (file)
--- a/chise.sty
+++ b/chise.sty
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{chise}[2003/10/18 v.0.2 (Omega/CHISE Team)]
+\ProvidesPackage{chise}[2003/11/26 v.0.2 (Omega/CHISE Team)]
 % based on mulambda and omega-japanese
-\RequirePackage{omega}
+%\RequirePackage{omega}
 \RequirePackage[UT1]{fontenc}
 
 %% options %%
 
+%% You must change the path of inCHISE,
+%% if inCHISE is not located in the default directory.
+
 \DeclareOption{utf8mcs}{
-  \externalocp\OCPuniGB=Utf8mcsToUniGB {}
+  \externalocp\OCPuniGB=/usr/local/lib/chise/omega/Utf8mcsToUniGB {}
   \ocplist\uniGB=
     \addbeforeocplist 1 \OCPuniGB
     \nullocplist
-  \externalocp\OCPuniCNS=Utf8mcsToUniCNS {}
+  \externalocp\OCPuniCNS=/usr/local/lib/chise/omega/Utf8mcsToUniCNS {}
   \ocplist\uniCNS=
     \addbeforeocplist 1 \OCPuniCNS
     \nullocplist
-  \externalocp\OCPuniJIS=Utf8mcsToUniJIS {}
+  \externalocp\OCPuniJIS=/usr/local/lib/chise/omega/Utf8mcsToUniJIS {}
   \ocplist\uniJIS=
     \addbeforeocplist 1 \OCPuniJIS
     \nullocplist
-  \externalocp\OCPuniKS=Utf8mcsToUniKS {}
+  \externalocp\OCPuniKS=/usr/local/lib/chise/omega/Utf8mcsToUniKS {}
   \ocplist\uniKS=
     \addbeforeocplist 1 \OCPuniKS
     \nullocplist
-  \externalocp\OCPuniMulti=Utf8mcsToUniMulti {}
+  \externalocp\OCPuniMulti=/usr/local/lib/chise/omega/Utf8mcsToUniMulti {}
   \ocplist\uniMulti=
     \addbeforeocplist 1 \OCPuniMulti
     \nullocplist
 }
 \DeclareOption{utf8gb}{
-  \externalocp\OCPuniGB=Utf8gbToUniGB {}
+  \externalocp\OCPuniGB=/usr/local/lib/chise/omega/Utf8gbToUniGB {}
   \ocplist\uniGB=
     \addbeforeocplist 1 \OCPuniGB
     \nullocplist
-  \externalocp\OCPuniCNS=Utf8gbToUniCNS {}
+  \externalocp\OCPuniCNS=/usr/local/lib/chise/omega/Utf8gbToUniCNS {}
   \ocplist\uniCNS=
     \addbeforeocplist 1 \OCPuniCNS
     \nullocplist
-  \externalocp\OCPuniJIS=Utf8gbToUniJIS {}
+  \externalocp\OCPuniJIS=/usr/local/lib/chise/omega/Utf8gbToUniJIS {}
   \ocplist\uniJIS=
     \addbeforeocplist 1 \OCPuniJIS
     \nullocplist
-  \externalocp\OCPuniKS=Utf8gbToUniKS {}
+  \externalocp\OCPuniKS=/usr/local/lib/chise/omega/Utf8gbToUniKS {}
   \ocplist\uniKS=
     \addbeforeocplist 1 \OCPuniKS
     \nullocplist
-  \externalocp\OCPuniMulti=Utf8mcsToUniMulti {}
+  \externalocp\OCPuniMulti=/usr/local/lib/chise/omega/Utf8mcsToUniMulti {}
   \ocplist\uniMulti=
     \addbeforeocplist 1 \OCPuniMulti
     \nullocplist
 }
 \DeclareOption{utf8cns}{
-  \externalocp\OCPuniGB=Utf8cnsToUniGB {}
+  \externalocp\OCPuniGB=/usr/local/lib/chise/omega/Utf8cnsToUniGB {}
   \ocplist\uniGB=
     \addbeforeocplist 1 \OCPuniGB
     \nullocplist
-  \externalocp\OCPuniCNS=Utf8cnsToUniCNS {}
+  \externalocp\OCPuniCNS=/usr/local/lib/chise/omega/Utf8cnsToUniCNS {}
   \ocplist\uniCNS=
     \addbeforeocplist 1 \OCPuniCNS
     \nullocplist
-  \externalocp\OCPuniJIS=Utf8cnsToUniJIS {}
+  \externalocp\OCPuniJIS=/usr/local/lib/chise/omega/Utf8cnsToUniJIS {}
   \ocplist\uniJIS=
     \addbeforeocplist 1 \OCPuniJIS
     \nullocplist
-  \externalocp\OCPuniKS=Utf8cnsToUniKS {}
+  \externalocp\OCPuniKS=/usr/local/lib/chise/omega/Utf8cnsToUniKS {}
   \ocplist\uniKS=
     \addbeforeocplist 1 \OCPuniKS
     \nullocplist
-  \externalocp\OCPuniMulti=Utf8mcsToUniMulti {}
+  \externalocp\OCPuniMulti=/usr/local/lib/chise/omega/Utf8mcsToUniMulti {}
   \ocplist\uniMulti=
     \addbeforeocplist 1 \OCPuniMulti
     \nullocplist
 }
 \DeclareOption{utf8jis}{
-  \externalocp\OCPuniGB=Utf8jisToUniGB {}
+  \externalocp\OCPuniGB=/usr/local/lib/chise/omega/Utf8jisToUniGB {}
   \ocplist\uniGB=
     \addbeforeocplist 1 \OCPuniGB
     \nullocplist
-  \externalocp\OCPuniCNS=Utf8jisToUniCNS {}
+  \externalocp\OCPuniCNS=/usr/local/lib/chise/omega/Utf8jisToUniCNS {}
   \ocplist\uniCNS=
     \addbeforeocplist 1 \OCPuniCNS
     \nullocplist
-  \externalocp\OCPuniJIS=Utf8jisToUniJIS {}
+  \externalocp\OCPuniJIS=/usr/local/lib/chise/omega/Utf8jisToUniJIS {}
   \ocplist\uniJIS=
     \addbeforeocplist 1 \OCPuniJIS
     \nullocplist
-  \externalocp\OCPuniKS=Utf8jisToUniKS {}
+  \externalocp\OCPuniKS=/usr/local/lib/chise/omega/Utf8jisToUniKS {}
   \ocplist\uniKS=
     \addbeforeocplist 1 \OCPuniKS
     \nullocplist
-  \externalocp\OCPuniMulti=Utf8mcsToUniMulti {}
+  \externalocp\OCPuniMulti=/usr/local/lib/chise/omega/Utf8mcsToUniMulti {}
   \ocplist\uniMulti=
     \addbeforeocplist 1 \OCPuniMulti
     \nullocplist
 }
 \DeclareOption{utf8ks}{
-  \externalocp\OCPuniGB=Utf8ksToUniGB {}
+  \externalocp\OCPuniGB=/usr/local/lib/chise/omega/Utf8ksToUniGB {}
   \ocplist\uniGB=
     \addbeforeocplist 1 \OCPuniGB
     \nullocplist
-  \externalocp\OCPuniCNS=Utf8ksToUniCNS {}
+  \externalocp\OCPuniCNS=/usr/local/lib/chise/omega/Utf8ksToUniCNS {}
   \ocplist\uniCNS=
     \addbeforeocplist 1 \OCPuniCNS
     \nullocplist
-  \externalocp\OCPuniJIS=Utf8ksToUniJIS {}
+  \externalocp\OCPuniJIS=/usr/local/lib/chise/omega/Utf8ksToUniJIS {}
   \ocplist\uniJIS=
     \addbeforeocplist 1 \OCPuniJIS
     \nullocplist
-  \externalocp\OCPuniKS=Utf8ksToUniKS {}
+  \externalocp\OCPuniKS=/usr/local/lib/chise/omega/Utf8ksToUniKS {}
   \ocplist\uniKS=
     \addbeforeocplist 1 \OCPuniKS
     \nullocplist
-  \externalocp\OCPuniMulti=Utf8mcsToUniMulti {}
+  \externalocp\OCPuniMulti=/usr/local/lib/chise/omega/Utf8mcsToUniMulti {}
   \ocplist\uniMulti=
     \addbeforeocplist 1 \OCPuniMulti
     \nullocplist
 
 \DeclareOption{kage}{
   % to use KAGE server
-  \externalocp\OCPmkfont=makefonts.pl {}
+  \externalocp\OCPmkfont=/usr/local/lib/chise/omega/makefonts.pl {}
   \ocplist\mkfontOCP=
   \addbeforeocplist 1 \OCPmkfont
   \nullocplist
 
 %% end options %%
 
-\ocp\CJKbreak=cjkbreak
-%% \ocplist\CJKadjust=
-%%    \addbeforeocplist 1 \CJKbreak
-%%    \nullocplist
-\def\cjkglue{\hskip 0pt plus 1pt minus .5pt}
-
-\ocp\OCPutf=inutf8
+\ocp\OCPutf=inutf8fix
 \ocplist\inutf
   \addbeforeocplist 1 \OCPutf
   \nullocplist
 \AtBeginDocument{
-%  \DefaultInputMode onebyte
-%  \InputMode currentfile onebyte
-%  \DefaultInputTranslation onebyte \OCPutf
-%  \InputTranslation currentfile \OCPutf
   \pushocplist\inutf
 }
 
 \def\selectgbsfont{\fontencoding{OT1}\fontfamily{omgbs}\selectfont}
 \def\selectcnsfont{\fontencoding{OT1}\fontfamily{omcns}\selectfont}
 \def\selectksxfont{\fontencoding{OT1}\fontfamily{omksx}\selectfont}
-%\def\JIS{\pushocplist\CJKadjust\selectjisfont}
-%\def\GB{\pushocplist\CJKadjust\selectgbsfont}
-%\def\KS{\pushocplist\CJKadjust\selectksxfont}
-%\def\CNS{\pushocplist\CJKadjust\selectcnsfont}
 
 \newenvironment{JISfont}{\pushocplist\uniJIS\selectjisfont}{}
 \newenvironment{GBfont}{\pushocplist\uniGB\selectgbsfont}{}
 \def\ER#1{amp#1;}
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% IDC shorthand
+% IDC for print
 % -------------
 \def\idc@#1{{\selectgbsfont\clearocplists\char"#1}}
 \def\idcltr{\idc@{2FF0}}