%%% Hojo Kanji Character Set (JISX0212)
%%% by Hirotsugu Kakugawa
%%%
%%% Tested on :
%%%   pLaTeX2e <1998/02/17>+0 (based on LaTeX2e <1997/12/01> patch level 1)
%%%
\NeedsTeXFormat{pLaTeX2e}

\DeclareKanjiEncodingDefaults{}{}
\DeclareYokoKanjiEncoding{JY2}{}{}
\DeclareKanjiSubstitution{JY2}{mc}{m}{n}
\DeclareErrorKanjiFont{JY2}{mc}{m}{n}{10}
\DeclareTateKanjiEncoding{JT2}{}{}
\DeclareKanjiSubstitution{JT2}{mc}{m}{n}
\DeclareErrorKanjiFont{JT2}{mc}{m}{n}{10}

\DeclareFontSubstitution{JY2}{mc}{m}{n}
\DeclareFontSubstitution{JY2}{gt}{m}{n}
\DeclareFontSubstitution{JT2}{mc}{m}{n}
\DeclareFontSubstitution{JT2}{gt}{m}{n}

\newenvironment{jisx0208}{%
  \def\cy@encoding{JY1}\def\ct@encoding{JT1}\kanjiencoding{JY1}\selectfont}{}
\newenvironment{jisx0212}{\def\cy@encoding{JY2}\def\ct@encoding{JT2}%
  \kanjiencoding{JY2}\selectfont}{}
\newcommand{\HojoKanji}[1]{\def\cy@encoding{JY2}\def\ct@encoding{JT2}%
  \begingroup\kanjiencoding{JY2}\selectfont#1\endgroup}

%% EOF
