change fontencoding for omlgc to OT1.
authorimiyazaki <imiyazaki>
Mon, 26 Jan 2004 16:22:22 +0000 (16:22 +0000)
committerimiyazaki <imiyazaki>
Mon, 26 Jan 2004 16:22:22 +0000 (16:22 +0000)
chise.sty

index 04c5f6f..c99a865 100644 (file)
--- a/chise.sty
+++ b/chise.sty
@@ -2,7 +2,7 @@
 \ProvidesPackage{chise}[2003/11/26 v.0.2 (Omega/CHISE Team)]
 % based on mulambda and omega-japanese
 %\RequirePackage{omega}
-\RequirePackage[UT1]{fontenc}
+\RequirePackage[OT1]{fontenc}
 
 %% options %%
 
   \addbeforeocplist 1 \OCPutf
   \nullocplist
 \AtBeginDocument{
-  \pushocplist\inutf
+  \NonCJK
 }
 
+\def\rmdefault{omlgc}
+\def\ttdefault{uctt}
+
 % Settings for CJK
 \def\selectjisfont{\fontencoding{OT1}\fontfamily{omjis}\selectfont}
 \def\selectgbsfont{\fontencoding{OT1}\fontfamily{omgbs}\selectfont}
 \newenvironment{KSfont}{\pushocplist\uniKS\selectksxfont}{}
 \newenvironment{CNSfont}{\pushocplist\uniCNS\selectcnsfont}{}
 \newenvironment{Multifont}{\pushocplist\uniMulti}{}
+\newenvironment{NonCJK}{\pushocplist\inutf\fontencoding{OT1}\fontfamily{omlgc}\selectfont}{}
 \newenvironment{ASCII}{\pushocplist\NilOCP\fontencoding{T1}\fontfamily{\rmdefault}\selectfont}{}
 
 \newcommand{\jisfont}[1]{\begingroup%
 
 %%%% redundant font definition to avoid bug of omega.
 
-\DeclareFontFamily{UT1}{omlgc}{}
+\DeclareFontFamily{OT1}{omlgc}{}
 
-\DeclareFontShape{UT1}{omlgc}{m}{n}{
+\DeclareFontShape{OT1}{omlgc}{m}{n}{
    <->omlgc
 }{}
-\DeclareFontShape{UT1}{omlgc}{m}{sc}{
+\DeclareFontShape{OT1}{omlgc}{m}{sc}{
    <-> ssub * omlgc/m/n
 }{}
-\DeclareFontShape{UT1}{omlgc}{m}{it}{
+\DeclareFontShape{OT1}{omlgc}{m}{it}{
    <->omlgci
 }{}
-\DeclareFontShape{UT1}{omlgc}{m}{sl}{
+\DeclareFontShape{OT1}{omlgc}{m}{sl}{
    <-> ssub * omlgc/m/it
 }{}
-\DeclareFontShape{UT1}{omlgc}{m}{itsc}{
+\DeclareFontShape{OT1}{omlgc}{m}{itsc}{
    <-> ssub * omlgc/m/it
 }{}
-\DeclareFontShape{UT1}{omlgc}{m}{slsc}{
+\DeclareFontShape{OT1}{omlgc}{m}{slsc}{
    <-> ssub * omlgc/m/it
 }{}
-\DeclareFontShape{UT1}{omlgc}{bx}{n}{
+\DeclareFontShape{OT1}{omlgc}{bx}{n}{
    <->omlgcb
 }{}
-\DeclareFontShape{UT1}{omlgc}{bx}{sc}{
+\DeclareFontShape{OT1}{omlgc}{bx}{sc}{
    <-> ssub * omlgc/bx/n
 }{}
-\DeclareFontShape{UT1}{omlgc}{bx}{it}{
+\DeclareFontShape{OT1}{omlgc}{bx}{it}{
    <->omlgcbi
 }{}
-\DeclareFontShape{UT1}{omlgc}{bx}{itsc}{
+\DeclareFontShape{OT1}{omlgc}{bx}{itsc}{
    <-> ssub * omlgc/bx/it
 }{}
-\DeclareFontShape{UT1}{omlgc}{bx}{sl}{
+\DeclareFontShape{OT1}{omlgc}{bx}{sl}{
    <-> ssub * omlgc/bx/it
 }{}
-\DeclareFontShape{UT1}{omlgc}{bx}{slsc}{
+\DeclareFontShape{OT1}{omlgc}{bx}{slsc}{
    <-> ssub * omlgc/bx/it
 }{}