From 32bfeacdb9c8a2c38eeb81258fba80950027b3b3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 19 Apr 2015 22:29:31 +0000 Subject: cjk-ko (19apr15) git-svn-id: svn://tug.org/texlive/trunk@36947 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty | 14 ++++++++++++-- Master/texmf-dist/tex/latex/cjk-ko/kotex.sty | 5 ++++- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/cjk-ko') diff --git a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty index 31f91519ebc..be56758191e 100644 --- a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty +++ b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty @@ -17,7 +17,7 @@ % Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, % MA 02110-1301 USA -\ProvidesPackage{cjkutf8-ko}[2015/03/20 v1.5 Hangul typesetting on CJKutf8] +\ProvidesPackage{cjkutf8-ko}[2015/04/19 v1.6 Hangul typesetting on CJKutf8] \ifx\eTeXversion\relax \let\eTeXversion\undefined \fi \ifx\eTeXversion\undefined @@ -419,6 +419,16 @@ %%% cause: memoir appempts to write index entries to a file %%% at the end of document without protecting active characters. %%% spotted by Juho Lee. thanks to him. -\AtEndDocument{\CJK@makeInactive} +%\AtEndDocument{\CJK@makeInactive} +%%% still conflicts with package verbments. +%%% so now we make utf8 characters robust. +\count@"C2 \loop + \uccode\count@\z@ + \lccode\count@\z@ + \begingroup + \lccode`\~\count@ + \lowercase{\endgroup + \protected\edef~{\unexpanded\expandafter{~}}} +\ifnum\count@<"F4 \advance\count@\@ne \repeat \endinput diff --git a/Master/texmf-dist/tex/latex/cjk-ko/kotex.sty b/Master/texmf-dist/tex/latex/cjk-ko/kotex.sty index adec811804e..d2d4a0f9036 100644 --- a/Master/texmf-dist/tex/latex/cjk-ko/kotex.sty +++ b/Master/texmf-dist/tex/latex/cjk-ko/kotex.sty @@ -22,7 +22,7 @@ \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname ProvidesPackage\endcsname\relax\else - \ProvidesPackage{kotex}[2015/03/20 v1.5 Korean TeX (ko.TeX)] + \ProvidesPackage{kotex}[2015/04/19 v1.6 Korean TeX (ko.TeX)] \fi \ifx\directlua\relax \let\directlua\undefined \fi @@ -95,6 +95,9 @@ \fi \else \RequirePackage{luatexko} + \if@ko@euc + \luatexuhcinputencoding=1 + \fi \fi \endinput -- cgit v1.2.3