\RequirePackage{omega}
\RequirePackage[UT1]{fontenc}
+%% options %%
+
\DeclareOption{utf8mcs}{
\externalocp\OCPuniGB=Utf8mcsToUniGB {}
\ocplist\uniGB=
}
}
+\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
\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}