summaryrefslogtreecommitdiff
path: root/language/korean/kotex-utf/contrib/dhucs-ucshyper.sty
blob: 5d393ccde73a6ebf3781ecaae639b02a456f87b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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