summaryrefslogtreecommitdiff
path: root/language/korean/kotex-utf/contrib/dhucs-ucshyper.sty
diff options
context:
space:
mode:
Diffstat (limited to 'language/korean/kotex-utf/contrib/dhucs-ucshyper.sty')
-rw-r--r--language/korean/kotex-utf/contrib/dhucs-ucshyper.sty34
1 files changed, 34 insertions, 0 deletions
diff --git a/language/korean/kotex-utf/contrib/dhucs-ucshyper.sty b/language/korean/kotex-utf/contrib/dhucs-ucshyper.sty
new file mode 100644
index 0000000000..5d393ccde7
--- /dev/null
+++ b/language/korean/kotex-utf/contrib/dhucs-ucshyper.sty
@@ -0,0 +1,34 @@
+%% File `dhucs-ucshyper.sty`
+%%
+%% Copyright (c) 2013 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.
+%%
+%% ko.TeX에서 없어진, 이전 hangul-ucs의 부가 스타일
+%% 하위 호환성을 위해서 같은 이름을 가진 스타일을 작성함.
+%%
+\newif\if@dvips\@dvipsfalse
+\DeclareOption{dvips}{\@dvipstrue}
+\ProcessOptions
+
+\RequirePackage{ifpdf}
+%\@ifpackageloaded{hyperref}{}{%
+\ifpdf
+ \RequirePackage[pdftex,unicode,bookmarks=true]{hyperref}
+ \input glyphtounicode\pdfgentounicode=1
+\else
+ \if@dvips
+ \RequirePackage[dvips,unicode]{hyperref}
+ \else
+ \RequirePackage[dvipdfm,unicode,bookmarks=true]{hyperref}
+ \fi
+\fi
+%}
+
+\endinput