diff options
author | Karl Berry <karl@freefriends.org> | 2019-06-22 21:23:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-06-22 21:23:02 +0000 |
commit | 3f444ab8318d583f7cadb0d135486a8b204b567c (patch) | |
tree | 5c50a3590cdcee7a6080bf09b1a355ceb0b482e2 /Master/texmf-dist/tex/luatex/luatexko/luatexko.sty | |
parent | aa7047f2124bed0dd8bf7be61b5d99517f233a1e (diff) |
luatexko (22jun19)
git-svn-id: svn://tug.org/texlive/trunk@51424 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexko/luatexko.sty')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexko/luatexko.sty | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty b/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty index 8660fe8de54..dbe1be8411a 100644 --- a/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty +++ b/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty @@ -13,7 +13,7 @@ \ifdefined\luatexkohangulfontattr \endinput\fi \ifdefined\selectfont - \ProvidesPackage{luatexko}[2019/06/07 v2.2 typesetting Korean with LuaTeX] + \ProvidesPackage{luatexko}[2019/06/21 v2.3 typesetting Korean with LuaTeX] \RequirePackage{luatexbase} \RequirePackage{fontspec} \else @@ -22,6 +22,7 @@ \chardef\luatexkoatcatcode=\catcode`\@ \catcode`\@=11 \fi +\newlanguage\koreanlanguage \protected\def\pdfliteral{\pdfextension literal} \newattribute\luatexkohangulfontattr \newattribute\luatexkohanjafontattr @@ -30,7 +31,7 @@ \newattribute\luatexkoclassicattr \newattribute\luatexkodotemphattr \newattribute\luatexkorubyattr \chardef\luatexkorubyalloc\allocationnumber -\directlua{ require"luatexko.lua" } +\directlua{ require"luatexko" } % classic \protected\def\typesetclassic{\luatexkoclassicattr\z@\parindent1em } \protected\def\typesetvertical{\luatexkoclassicattr\@ne\parindent1em } @@ -293,17 +294,17 @@ \directlua{require"luatexko-normalize"}% \afterassignment\luatexkohangulnormalize\count@} \def\luatexkohangulnormalize{% - \ifcase\count@ \directlua{ luatexkonormalize.unload() }% 0: none - \or \directlua{ luatexkonormalize.compose() }% 1: nfc - \else \directlua{ luatexkonormalize.decompose() }% 2: nfd + \ifcase\count@ \directlua{ luatexko.normalize.unload() }% 0: none + \or \directlua{ luatexko.normalize.compose() }% 1: nfc + \else \directlua{ luatexko.normalize.decompose() }% 2: nfd \fi } % convert uhc to utf8 \def\luatexuhcinputencoding{% \directlua{require"luatexko-uhc2utf8"}% \afterassignment\luatexkouhcinputencoding\count@} \def\luatexkouhcinputencoding{% - \ifcase\count@ \directlua{ luatexkouhc2utf8.stopconvert() }% - \else \directlua{ luatexkouhc2utf8.startconvert() }% + \ifcase\count@ \directlua{ luatexko.uhc2utf8.stopconvert() }% + \else \directlua{ luatexko.uhc2utf8.startconvert() }% \fi} % actualtext not provided \protected\def\actualtext#1#{\luatexkoactualtext} |