diff options
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexko/luatexko-core.sty')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexko/luatexko-core.sty | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexko/luatexko-core.sty b/Master/texmf-dist/tex/luatex/luatexko/luatexko-core.sty index b91570c9b80..59a485e7574 100644 --- a/Master/texmf-dist/tex/luatex/luatexko/luatexko-core.sty +++ b/Master/texmf-dist/tex/luatex/luatexko/luatexko-core.sty @@ -17,7 +17,7 @@ \ifcsname ifpdf\endcsname\else \input ifpdf.sty \fi \catcode`@ = 11 \else - \ProvidesPackage{luatexko-core}[2018/04/19 v1.20 Typesetting Korean with LuaTeX] + \ProvidesPackage{luatexko-core}[2018/11/09 v1.22 Typesetting Korean with LuaTeX] \RequirePackage{luaotfload}[2016/04/21] \RequirePackage{ifpdf} \fi @@ -419,6 +419,16 @@ \directlua{ luatexkouhc2utf8.start_uhc_filename() }% \fi} +%% use hangul font for hangul chars +\def\hangulfontforhangul{\afterassignment\h@ngul@fontforh@ngul\count@} +\let\hangulbyhangulfont\hangulfontforhangul +\def\h@ngul@fontforh@ngul{% + \ifcase\count@ + \directlua{ luatexko.hangulfontforhangul = false }% + \else + \directlua{ luatexko.hangulfontforhangul = true }% + \fi} + %% use hanja font for hanja chars \def\hanjafontforhanja{\afterassignment\h@nj@fontforh@nj@\count@} \let\hanjabyhanjafont\hanjafontforhanja |