%% File `dhucs-paralist.sty`
%%
%% Copyright (c) 2007-2013 Dohyun Kim <nomos at krug org>
%% modification from dhucs-enumerate.sty by Kangsoo Kim <karnes at ktug org>. 
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%%  http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2006/05/20 or later.
%%
\ProvidesPackage{dhucs-paralist}
  [2006/07/09 partially support paralist.sty under dhucs]

\@ifpackageloaded{paralist}{}{\RequirePackage{paralist}}

\g@addto@macro\pl@hook{%
  \ifx^^ea\pl@temp  % 가,  
    \let\@tempa\@dhucs@enumerate\else %%%%%
  \ifx^^e2\pl@temp  % ①, ⑴, ⒜, ⓐ, ⅰ, Ⅰ
    \let\@tempa\@dhucs@enumerate\else %%%%%
  \ifx^^e3\pl@temp  % ㄱ, ㉠, ㉮, ㈀, ㈎
    \let\@tempa\@dhucs@enumerate
  \fi\fi\fi}
\def\@dhucs@enumerate#1#2#3{%
  \bgroup\let\unihangulchar\@firstofone
    \xdef\@dhucs@enum@temp{#1#2#3}\egroup
  \ifnum\@dhucs@enum@temp=44032 \def\@tempa{\pl@label\gana}\else
  \ifnum\@dhucs@enum@temp=8560  \def\@tempa{\pl@label\hroman}\else
  \ifnum\@dhucs@enum@temp=8544  \def\@tempa{\pl@label\hRoman}\else
  \ifnum\@dhucs@enum@temp=9372  \def\@tempa{\pl@label\peng}\else
  \ifnum\@dhucs@enum@temp=9424  \def\@tempa{\pl@label\oeng}\else
  \ifnum\@dhucs@enum@temp=9332  \def\@tempa{\pl@label\pnum}\else
  \ifnum\@dhucs@enum@temp=9312  \def\@tempa{\pl@label\onum}\else
  \ifnum\@dhucs@enum@temp=12814 \def\@tempa{\pl@label\pgana}\else
  \ifnum\@dhucs@enum@temp=12910 \def\@tempa{\pl@label\ogana}\else
  \ifnum\@dhucs@enum@temp=12896 \def\@tempa{\pl@label\ojaso}\else
  \ifnum\@dhucs@enum@temp=12593 \def\@tempa{\pl@label\jaso}\else
  \ifnum\@dhucs@enum@temp=12800 \def\@tempa{\pl@label\pjaso}\else
    \PackageError{dhucs-paralist}
      {You can't use `\unexpanded{#1#2#3}' as enum label}
      {Legal enum labels of hangul-ucs are: \MessageBreak\space\space
        \unexpanded{가, ㄱ, ㉠, ㉮, ㈀, ㈎, ①, ⑴, ⒜, ⓐ, ⅰ, Ⅰ}.}
  \fi\fi\fi\fi\fi \fi\fi\fi\fi\fi \fi\fi
  \@tempa\relax}
  
\endinput
