summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xetex/xetexko
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-09 22:40:05 +0000
committerKarl Berry <karl@freefriends.org>2016-04-09 22:40:05 +0000
commitad7fc27ffd2b87a7a7263b7f4e97f2f0a48451fa (patch)
tree49a1916c2222c4b61e04fa377bcdae767c0e4524 /Master/texmf-dist/tex/xetex/xetexko
parentf40f5d12f5e60cc64a52359e1af13e6583667ba5 (diff)
xetexko (8apr16)
git-svn-id: svn://tug.org/texlive/trunk@40374 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xetex/xetexko')
-rw-r--r--Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty2
-rw-r--r--Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty2
-rw-r--r--Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty10
-rw-r--r--Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty70
-rw-r--r--Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty2
-rw-r--r--Master/texmf-dist/tex/xetex/xetexko/xetexko.sty2
6 files changed, 36 insertions, 52 deletions
diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty
index aa178fa6ffa..7cb5ea7e3e0 100644
--- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty
+++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty
@@ -10,7 +10,7 @@
% and version 1.3c or later is part of all distributions of LaTeX
% version 2006/05/20 or later.
-\ProvidesPackage{xetexko-font}[2016/02/01 v2.14 LaTeX Font commands for XeTeX-ko]
+\ProvidesPackage{xetexko-font}[2016/04/04 v2.15 LaTeX Font commands for XeTeX-ko]
\let\xetexko@f@size\f@size
\RequirePackage{fontspec}[2014/05/25]
diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty
index 1d26e89ce1b..0bb995731b7 100644
--- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty
+++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty
@@ -13,7 +13,7 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
\ProvidesPackage{xetexko-hanging}
- [2016/02/01 v2.14 Hanging punctuations for XeTeX-ko]
+ [2016/04/04 v2.15 Hanging punctuations for XeTeX-ko]
\fi
\chardef\catcodeofATcharacter\catcode`@
diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty
index 63ee9594e00..77ea1f92857 100644
--- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty
+++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty
@@ -12,7 +12,7 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
- \ProvidesPackage{xetexko-josa}[2016/02/01 v2.14 Auto-josa for XeTeX-ko]
+ \ProvidesPackage{xetexko-josa}[2016/04/04 v2.15 Auto-josa for XeTeX-ko]
\fi
\unless\ifcsname @tempcnta\endcsname
@@ -207,8 +207,14 @@
\def\로{\makejosa{}{으}로}
\def\라{\makejosa{라}{이라}}
\def\makejosa@I{%
- \ifx\dhucs@next라%
+ \ifcat\dhucs@next\dhucs@cat@twelve
+ \expandafter\expandafter\expandafter\count@\expandafter
+ \strip@characternum@meaning@prefix\meaning\dhucs@next\end
+ \ifnum 0\ifnum\count@>"ABFF \ifnum\count@<"D7A4 1\fi\fi>\z@
\makejosa\relax{이}%
+ \else
+ \makejosa{가}{이}%
+ \fi
\else
\makejosa{가}{이}%
\fi
diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty
index 07481b4c578..557012116f8 100644
--- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty
+++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty
@@ -13,7 +13,7 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
\ProvidesPackage{xetexko-space}
- [2016/02/01 v2.14 Spacings and fonts for XeTeX-ko]
+ [2016/04/04 v2.15 Spacings and fonts for XeTeX-ko]
\fi
%%% we need XeTeX > 0.997
@@ -44,6 +44,14 @@
\repeat
}
+% xetex 0.99994 extended char class limit.
+\ifdim\the\XeTeXversion\XeTeXrevision pt<0.99994pt
+ \let\XeTeXcharclassIgnore\@cclvi
+ \let\XKboundary\@cclv
+\else
+ \chardef\XeTeXcharclassIgnore=4096
+ \chardef\XKboundary=4095
+\fi
% from JW
\ifdefined\XeTeXcharclassID\else
\ifdefined\xtxHanGlue
@@ -54,22 +62,30 @@
\newXeTeXintercharclass\XeTeXcharclassID
\newXeTeXintercharclass\XeTeXcharclassOP
\newXeTeXintercharclass\XeTeXcharclassCL
- \let\XeTeXcharclassEX\XeTeXcharclassCL
- \let\XeTeXcharclassIS\XeTeXcharclassCL
- \let\XeTeXcharclassNS\XeTeXcharclassCL
- \chardef\XeTeXcharclassCM=256 %
+ \global\let\XeTeXcharclassCJ\XeTeXcharclassID
+ \global\let\XeTeXcharclassEX\XeTeXcharclassCL
+ \global\let\XeTeXcharclassIS\XeTeXcharclassCL
+ \global\let\XeTeXcharclassNS\XeTeXcharclassCL
+ \global\let\XeTeXcharclassCM\XeTeXcharclassIgnore
\input load-unicode-xetex-classes %
\fi
\fi
\let \XKhanja \XeTeXcharclassID
\let \XKcjkopening \XeTeXcharclassOP
-\let \XKsmallkana \XeTeXcharclassCL
+\let \XKcjkclosing \XeTeXcharclassCL
+\let \XKlatinchar \z@
+
+\XeTeXcharclass "2018 = \XKcjkopening % ‘
+\XeTeXcharclass "201C = \XKcjkopening % “
-\chardef \XKlatinchar \z@
-\chardef \XKboundary \@cclv
+\XeTeXcharclass "2019 = \XKcjkclosing % ’
+\XeTeXcharclass "201D = \XKcjkclosing % ”
+
+\XeTeXcharclass "25A1 = \XKhanja % □
%%% small kana (something has changed)
+\newXeTeXintercharclass \XKsmallkana
\XeTeXcharclass "3041 = \XKsmallkana
\XeTeXcharclass "3043 = \XKsmallkana
\XeTeXcharclass "3045 = \XKsmallkana
@@ -98,44 +114,6 @@
\XK@assign@char@class{"31F0}{"31FF}\XKsmallkana
\XK@assign@char@class{"FF67}{"FF70}\XKsmallkana
-%%%
-\XeTeXcharclass "25A1 = \XKhanja % □
-
-%%%
-\XeTeXcharclass "2018 = \XKcjkopening % ‘
-\XeTeXcharclass "201C = \XKcjkopening % “
-\XeTeXcharclass "FF62 = \XKcjkopening % 「
-
-%%% cjk closing parentheses
-\newXeTeXintercharclass \XKcjkclosing
-\XeTeXcharclass "2019 = \XKcjkclosing % ’
-\XeTeXcharclass "201D = \XKcjkclosing % ”
-\XeTeXcharclass "3001 = \XKcjkclosing % 、
-\XeTeXcharclass "FE11 = \XKcjkclosing % 、 vert
-\XeTeXcharclass "FF0C = \XKcjkclosing % ,
-\XeTeXcharclass "FE10 = \XKcjkclosing % , vert
-\XeTeXcharclass "2019 = \XKcjkclosing % ’
-\XeTeXcharclass "201D = \XKcjkclosing % ”
-\XeTeXcharclass "FF09 = \XKcjkclosing % )
-\XeTeXcharclass "FE36 = \XKcjkclosing % ) vert
-\XeTeXcharclass "3015 = \XKcjkclosing % 〕
-\XeTeXcharclass "FE3A = \XKcjkclosing % 〕 vert
-\XeTeXcharclass "FF3D = \XKcjkclosing % ]
-\XeTeXcharclass "FE48 = \XKcjkclosing % ] vert
-\XeTeXcharclass "FF5D = \XKcjkclosing % }
-\XeTeXcharclass "FE38 = \XKcjkclosing % } vert
-\XeTeXcharclass "3009 = \XKcjkclosing % 〉
-\XeTeXcharclass "FE40 = \XKcjkclosing % 〉 vert
-\XeTeXcharclass "300B = \XKcjkclosing % 》
-\XeTeXcharclass "FE3E = \XKcjkclosing % 》 vert
-\XeTeXcharclass "300D = \XKcjkclosing % 」
-\XeTeXcharclass "FE42 = \XKcjkclosing % 」 vert
-\XeTeXcharclass "300F = \XKcjkclosing % 』
-\XeTeXcharclass "FE44 = \XKcjkclosing % 』 vert
-\XeTeXcharclass "3011 = \XKcjkclosing % 】
-\XeTeXcharclass "FE3C = \XKcjkclosing % 】 vert
-\XeTeXcharclass "FF63 = \XKcjkclosing % 」
-
%%% cjk colons
\newXeTeXintercharclass \XKcjkcolon
\XeTeXcharclass "00B7 = \XKcjkcolon % ·
diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty
index df350b9b223..3632fa4f63a 100644
--- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty
+++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty
@@ -13,7 +13,7 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
\ProvidesPackage{xetexko-vertical}
- [2016/02/01 v2.14 Vertical environment for XeTeX-ko]
+ [2016/04/04 v2.15 Vertical environment for XeTeX-ko]
\fi
% do not veticalize headline/footline
diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty
index 0bd2d83219d..be095526186 100644
--- a/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty
+++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty
@@ -12,7 +12,7 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
- \ProvidesPackage{xetexko}[2016/02/01 v2.14 Typesetting Korean with XeTeX]
+ \ProvidesPackage{xetexko}[2016/04/04 v2.15 Typesetting Korean with XeTeX]
\fi
\begingroup\expandafter\expandafter\expandafter\endgroup