diff options
Diffstat (limited to 'language/korean/cjk-ko/cjkutf8-ko.sty')
-rw-r--r-- | language/korean/cjk-ko/cjkutf8-ko.sty | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/language/korean/cjk-ko/cjkutf8-ko.sty b/language/korean/cjk-ko/cjkutf8-ko.sty index 209b2ee1a6..f93d6c7c9c 100644 --- a/language/korean/cjk-ko/cjkutf8-ko.sty +++ b/language/korean/cjk-ko/cjkutf8-ko.sty @@ -1,6 +1,6 @@ % cjkutf8-ko.sty % -% Copyright (c) 2016-2022 Dohyun Kim <nomos at ktug org> +% Copyright (c) 2016-2023 Dohyun Kim <nomos at ktug org> % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by @@ -18,7 +18,7 @@ % MA 02110-1301 USA \NeedsTeXFormat{LaTeX2e}[2022/06/01] -\ProvidesPackage{cjkutf8-ko}[2022/06/12 v2.3 Hangul typesetting on CJKutf8] +\ProvidesPackage{cjkutf8-ko}[2023/05/31 v2.4 Hangul typesetting on CJKutf8] \newif\if@hangul \newif\if@hanja @@ -146,6 +146,12 @@ \CJKspace \CJK@envStart{}{UTF8}{\CJKKO@mjfont} \makeatletter +% protect utf8 octets +\count@"80 \loop + \begingroup + \lccode`\~\count@ + \lowercase{\endgroup \protected\edef~{\unexpanded\expandafter{~}}} +\ifnum\count@<"F4 \advance\count@\@ne \repeat %%%%%%%%%%%%%%%%%%%%%%%%% % italic correction after cjk @@ -423,7 +429,7 @@ \fi} %%% for fancyvrb/verbments package -\AddToHook{env/VerbatimOut/begin}{\CJK@makeInactive} +%\AddToHook{env/VerbatimOut/begin}{\CJK@makeInactive} %%% hyperref bookmarks. \ifx\pdfstringdefPreHook\undefined |