summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexko/luatexko.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexko/luatexko.sty15
1 files changed, 10 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty b/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty
index d62e0d8ec75..4957ad3a99a 100644
--- a/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty
+++ b/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty
@@ -1,6 +1,6 @@
% luatexko.sty
%
-% Copyright (c) 2013-2015 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2016 Dohyun Kim <nomos at ktug org>
% Soojin Nam <jsunam at gmail com>
%
% This work may be distributed and/or modified under the
@@ -23,7 +23,12 @@
\expandafter\endinput
\fi
-\ProvidesPackage{luatexko}[2015/12/10 v1.11 Typesetting Korean with LuaLaTeX]
+\ProvidesPackage{luatexko}[2016/04/22 v1.12 Typesetting Korean with LuaLaTeX]
+
+\ifdefined\adjustspacing\else % luatex < 0.87
+ \let\adjustspacing\pdfadjustspacing
+ \let\protrudechars\pdfprotrudechars
+\fi
%% package options
\newif\if@hangul
@@ -68,9 +73,9 @@
}
}
\newhangulfontfeature{Protrusion}{protrusion}{default}
- {\aftergroup\pdfprotrudechars\aftergroup\tw@}
+ {\aftergroup\protrudechars\aftergroup\tw@}
\newhangulfontfeature{Expansion}{expansion}{default}
- {\aftergroup\pdfadjustspacing\aftergroup\tw@}
+ {\aftergroup\adjustspacing\aftergroup\tw@}
%% default font features
\cs_set_eq:NN \defaulthangulfontfeatures \defaultfontfeatures
\cs_set_eq:NN \defaulthanjafontfeatures \defaultfontfeatures
@@ -389,7 +394,7 @@
\protected\edef\ttfamily{%
\unexpanded{\luatexko@mono@fonts}\unexpanded\expandafter{\ttfamily}}
\edef\verbatim@font{\unexpanded\expandafter{\verbatim@font
- \unsetluatexattribute\finemathattr}}
+ \unsetattribute\finemathattr}}
\AtBeginDocument{
\unless\ifdefined\serifhangul@font\let\serifhangul@font\sanshangul@font\fi