From: imiyazaki Date: Tue, 11 Nov 2003 13:51:02 +0000 (+0000) Subject: add kage option. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=f0ffad44652311f72408e3193f8cd8654224eed1;p=chise%2Fomega.git add kage option. --- diff --git a/chise.sty b/chise.sty index a03a2d0..5c75bdd 100644 --- a/chise.sty +++ b/chise.sty @@ -4,6 +4,8 @@ \RequirePackage{omega} \RequirePackage[UT1]{fontenc} +%% options %% + \DeclareOption{utf8mcs}{ \externalocp\OCPuniGB=Utf8mcsToUniGB {} \ocplist\uniGB= @@ -141,6 +143,20 @@ } } +\DeclareOption{kage}{ + % to use KAGE server + \externalocp\OCPmkfont=makefonts.pl {} + \ocplist\mkfontOCP= + \addbeforeocplist 1 \OCPmkfont + \nullocplist + + \AtEndDocument{ + \pushocplist\mkfontOCP + } +} + +%% end options %% + \ocp\CJKbreak=cjkbreak %% \ocplist\CJKadjust= %% \addbeforeocplist 1 \CJKbreak @@ -159,16 +175,6 @@ \pushocplist\inutf } -%%%%% to use KAGE server %%%%% -\externalocp\OCPmkfont=makefonts.pl {} -\ocplist\mkfontOCP= -\addbeforeocplist 1 \OCPmkfont -\nullocplist - -\AtEndDocument{ - \pushocplist\mkfontOCP -} - % Settings for CJK \def\selectjisfont{\fontencoding{OT1}\fontfamily{omjis}\selectfont} \def\selectgbsfont{\fontencoding{OT1}\fontfamily{omgbs}\selectfont}