%
% kanjinumber.sty by
%	$B0B2,9'0l(B <yasuoka@kanji.zinbun.kyoto-u.ac.jp>, January 13, 1998
%
%	\pagenumbering{kanjinumber}
%	\renewcommand{\thesection}{\kanjinumber{section}}
% $B$J$I$N!V4A?t;z$K$h$k%J%s%P%j%s%0!W$r2DG=$K$9$k$?$a$N%9%?%$%k%U%!%$%k$G$9!#(B
%	\kansuji1998
%	\kansuji\year
% $B$J$I$b2DG=$K$J$j$^$9!#4A;z%G!<%?$r4^$s$G$$$k$?$a!"I,MW$J$i$P4A;z%3!<%I$rJQ(B
% $B49$7$F$+$i$*;H$$2<$5$$!#$J$*!":G?7HG$O(B
%	http://kanji.zinbun.kyoto-u.ac.jp/~yasuoka/program.html
% $B$r$4$i$s2<$5$$!#(B
%
\@ifundefined{kansuji}{%
  \typeout{kanjinumber.sty for NTT-jLaTeX by Koichi Yasuoka, January 1998}%
  \newcount\@kanjinumbercnt
  \def\kansuji{\protect\@kansuji}%
  \def\@kansuji{\afterassignment\@@kansuji\@kanjinumbercnt=}%
  \def\@@kansuji{\@kanjinumber\@kanjinumbercnt}%
  \def\@kanjinumber#1{\expandafter\@@kanjinumber\number #1.}%
  \def\@@kanjinumber#1#2.{%
    \@@@kanjinumber#1%
    \if.#2.%
    \else
      \@@kanjinumber#2.%
    \fi
  }%
  \def\@@@kanjinumber#1{%
    \ifcase#1%
      $B!;(B\or $B0l(B\or $BFs(B\or $B;0(B\or $B;M(B\or $B8^(B\or $BO;(B\or $B<7(B\or $BH,(B\or $B6e(B%
    \fi
  }%
}{%
  \typeout{kanjinumber.sty for ASCII-pLaTeX by Koichi Yasuoka, January 1998}%
  \def\@kanjinumber#1{\kansuji #1}%
}%
\def\kanjinumber#1{\@kanjinumber{\csname c@#1\endcsname}}%
