From f0ffad44652311f72408e3193f8cd8654224eed1 Mon Sep 17 00:00:00 2001 From: imiyazaki Date: Tue, 11 Nov 2003 13:51:02 +0000 Subject: [PATCH] add kage option. --- chise.sty | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) 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} -- 1.7.10.4