diff options
author | Norbert Preining <norbert@preining.info> | 2021-08-10 03:01:45 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-08-10 03:01:45 +0000 |
commit | 5bc44ca57dbc5dac1c9beae2df2712cdb16dc563 (patch) | |
tree | 026a7751d13233572872931696ff7faa58db83a0 /macros/xetex/generic/xetexko/xetexko.sty | |
parent | 36320cbe81185b9897691aaae9caae090e675fd0 (diff) |
CTAN sync 202108100301
Diffstat (limited to 'macros/xetex/generic/xetexko/xetexko.sty')
-rw-r--r-- | macros/xetex/generic/xetexko/xetexko.sty | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/macros/xetex/generic/xetexko/xetexko.sty b/macros/xetex/generic/xetexko/xetexko.sty index d2410a29f0..aff19c67a1 100644 --- a/macros/xetex/generic/xetexko/xetexko.sty +++ b/macros/xetex/generic/xetexko/xetexko.sty @@ -16,7 +16,7 @@ \ifdefined\ProvidesPackage \NeedsTeXFormat{LaTeX2e}[2021/06/01] - \ProvidesPackage{xetexko}[2021/07/13 v3.8 typesetting Korean with XeTeX] + \ProvidesPackage{xetexko}[2021/08/09 v3.9 typesetting Korean with XeTeX] \else \ifdefined\@tempcnta\else \newcount\@tempcnta \fi \ifdefined\@sptoken \else @@ -142,16 +142,13 @@ % 결락기호 \XeTeXcharclass "25A1=\XeTeXcharclassID % □ % some KS symbols -\XeTeXcharclass "2030=\XeTeXcharclassSY % ‰ \XeTeXcharclass "2032=\XeTeXcharclassSY % ′ \XeTeXcharclass "2033=\XeTeXcharclassSY % ″ \XeTeXcharclass "203B=\XeTeXcharclassSY % ※ \XeTeXcharclass "2103=\XeTeXcharclassSY % ℃ \XeTeXcharclass "2109=\XeTeXcharclassSY % ℉ \XeTeXcharclass "2113=\XeTeXcharclassSY % ℓ -\XeTeXcharclass "2116=\XeTeXcharclassSY % № \XeTeXcharclass "2121=\XeTeXcharclassSY % ℡ -\XeTeXcharclass "2122=\XeTeXcharclassSY % ™ \count@="2160 \loop % Ⅰ..Ⅹ \XeTeXcharclass\count@=\XeTeXcharclassSY \ifnum\count@<"2169 \advance\count@\@ne \repeat @@ -230,6 +227,7 @@ \XeTeXcharclass "266A = \XeTeXcharclassSY % ♪ \XeTeXcharclass "266C = \XeTeXcharclassSY % ♬ \XeTeXcharclass "266D = \XeTeXcharclassSY % ♭ +\XeTeXcharclass "3000 = \XeTeXcharclassSY % \XeTeXcharclass "3013 = \XeTeXcharclassSY % 〓 \count@="3200 \loop % ㈀..㈞ \XeTeXcharclass\count@=\XeTeXcharclassSY @@ -469,9 +467,11 @@ \expandafter\let\expandafter\XeKo@latin@font\the\font \fi\fi \ifdefined\XeKo@hangul@font - \XeKo@reset@options - \XeKo@hangul@font - \expandafter\let\expandafter\XeKo@raw@hangul@font\the\font + \ifx\f@encoding\UTFencname + \XeKo@reset@options + \XeKo@hangul@font + \expandafter\let\expandafter\XeKo@raw@hangul@font\the\font + \fi \fi } \def\XeKo@font@CJK{% @@ -480,9 +480,11 @@ \expandafter\let\expandafter\XeKo@latin@font\the\font \fi\fi \ifdefined\XeKo@hanja@font - \XeKo@reset@options - \XeKo@hanja@font - \expandafter\let\expandafter\XeKo@raw@hanja@font\the\font + \ifx\f@encoding\UTFencname + \XeKo@reset@options + \XeKo@hanja@font + \expandafter\let\expandafter\XeKo@raw@hanja@font\the\font + \fi \fi } \def\XeKo@font@Latin{% @@ -2494,9 +2496,6 @@ \def\으{으}% \def\로{로}% \def\hellipsis{...}}}{} - \if@hangul - \RequirePackage{konames-utf} - \fi } \newif\if@hangul @@ -2507,6 +2506,9 @@ \ProcessOptions\relax \RequirePackage{kolabels-utf} +\if@hangul + \RequirePackage{konames-utf} +\fi \protected\def\hellipsis{^^^^2026^^^^2026} |