diff options
author | Karl Berry <karl@freefriends.org> | 2015-10-05 20:58:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-10-05 20:58:39 +0000 |
commit | b2d6b6ee55083fba2aa66ac9f7c8a56eb181ae8c (patch) | |
tree | aec5b57777902fdc48d3bd52f12cd2c17d316dde /Master/texmf-dist/tex/latex/kotex-oblivoir/memhangul-x | |
parent | 3da26c1c9147d37bb5d17da82e64040339d353e3 (diff) |
kotex-oblivoir (5oct15)
git-svn-id: svn://tug.org/texlive/trunk@38557 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.sty | 29 |
1 files changed, 20 insertions, 9 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 7a5b74ae1d0..787df1d0dbf 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 @@ -1,6 +1,6 @@ %% File `memhangul-x.sty` %% -%% (C) Copyright 2006-2013 Kangsoo Kim <karnes at ktug org> +%% (C) Copyright 2006-2015 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 @@ -14,8 +14,8 @@ %% part of oblivoir v2 %% \NeedsTeXFormat{LaTeX2e} -\def\filedate{2015/07/27} -\def\fileversion{11.9} +\def\filedate{2015/10/05} +\def\fileversion{11.10} \ProvidesPackage{memhangul-x}[\filedate Hangul Typography for (x)oblivoir] %\typeout{Hangul Typography for (x)oblivoir} @@ -124,13 +124,23 @@ \if@polyglos \RequirePackage{polyglossia} \RequirePackage{xparse} - \NewDocumentCommand\sethangulfont{mo}{% - \IfValueTF{#2}{% - \newfontfamily\hangulfont{#1}[#2]% - }{% - \newfontfamily\hangulfont{#1}% +%%% \sethangulfont{FONTNAME} or \sethangulfont[tt]{FONTNAME}[FEATURES] + \NewDocumentCommand\sethangulfont{omo}{% + \IfValueTF{#1}{% + \IfValueTF{#3}{% + \expandafter\newfontfamily\csname hangulfont#1\endcsname + {#2}[#3]}{% + \expandafter\newfontfamily\csname hangulfont#1\endcsname + {#2}}% + }% + {% + \IfValueTF{#3}{% + \newfontfamily\hangulfont{#2}[#3]% + }{% + \newfontfamily\hangulfont{#2}% + }% + }% } - } \else \ifluatex \RequirePackage{luatexko} @@ -358,6 +368,7 @@ \endinput % CHANGE LOG +% 2015/10/05 : change \sethangulfont command for polyglossia % 2014/04/29 : fix a bug reported by Progress % 2013/10/22 : introduce memhangul-common.sty % 2013/10/16 : \kscntformat and [kosection] bug fix. |