summaryrefslogtreecommitdiff
path: root/language/korean/kotex-oblivoir/tex/oblivoir-xl.cls
diff options
context:
space:
mode:
Diffstat (limited to 'language/korean/kotex-oblivoir/tex/oblivoir-xl.cls')
-rw-r--r--language/korean/kotex-oblivoir/tex/oblivoir-xl.cls41
1 files changed, 25 insertions, 16 deletions
diff --git a/language/korean/kotex-oblivoir/tex/oblivoir-xl.cls b/language/korean/kotex-oblivoir/tex/oblivoir-xl.cls
index e68aa40c94..7023eea550 100644
--- a/language/korean/kotex-oblivoir/tex/oblivoir-xl.cls
+++ b/language/korean/kotex-oblivoir/tex/oblivoir-xl.cls
@@ -1,6 +1,6 @@
%% File `oblivoir-xl.cls`
%%
-%% (C) Copyright 2006-2021 Kangsoo Kim <karnes at ktug org>
+%% (C) Copyright 2006-2022 Kangsoo Kim <modviv2k15 at gmail dot com>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -14,7 +14,7 @@
%% depends upon Dohyun Kim's xetexko and the author's memhangul-x.
%%
\ProvidesClass{oblivoir-xl}
- [2021/09/21 v0.8.6 article-like class to typeset Korean]
+ [2022/03/05 v0.8.7 article-like class to typeset Korean]
%\typeout{A variant of oblivoir class for Lua- or XeLaTeX.}
\providecommand\@DisabledOption[1]{%
@@ -45,8 +45,11 @@
\DeclareOptionX{kosection}{\kosectiontrue}
\newif\ifnobookmarks\nobookmarksfalse
\DeclareOptionX{nobookmarks}{\nobookmarkstrue}
+\newif\ifbookmarkpkg\bookmarkpkgfalse
+\DeclareOptionX{bookmark}{\bookmarkpkgtrue}
\newif\ifhyperrefwithlyx\hyperrefwithlyxfalse
\DeclareOptionX{lyxhyper}{\hyperrefwithlyxtrue}{\hyperrefwithlyxfalse}
+\DeclareOptionX{nohyperref}{\hyperrefwithlyxtrue}{\hyperrefwithlyxfalse}
\newif\if@tendotfive\@tendotfivefalse
\DeclareOptionX{10.5pt}{\@tendotfivetrue}
\newif\if@koreanfn\@koreanfnfalse
@@ -348,30 +351,36 @@
\else
\@Call@Hyperref@With@Bookmarks
\fi
+ \ifbookmarkpkg
+ \RequirePackage{bookmark}
+ \fi
}
\def\@Call@Hyperref@Without@Bookmarks{%
- \ifluatex
- \usepackage[unicode,bookmarks=false]{hyperref}
- \else\ifxetex
- \usepackage[bookmarks=false]{hyperref}
- \else
- \usepackage[unicode,bookmarks=false]{hyperref}
- \fi\fi
+% \ifluatex
+% \usepackage[unicode,bookmarks=false]{hyperref}
+% \else\ifxetex
+% \usepackage[bookmarks=false]{hyperref}
+% \else
+% \usepackage[unicode,bookmarks=false]{hyperref}
+% \fi\fi
+ \RequirePackage[bookmarks=false]{hyperref}
}
\def\@Call@Hyperref@With@Bookmarks{%
- \ifluatex
- \usepackage[unicode]{hyperref}
- \else\ifxetex
- \usepackage{hyperref}
- \else
- \usepackage[unicode]{hyperref}
- \fi\fi
+% \ifluatex
+% \usepackage[unicode]{hyperref}
+% \else\ifxetex
+% \usepackage{hyperref}
+% \else
+% \usepackage[unicode]{hyperref}
+% \fi\fi
+ \RequirePackage{hyperref}
}
%% LyX 1.6.x의 Insert-Hyperlink 기능과 충돌하지 않게 하기 위하여
%% hyperref을 로드하지 않음. (lyxhyper 옵션)
+%% lyxhyper = nohyperref
%% note: memhfixc는 memoir 자신이 로드해준다.
\ifnokorean\relax\else
\ifhyperrefwithlyx\relax\else