summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-07-30 22:02:27 +0000
committerKarl Berry <karl@freefriends.org>2015-07-30 22:02:27 +0000
commit9d26d2183c8125be8f6573a04ffd66f2e9c79e96 (patch)
treef3add2cf918b680d1ec0328f2d8f083ac585a259 /Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x
parent1646f1f66b767ac74611bb2fc280188b3ce1b739 (diff)
kotex-oblivoir (30jul15)
git-svn-id: svn://tug.org/texlive/trunk@38006 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x')
-rw-r--r--Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/memhangul-x.sty23
1 files changed, 18 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/memhangul-x.sty b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/memhangul-x.sty
index e55fadebe03..7a5b74ae1d0 100644
--- a/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/memhangul-x.sty
+++ b/Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x/memhangul-x.sty
@@ -14,10 +14,10 @@
%% part of oblivoir v2
%%
\NeedsTeXFormat{LaTeX2e}
-\def\filedate{2014/06/12}
-\def\fileversion{11.8}
+\def\filedate{2015/07/27}
+\def\fileversion{11.9}
\ProvidesPackage{memhangul-x}[\filedate Hangul Typography for (x)oblivoir]
-\typeout{Hangul Typography for (x)oblivoir}
+%\typeout{Hangul Typography for (x)oblivoir}
%% Options :
@@ -64,6 +64,8 @@
\DeclareOption{hangulpagestyle}{\@defaulthangulpagestyletrue}
\newif\if@pdfbookmark{\@pdfbookmarkfalse}
\DeclareOption{pdfbookmark}{\@pdfbookmarktrue}
+\newif\if@polyglos\@polyglosfalse
+\DeclareOption{polyglossia}{\@polyglostrue}
\ifxetex
%%% xetexko options
@@ -119,6 +121,17 @@
\ProcessOptions \relax
+\if@polyglos
+ \RequirePackage{polyglossia}
+ \RequirePackage{xparse}
+ \NewDocumentCommand\sethangulfont{mo}{%
+ \IfValueTF{#2}{%
+ \newfontfamily\hangulfont{#1}[#2]%
+ }{%
+ \newfontfamily\hangulfont{#1}%
+ }
+ }
+\else
\ifluatex
\RequirePackage{luatexko}
\RequirePackage{xob-font}
@@ -127,12 +140,12 @@
\RequirePackage{xetexko-var}
\RequirePackage{xob-dotemph}
\else
- \ifKOTEXCJK
+ \ifKOTEXCJK
\RequirePackage{cjkutf8-ko}
% \else
% \RequirePackage{dhucs}
\fi
-\fi\fi
+\fi\fi\fi
%% define memh@hu
\newdimen\memh@hu\memh@hu=0.059375em