summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty')
-rw-r--r--Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty14
1 files changed, 12 insertions, 2 deletions
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