X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=chise.sty;fp=chise.sty;h=a00e9285b7cfcae3c01b8bd61a6bb55f02872e73;hb=a332b83385f852539b7f492cebf024f069ce248c;hp=c99a86519f4df5b57a2dfffbbac7a31f69ec64f4;hpb=c75cf0b13dd6ef644bb613d92868a4586e9df11e;p=chise%2Fomega.git diff --git a/chise.sty b/chise.sty index c99a865..a00e928 100644 --- a/chise.sty +++ b/chise.sty @@ -198,29 +198,31 @@ \def\selectgbsfont{\fontencoding{OT1}\fontfamily{omgbs}\selectfont} \def\selectcnsfont{\fontencoding{OT1}\fontfamily{omcns}\selectfont} \def\selectksxfont{\fontencoding{OT1}\fontfamily{omksx}\selectfont} +\def\selectlgcfont{\fontencoding{OT1}\fontfamily{\rmdefault}\selectfont} -\newenvironment{JISfont}{\pushocplist\uniJIS\selectjisfont}{} -\newenvironment{GBfont}{\pushocplist\uniGB\selectgbsfont}{} -\newenvironment{KSfont}{\pushocplist\uniKS\selectksxfont}{} -\newenvironment{CNSfont}{\pushocplist\uniCNS\selectcnsfont}{} +\newenvironment{JISfont}{\pushocplist\uniJIS}{} +\newenvironment{GBfont}{\pushocplist\uniGB}{} +\newenvironment{KSfont}{\pushocplist\uniKS}{} +\newenvironment{CNSfont}{\pushocplist\uniCNS}{} \newenvironment{Multifont}{\pushocplist\uniMulti}{} -\newenvironment{NonCJK}{\pushocplist\inutf\fontencoding{OT1}\fontfamily{omlgc}\selectfont}{} -\newenvironment{ASCII}{\pushocplist\NilOCP\fontencoding{T1}\fontfamily{\rmdefault}\selectfont}{} +\newenvironment{NonCJK}{\pushocplist\inutf\selectlgcfont}{} +\newenvironment{ASCII}{\clearocplists\fontencoding{T1}\selectnormalfont}{} \newcommand{\jisfont}[1]{\begingroup% - \pushocplist\uniJIS\selectjisfont #1\endgroup} + \pushocplist\uniJIS #1\endgroup} \newcommand{\gbfont}[1]{\begingroup% - \pushocplist\uniGB\selectgbsfont #1\endgroup} + \pushocplist\uniGB #1\endgroup} \newcommand{\ksfont}[1]{\begingroup% - \pushocplist\uniKS\selectksxfont #1\endgroup} + \pushocplist\uniKS #1\endgroup} \newcommand{\cnsfont}[1]{\begingroup% - \pushocplist\uniCNS\selectcnsfont #1\endgroup} + \pushocplist\uniCNS #1\endgroup} \newcommand{\multifont}[1]{\begingroup% \pushocplist\uniMulti #1\endgroup} \newcommand{\noncjk}[1]{\begingroup% - \normalfont\pushocplist\inutf #1\endgroup} + \pushocplist\inutf\selectlgcfont #1\endgroup} +% \normalfont\pushocplist\inutf #1\endgroup} \newcommand{\ascii}[1]{\begingroup% - \pushocplist\NilOCP\fontencoding{T1}\fontfamily{\rmdefault}\selectfont #1\endgroup} + \clearocplists\selectlgcfont #1\endgroup} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Entity Reference % ----------------