diff options
Diffstat (limited to 'Master/texmf-dist/tex/xetex/xetexko')
-rw-r--r-- | Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty | 175 | ||||
-rw-r--r-- | Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty | 18 | ||||
-rw-r--r-- | Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty | 134 | ||||
-rw-r--r-- | Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty | 1152 | ||||
-rw-r--r-- | Master/texmf-dist/tex/xetex/xetexko/xetexko.sty | 108 |
5 files changed, 800 insertions, 787 deletions
diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty index 892b2cfcef0..882da1e7262 100644 --- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty +++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty @@ -10,18 +10,11 @@ % and version 1.3c or later is part of all distributions of LaTeX % version 2006/05/20 or later. -\ProvidesPackage{xetexko-font}[2013/03/27 v2.0 Font commands for XeTeX-ko] +\ProvidesPackage{xetexko-font}[2013/12/06 v2.2 Font commands for XeTeX-ko] \RequirePackage{fontspec} \RequirePackage{xkeyval} -%%%%%%%%%% -% ttfamily -\protected\edef\ttfamily - {\unexpanded\expandafter{\ttfamily\disablehangulspacing}} -\edef\verbatim@font - {\unexpanded\expandafter{\verbatim@font\disablehangulspacingandlinebreak}} - %%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% for old hangul rendering \ExplSyntaxOn @@ -40,20 +33,6 @@ } \ExplSyntaxOff -%%%%%%%%%%%%% -% hangul font -\def\hangfnt{% - \edef\@tempb{\sfdefault}\edef\@tempc{\ttdefault}% - \ifx\XKprevfont\@tempb \korsansfont \else - \ifx\XKprevfont\@tempc \kormonofont \else - \kormainfont \fi\fi} -% hanja font -\def\hanifnt{% - \edef\@tempb{\sfdefault}\edef\@tempc{\ttdefault}% - \ifx\XKprevfont\@tempb \hnjsansfont \else - \ifx\XKprevfont\@tempc \hnjmonofont \else - \hnjmainfont \fi\fi} - %%%%%%%%%%%%%%%%%%%%% % hangul font options \newtoks\XK@font@options\XK@font@options{} @@ -74,6 +53,7 @@ \define@key[xtxko]{font}{precommakern}{\addto@hook\XK@font@options{\def\xetexkoprecommakern{#1}}} \define@key[xtxko]{font}{quoteraise}{\addto@hook\XK@font@options{\def\xetexkoquoteraise{#1}}} \define@key[xtxko]{font}{quotewidth}{\addto@hook\XK@font@options{\def\xetexkoquotewidth{#1}}} +\define@key[xtxko]{font}{charraise}{\addto@hook\XK@font@options{\def\xetexkocharraise{#1}}} \presetkeys[xtxko]{font}{ hu=0.06em, @@ -92,7 +72,8 @@ precommakern={}, prequestionkern={}, quoteraise={}, - quotewidth={} + quotewidth={}, + charraise={} }{} %%%%%%%%%%%%%%%%%%%% @@ -140,7 +121,7 @@ % adhochangulfont/adhochanjafont, hangulfontspec/hanjafontspec \protected\def\adhochangulfont{\@ifnextchar[\@adhochangulfont{\@adhochangulfont[]}} \def\@adhochangulfont[#1]{% - \def\hangfnt{\XK@adhoc@hangul@font\XK@adhoc@hangul@options}% + \def\XKhangulfont{\chardef\XKcurrentfont\@ne\XK@adhoc@hangul@font\XK@adhoc@hangul@options}% \XK@font@options{}% \setkeys*[xtxko]{font}{#1}% \edef\XK@adhoc@hangul@options{\the\XK@font@options}% @@ -149,7 +130,7 @@ \protected\def\adhochanjafont{\@ifnextchar[\@adhochanjafont{\@adhochanjafont[]}} \def\@adhochanjafont[#1]{% - \def\hanifnt{\XK@adhoc@hanja@font\XK@adhoc@hanja@options}% + \def\XKhanjafont{\chardef\XKcurrentfont\tw@\XK@adhoc@hanja@font\XK@adhoc@hanja@options}% \XK@font@options{}% \setkeys*[xtxko]{font}{#1}% \edef\XK@adhoc@hanja@options{\the\XK@font@options}% @@ -163,7 +144,7 @@ \protected\def\newhangulfontfamily#1{% \@ifnextchar[{\@newhangulfontfamily#1}{\@newhangulfontfamily#1[]}} \def\@newhangulfontfamily#1[#2]{% - \protected\def#1{\def\hangfnt{\csname\XK@newfont@family\string#1\endcsname + \protected\def#1{\def\XKhangulfont{\chardef\XKcurrentfont\@ne\csname\XK@newfont@family\string#1\endcsname \csname\XK@newfont@options\string#1\endcsname}}% \XK@font@options{}% \setkeys*[xtxko]{font}{#2}% @@ -176,7 +157,7 @@ \protected\def\newhanjafontfamily#1{% \@ifnextchar[{\@newhanjafontfamily#1}{\@newhanjafontfamily#1[]}} \def\@newhanjafontfamily#1[#2]{% - \protected\def#1{\def\hanifnt{\csname\XK@newfont@family\string#1\endcsname + \protected\def#1{\def\XKhanjafont{\chardef\XKcurrentfont\tw@\csname\XK@newfont@family\string#1\endcsname \csname\XK@newfont@options\string#1\endcsname}}% \XK@font@options{}% \setkeys*[xtxko]{font}{#2}% @@ -190,7 +171,7 @@ \protected\def\newhangulfontface#1{% \@ifnextchar[{\@newhangulfontface#1}{\@newhangulfontface#1[]}} \def\@newhangulfontface#1[#2]{% - \protected\def#1{\def\hangfnt{\csname\XK@newfont@family\string#1\endcsname + \protected\def#1{\def\XKhangulfont{\chardef\XKcurrentfont\@ne\csname\XK@newfont@family\string#1\endcsname \csname\XK@newfont@options\string#1\endcsname}}% \XK@font@options{}% \setkeys*[xtxko]{font}{#2}% @@ -203,7 +184,7 @@ \protected\def\newhanjafontface#1{% \@ifnextchar[{\@newhanjafontface#1}{\@newhanjafontface#1[]}} \def\@newhanjafontface#1[#2]{% - \protected\def#1{\def\hanifnt{\csname\XK@newfont@family\string#1\endcsname + \protected\def#1{\def\XKhanjafont{\chardef\XKcurrentfont\tw@\csname\XK@newfont@family\string#1\endcsname \csname\XK@newfont@options\string#1\endcsname}}% \XK@font@options{}% \setkeys*[xtxko]{font}{#2}% @@ -214,12 +195,9 @@ \string\expandafter#1\expandafter\endcsname\expandafter[\XKV@rm]} % addhangulfontfeature/addhanjafontfeature -\let\XK@orig@hangfnt\hangfnt -\let\XK@orig@hanifnt\hanifnt - \protected\def\addhangulfontfeature#1{% \begingroup - \hangfnt + \XKhangulfont \unpresetkeys[xtxko]{font}% \XK@font@options{}% \setkeys*[xtxko]{font}{#1}% @@ -227,33 +205,14 @@ \addfontfeature{\XKV@rm}% \global\let\XK@curr@family\f@family \endgroup - \ifx\hangfnt\XK@orig@hangfnt - \edef\@tempb{\sfdefault}\edef\@tempc{\ttdefault}% - \ifx\XKprevfont\@tempb - \edef\@tempa{\noexpand\DeclareRobustCommand\noexpand\XK@sans@hangul@font - {\noexpand\fontfamily{\XK@curr@family}\noexpand\selectfont}}\@tempa - \edef\XK@sans@hangul@options{\unexpanded\expandafter - {\XK@sans@hangul@options}\the\toks@}% - \else - \ifx\XKprevfont\@tempc - \edef\@tempa{\noexpand\DeclareRobustCommand\noexpand\XK@mono@hangul@font - {\noexpand\fontfamily{\XK@curr@family}\noexpand\selectfont}}\@tempa - \else - \edef\@tempa{\noexpand\DeclareRobustCommand\noexpand\XK@main@hangul@font - {\noexpand\fontfamily{\XK@curr@family}\noexpand\selectfont}}\@tempa - \edef\XK@main@hangul@options{\unexpanded\expandafter - {\XK@main@hangul@options}\the\toks@}% - \fi\fi - \else - \edef\hangfnt{\unexpanded\expandafter{\hangfnt\fontfamily}{\XK@curr@family}% - \noexpand\selectfont\the\toks@}% - \fi + \edef\XKhangulfont{\unexpanded\expandafter{\XKhangulfont\fontfamily}{\XK@curr@family}% + \noexpand\selectfont\the\toks@}% } \let\addhangulfontfeatures\addhangulfontfeature \protected\def\addhanjafontfeature#1{% \begingroup - \hanifnt + \XKhanjafont \unpresetkeys[xtxko]{font}% \XK@font@options{}% \setkeys*[xtxko]{font}{#1}% @@ -261,40 +220,11 @@ \addfontfeature{\XKV@rm}% \global\let\XK@curr@family\f@family \endgroup - \ifx\hanifnt\XK@orig@hanifnt - \edef\@tempb{\sfdefault}\edef\@tempc{\ttdefault}% - \ifx\XKprevfont\@tempb - \edef\@tempa{\noexpand\DeclareRobustCommand\noexpand\XK@sans@hanja@font - {\noexpand\fontfamily{\XK@curr@family}\noexpand\selectfont}}\@tempa - \edef\XK@sans@hanja@options{\unexpanded\expandafter - {\XK@sans@hanja@options}\the\toks@}% - \else - \ifx\XKprevfont\@tempc - \edef\@tempa{\noexpand\DeclareRobustCommand\noexpand\XK@mono@hanja@font - {\noexpand\fontfamily{\XK@curr@family}\noexpand\selectfont}}\@tempa - \else - \edef\@tempa{\noexpand\DeclareRobustCommand\noexpand\XK@main@hanja@font - {\noexpand\fontfamily{\XK@curr@family}\noexpand\selectfont}}\@tempa - \edef\XK@main@hanja@options{\unexpanded\expandafter - {\XK@main@hanja@options}\the\toks@}% - \fi\fi - \else - \edef\hanifnt{\unexpanded\expandafter{\hanifnt\fontfamily}{\XK@curr@family}% - \noexpand\selectfont\the\toks@}% - \fi + \edef\XKhanjafont{\unexpanded\expandafter{\XKhanjafont\fontfamily}{\XK@curr@family}% + \noexpand\selectfont\the\toks@}% } \let\addhanjafontfeatures\addhanjafontfeature -%% we have to redefine \normalfont -\protected\edef\normalfont{% - \unexpanded{% - \let\hangfnt\XK@orig@hangfnt - \let\hanifnt\XK@orig@hanifnt - }% - \unexpanded\expandafter{\normalfont}% -} -\let\reset@font\normalfont - %%%%%%%%%%%%%%%%%%%% %% xetexkofontregime \define@key[xtxko]{char}{alphs}{\csname #1alphs\endcsname} @@ -352,40 +282,57 @@ %%%%%%%%%%%%%%%%%%%%%%%%%% % for lazy font setting \AtBeginDocument{% - \ifdefined\kormainfont\else \let\kormainfont\relax - \PackageWarning{xetexko-font}{Main (Serif) Hangul Font is not set.^^J} - \fi + \ifdefined\kormainfont\else \let\kormainfont\relax \fi \ifdefined\korsansfont\else \let\korsansfont\kormainfont \fi \ifdefined\kormonofont\else \let\kormonofont\korsansfont \fi \ifdefined\hnjmainfont\else \let\hnjmainfont\kormainfont \fi \ifdefined\hnjsansfont\else \let\hnjsansfont\korsansfont \fi \ifdefined\hnjmonofont\else \let\hnjmonofont\kormonofont \fi - % set space glue from hangul font - \if@hangul - \edef\reserved@a{\familydefault} - \edef\reserved@b{\rmdefault} - \ifx\reserved@a\reserved@b - \XK@hangul@spaceskip{\kormainfont} - \else - \XK@hangul@spaceskip{\korsansfont} - \fi - \fi } -\def\XK@hangul@spaceskip#1{% - \bgroup - \@for\reserved@a:=,\small,\footnotesize,\large,\Large,\LARGE\do{% - \reserved@a - \bgroup - #1% - \global\dimen@\fontdimen2\font - \global\dimen@ii\fontdimen7\font - \egroup - \fontdimen2\font=\dimen@ - \fontdimen3\font=.5\dimen@ - \fontdimen4\font=.3333\dimen@ - \fontdimen7\font=\dimen@ii - }% - \egroup + +%%%%%%%%%%%%%%%%%%%%%%%%%% +% font switching for latex +\def\XKstoreprevfont{\chardef\XKcurrentfont\z@\fontfamily\XKprevfont} +\def\XK@storeprevfont{\edef\XKprevfont{\f@family}} \XK@storeprevfont + +\protected\edef\selectfont{\unexpanded\expandafter{\selectfont + \ifcase\XKcurrentfont\XK@storeprevfont\fi +}} + +\def\XKlatinfont{\chardef\XKcurrentfont\z@\fontfamily\XKprevfont\selectfont} + +\def\XK@rm@korean@font{% + \def\XKhangulfont{\chardef\XKcurrentfont\@ne\kormainfont}% + \def\XKhanjafont {\chardef\XKcurrentfont\tw@\hnjmainfont}% +} +\def\XK@sf@korean@font{% + \def\XKhangulfont{\chardef\XKcurrentfont\@ne\korsansfont}% + \def\XKhanjafont {\chardef\XKcurrentfont\tw@\hnjsansfont}% +} +\def\XK@tt@korean@font{% + \def\XKhangulfont{\chardef\XKcurrentfont\@ne\kormonofont}% + \def\XKhanjafont {\chardef\XKcurrentfont\tw@\hnjmonofont}% +} + +\edef\rmfamily{\unexpanded\expandafter{\rmfamily\XK@rm@korean@font}} +\edef\sffamily{\unexpanded\expandafter{\sffamily\XK@sf@korean@font}} +\edef\ttfamily{\unexpanded\expandafter{\ttfamily\XK@tt@korean@font\disablehangulspacing}} +\edef\verbatim@font{\unexpanded\expandafter{\verbatim@font\disablehangulspacingandlinebreak + \def\XKstoreprevfont{\chardef\XKcurrentfont\z@\fontfamily\XKprevfont\selectfont}% latin space +}} + +\AtBeginDocument{ + \ifx\f@family\rmdefault + \rmfamily + \protected\edef\normalfont{\unexpanded\expandafter{\normalfont\XK@rm@korean@font}} + \else \ifx\f@family\sfdefault + \sffamily + \protected\edef\normalfont{\unexpanded\expandafter{\normalfont\XK@sf@korean@font}} + \else + \ttfamily + \protected\edef\normalfont{\unexpanded\expandafter{\normalfont\XK@tt@korean@font}} + \fi\fi + \let\reset@font\normalfont } %%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty index bb7338bdd04..0fa425f5264 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} - [2013/03/27 v2.0 Hanging punctuations for XeTeX-ko] + [2013/11/26 v2.2 Hanging punctuations for XeTeX-ko] \fi \chardef\catcodeofATcharacter\catcode`@ @@ -47,7 +47,9 @@ \def\strip@pt{\expandafter\rem@pt\the} \fi -\def\hangingpunctuation{% +\ifcsname AtBeginDocument\endcsname\else \def\AtBeginDocument#1{#1} \fi + +\AtBeginDocument{ \begingroup \setbox\z@\hbox{가.}\setbox\tw@\hbox{가}% \xdef\temp@a @@ -60,19 +62,19 @@ \edef\xetexko@quotewidth {\temp@b em}% \def\XKperiodboxstop{% \XK@orig@periodboxstop - \ifnum\XKcurrentfont>\z@ + %\ifnum\XKcurrentfont>\z@ \count@\spacefactor \XKH@post@hang\xetexko@periodwidth \spacefactor\count@ - \fi + %\fi }% \def\XKcommaboxstop{% \XK@orig@commaboxstop - \ifnum\XKcurrentfont>\z@ + %\ifnum\XKcurrentfont>\z@ \count@\spacefactor \XKH@post@hang\xetexko@periodwidth \spacefactor\count@ - \fi + %\fi }% \def\XKclosingquotestop{% \XK@orig@closingquotestop \XKH@post@hang\xetexko@quotewidth @@ -117,7 +119,9 @@ \vrule width-#1 height\z@ depth\z@ \nobreak\hskip\z@\relax } -\let\hangingpunctuations\hangingpunctuation + +\let\hangingpunctuation\relax +\let\hangingpunctuations\relax \catcode`\@\catcodeofATcharacter diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty index 23894a196a5..62212d658a3 100644 --- a/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty +++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty @@ -12,16 +12,23 @@ \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname ProvidesPackage\endcsname\relax\else - \ProvidesPackage{xetexko-josa}[2013/03/27 v2.0 Auto-josa for XeTeX-ko] + \ProvidesPackage{xetexko-josa}[2013/12/06 v2.2 Auto-josa for XeTeX-ko] \fi \unless\ifcsname @tempcnta\endcsname\newcount\@tempcnta\fi \unless\ifcsname @tempcntb\endcsname\newcount\@tempcntb\fi -\newcount\@josa\@josa\m@ne -\protected\def\jong{\global\@josa\z@} -\protected\def\rieul{\global\@josa\@ne} -\protected\def\jung{\global\@josa\tw@} +%%% user commands +\protected\def\jong {\global\let\XK@last@char=0} +\protected\def\rieul{\global\let\XK@last@char=1} +\protected\def\jung {\global\let\XK@last@char=2} + + +\newcount\@josa +\def\@jong {\global\@josa\z@ } +\def\@rieul{\global\@josa\@ne} +\def\@jung {\global\@josa\tw@} +\@jung \begingroup \catcode`\A=11 @@ -31,17 +38,17 @@ \endgroup \expandafter\def\expandafter\strip@characternum@meaning@prefix\detokenize - {the character} #1{\number`#1} + {the character} #1#2\end{\number`#1\relax} \expandafter\def\expandafter\strip@letternum@meaning@prefix\detokenize - {the letter} #1{\number`#1} + {the letter} #1#2\end{\number`#1\relax} \def\@josa@char@to@number#1#2{% \ifcat#1\dhucs@cat@eleven \expandafter\expandafter\expandafter#2\expandafter - \strip@letternum@meaning@prefix\meaning#1\relax + \strip@letternum@meaning@prefix\meaning#1\end \else\ifcat#1\dhucs@cat@twelve \expandafter\expandafter\expandafter#2\expandafter - \strip@characternum@meaning@prefix\meaning#1\relax + \strip@characternum@meaning@prefix\meaning#1\end \else #2\z@ \fi\fi @@ -63,37 +70,37 @@ } \def\josa@last@char@latin{% - \ifnum 49=\count@ \rieul\else % 1 - \ifnum 51=\count@ \jong \else % 3 - \ifnum 54=\count@ \jong \else % 6 - \ifnum 55=\count@ \rieul\else % 7 - \ifnum 56=\count@ \rieul\else % 8 - \ifnum 48=\count@ \jong \else % 0 - \ifnum 108=\count@ \rieul\else % l - \ifnum 109=\count@ \jong \else % m - \ifnum 110=\count@ \jong \else % n - \ifnum 76=\count@ \rieul\else % L - \ifnum 77=\count@ \jong \else % M - \ifnum 78=\count@ \jong \else % N - \jung + \ifnum 49=\count@ \@rieul\else % 1 + \ifnum 51=\count@ \@jong \else % 3 + \ifnum 54=\count@ \@jong \else % 6 + \ifnum 55=\count@ \@rieul\else % 7 + \ifnum 56=\count@ \@rieul\else % 8 + \ifnum 48=\count@ \@jong \else % 0 + \ifnum 108=\count@ \@rieul\else % l + \ifnum 109=\count@ \@jong \else % m + \ifnum 110=\count@ \@jong \else % n + \ifnum 76=\count@ \@rieul\else % L + \ifnum 77=\count@ \@jong \else % M + \ifnum 78=\count@ \@jong \else % N + \@jung \fi\fi\fi\fi\fi \fi\fi\fi\fi\fi \fi\fi - \ifnum 110=\@tempcnta \ifnum 103=\count@ \jong \fi\fi %skati-ng - \ifnum 97=\@tempcnta \ifnum 112=\count@ \jong \fi\fi %c-ap - \ifnum 117=\@tempcnta \ifnum 112=\count@ \jong \fi\fi %c-up - \ifnum 97=\@tempcnta \ifnum 116=\count@ \jong \fi\fi %c-at - \ifnum 101=\@tempcnta \ifnum 116=\count@ \jong \fi\fi %Haml-et - \ifnum 105=\@tempcnta \ifnum 116=\count@ \jong \fi\fi %summ-it - \ifnum 111=\@tempcnta \ifnum 116=\count@ \jong \fi\fi %n-ot - \ifnum 117=\@tempcnta \ifnum 116=\count@ \jong \fi\fi %n-ut - \ifnum 111=\@tempcnta \ifnum 107=\count@ \jong \fi\fi %bo-ok - \ifnum 105=\@tempcnta \ifnum 99=\count@ \jong \fi\fi %picn-ic - \ifnum 108=\@tempcnta \ifnum 101=\count@ \rieul\fi\fi %app-le - \ifnum 105=\@tempcntb \ifnum 109=\@tempcnta \ifnum 101=\count@ \jong\fi\fi\fi %t-ime - \ifnum 105=\@tempcntb \ifnum 110=\@tempcnta \ifnum 101=\count@ \jong\fi\fi\fi %m-ine - \ifnum 97=\@tempcntb \ifnum 99=\@tempcnta \ifnum 107=\count@ \jong\fi\fi\fi %b-ack - \ifnum 105=\@tempcntb \ifnum 99=\@tempcnta \ifnum 107=\count@ \jong\fi\fi\fi %p-ick - \ifnum 111=\@tempcntb \ifnum 97=\@tempcnta \ifnum 116=\count@ \jung\fi\fi\fi %b-oat - \ifnum 84=\@tempcntb \ifnum 69=\@tempcnta \ifnum 88=\count@ \jong\fi\fi\fi %TEX + \ifnum 110=\@tempcnta \ifnum 103=\count@ \@jong \fi\fi %skati-ng + \ifnum 97=\@tempcnta \ifnum 112=\count@ \@jong \fi\fi %c-ap + \ifnum 117=\@tempcnta \ifnum 112=\count@ \@jong \fi\fi %c-up + \ifnum 97=\@tempcnta \ifnum 116=\count@ \@jong \fi\fi %c-at + \ifnum 101=\@tempcnta \ifnum 116=\count@ \@jong \fi\fi %Haml-et + \ifnum 105=\@tempcnta \ifnum 116=\count@ \@jong \fi\fi %summ-it + \ifnum 111=\@tempcnta \ifnum 116=\count@ \@jong \fi\fi %n-ot + \ifnum 117=\@tempcnta \ifnum 116=\count@ \@jong \fi\fi %n-ut + \ifnum 111=\@tempcnta \ifnum 107=\count@ \@jong \fi\fi %bo-ok + \ifnum 105=\@tempcnta \ifnum 99=\count@ \@jong \fi\fi %picn-ic + \ifnum 108=\@tempcnta \ifnum 101=\count@ \@rieul\fi\fi %app-le + \ifnum 105=\@tempcntb \ifnum 109=\@tempcnta \ifnum 101=\count@ \@jong\fi\fi\fi %t-ime + \ifnum 105=\@tempcntb \ifnum 110=\@tempcnta \ifnum 101=\count@ \@jong\fi\fi\fi %m-ine + \ifnum 97=\@tempcntb \ifnum 99=\@tempcnta \ifnum 107=\count@ \@jong\fi\fi\fi %b-ack + \ifnum 105=\@tempcntb \ifnum 99=\@tempcnta \ifnum 107=\count@ \@jong\fi\fi\fi %p-ick + \ifnum 111=\@tempcntb \ifnum 97=\@tempcnta \ifnum 116=\count@ \@jung\fi\fi\fi %b-oat + \ifnum 84=\@tempcntb \ifnum 69=\@tempcnta \ifnum 88=\count@ \@jong\fi\fi\fi %TEX } \def\josa@hanja@hangul#1{% @@ -120,8 +127,8 @@ \divide\count\tw@ 10 \multiply\count\tw@ 10 \advance\count@-\count\tw@ - \ifcase\count@\jong\or\rieul\or\jung\or\jong\or\jung\or - \jung\or\jong\or\rieul\or\rieul\or\jung\fi + \ifcase\count@\@jong\or\@rieul\or\@jung\or\@jong\or\@jung\or + \@jung\or\@jong\or\@rieul\or\@rieul\or\@jung\fi \egroup } @@ -141,30 +148,30 @@ \advance\@josa-\count@ \advance\@josa4519 % "11A7 \fi\fi \ifnum\@josa>"115F \ifnum\@josa<"11A8 % jamo vowels - \ifnum\@josa="1160 \ifnum\@tempcnta="1105 \rieul \else \jong \fi % ㄹ or other chosong - \else \jung \fi\fi\fi + \ifnum\@josa="1160 \ifnum\@tempcnta="1105 \@rieul \else \@jong \fi % ㄹ or other chosong + \else \@jung \fi\fi\fi \ifnum\@josa>"11A7 \ifnum\@josa<"1200 % jamo final consonants - \ifnum\@josa="11AF \rieul \else \jong \fi\fi\fi - \ifnum\@josa>"D7AF \ifnum\@josa<"D7C7 \jung \fi\fi % jamo vowels - \ifnum\@josa>"D7CA \ifnum\@josa<"D7FC \jong \fi\fi % jamo final consonants + \ifnum\@josa="11AF \@rieul \else \@jong \fi\fi\fi + \ifnum\@josa>"D7AF \ifnum\@josa<"D7C7 \@jung \fi\fi % jamo vowels + \ifnum\@josa>"D7CA \ifnum\@josa<"D7FC \@jong \fi\fi % jamo final consonants \ifnum\@josa>12592 \ifnum\@josa<12623 % ㄱㄴㄷㄹ - \ifnum\@josa=12601 \rieul - \else\jong\fi \fi\fi + \ifnum\@josa=12601 \@rieul + \else\@jong\fi \fi\fi \ifnum\@josa>12895 \ifnum\@josa<12924 \advance\@josa-96 \fi\fi \ifnum\@josa>12799 \ifnum\@josa<12814 % ㉠ or ㈀ - \ifnum\@josa=12803 \rieul - \else\jong\fi \fi\fi + \ifnum\@josa=12803 \@rieul + \else\@jong\fi \fi\fi \ifnum\@josa>12813 \ifnum\@josa<12829 % ㉮ or ㈎ - \jung \fi\fi + \@jung \fi\fi \ifnum\@josa>9311 \ifnum\@josa<9372 % ① or ⑴ \advance\@josa\m@ne \num@josa{\@josa}\fi\fi \ifnum\@josa>9423 \ifnum\@josa<9450 \advance\@josa-26 \fi\fi \ifnum\@josa>9397 \ifnum\@josa<9424 \advance\@josa-26 \fi\fi \ifnum\@josa>9371 \ifnum\@josa<9398 % ⓐ or ⒜ - \ifnum\@josa=9383 \rieul\else % l - \ifnum\@josa=9384 \jong\else % m - \ifnum\@josa=9385 \jong\else % n - \jung\fi\fi\fi \fi\fi + \ifnum\@josa=9383 \@rieul\else % l + \ifnum\@josa=9384 \@jong\else % m + \ifnum\@josa=9385 \@jong\else % n + \@jung\fi\fi\fi \fi\fi \ifnum\@josa>8543 \ifnum\@josa<8556 % ⅰ ⅱ ⅲ \advance\@josa-3 \num@josa{\@josa}\fi\fi \ifnum\@josa>8559 \ifnum\@josa<8572 % Ⅰ Ⅱ Ⅲ @@ -172,21 +179,18 @@ } \protected\def\makejosa#1#2{% - \ifnum\@josa<\z@ - \josa@char@to@number - \ifnum\count@<\@cclvi - \ifnum\lastskip>\z@\else\XKcjklatinsmallbreak\fi % probably last char is latin ㅠㅠ - \josa@last@char@latin - \else - \@josa\count@ - \josa@last@char@cjk - \fi + \josa@char@to@number + \ifnum\count@<\@cclvi + \ifnum\lastskip>\z@\else\XKcjklatinsmallbreak\fi % probably last char is latin ㅠㅠ + \josa@last@char@latin + \else + \@josa\count@ + \josa@last@char@cjk \fi \ifcase\@josa #2% jong \or \ifx\@empty#1\@empty \else#2\fi% rieul \else #1% jung \fi - \global\@josa\m@ne } \def\가{\makejosa{가}{이}} diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty index 795f04fea34..b4dd7a2558a 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} - [2013/07/03 v2.1 Spacings and fonts for XeTeX-ko] + [2013/11/28 v2.2 Spacings and fonts for XeTeX-ko] \fi %%% we need XeTeX > 0.997 @@ -69,9 +69,13 @@ \XeTeXcharclass "30EE = \XKsmallkana \XeTeXcharclass "30F5 = \XKsmallkana \XeTeXcharclass "30F6 = \XKsmallkana +\XeTeXcharclass "30FC = \XKsmallkana +\count@="31F0 \loop + \XeTeXcharclass\count@ = \XKsmallkana + \ifnum\count@<"31FF \advance\count@\@ne \repeat \count@="FF67 \loop \XeTeXcharclass\count@ = \XKsmallkana - \ifnum\count@<"FF6F \advance\count@\@ne \repeat + \ifnum\count@<"FF70 \advance\count@\@ne \repeat %%% \XeTeXcharclass "25A1 = \XKhanja % □ @@ -306,6 +310,11 @@ \XeTeXcharclass\count@\XKhangulsyllable \ifnum\count@ < "D7A3 \advance\count@\@ne \repeat +\count@ "3131 % treat compatibility jamo as hangul syllable +\loop + \XeTeXcharclass\count@\XKhangulsyllable + \ifnum\count@ < "318E + \advance\count@\@ne \repeat %%% leading consonants jamo \newXeTeXintercharclass \XKhangulchosong @@ -354,6 +363,7 @@ \XeTeXcharclass`\` = \XKopeningquote \newXeTeXintercharclass\XKclosingquote \XeTeXcharclass`\' = \XKclosingquote +\XeTeXcharclass`\" = \XKclosingquote %%% latin full stop \newXeTeXintercharclass \XKlatinfullstop @@ -399,18 +409,18 @@ \XeTeXinterchartoks \XKlatinclosing \XKlatinnumber = {\XKlatinnumfont\XKlastchar} \XeTeXinterchartoks \XKopeningquote \XKlatinnumber = {\XKopeningquotestop\XKlatinnumfont\XKlastchar} \XeTeXinterchartoks \XKclosingquote \XKlatinnumber = {\XKclosingquotestop\XKlatinnumfont\XKlastchar} -\XeTeXinterchartoks \XKhanja \XKlatinnumber = {\XKcjklatinsmallbreak\XKlatinnumfont\XKlastchar} -\XeTeXinterchartoks \XKsmallkana \XKlatinnumber = {\XKcjklatinsmallbreak\XKlatinnumfont\XKlastchar} -\XeTeXinterchartoks \XKcjksymbol \XKlatinnumber = {\XKlatinnumfont\XKlastchar} +\XeTeXinterchartoks \XKhanja \XKlatinnumber = {\XKcjkcharboxstop\XKcjklatinsmallbreak\XKlatinnumfont\XKlastchar} +\XeTeXinterchartoks \XKsmallkana \XKlatinnumber = {\XKcjkcharboxstop\XKcjklatinsmallbreak\XKlatinnumfont\XKlastchar} +\XeTeXinterchartoks \XKcjksymbol \XKlatinnumber = {\XKcjkcharboxstop\XKlatinnumfont\XKlastchar} \XeTeXinterchartoks \XKcjkopening \XKlatinnumber = {\postcjkopenparen\XKlatinnumfont\XKlastchar} \XeTeXinterchartoks \XKcjkclosing \XKlatinnumber = {\postcjkcloseparen\XKhalfsmallbreak\XKlatinnumfont\XKlastchar} \XeTeXinterchartoks \XKcjkcolon \XKlatinnumber = {\postcjkcolon\XKquatersmallbreak\XKlatinnumfont\XKlastchar} \XeTeXinterchartoks \XKcjkfullstop \XKlatinnumber = {\postcjkfullstop\XKfixedhalfskip\XKlatinnumfont\XKlastchar} -\XeTeXinterchartoks \XKcjkliaison \XKlatinnumber = {\XKlatinnumfont\XKlastchar} -\XeTeXinterchartoks \XKcjkextrastop \XKlatinnumber = {\XKhalfsmallbreak\XKlatinnumfont\XKlastchar} -\XeTeXinterchartoks \XKhangulsyllable \XKlatinnumber = {\XKcjklatinsmallbreak\XKlatinnumfont\XKlastchar} -\XeTeXinterchartoks \XKhangulchosong \XKlatinnumber = {\XKcjklatinsmallbreak\XKlatinnumfont\XKlastchar} -\XeTeXinterchartoks \XKhanguljungjong \XKlatinnumber = {\XKcjklatinsmallbreak\XKlatinnumfont\XKlastchar} +\XeTeXinterchartoks \XKcjkliaison \XKlatinnumber = {\XKcjkcharboxstop\XKlatinnumfont\XKlastchar} +\XeTeXinterchartoks \XKcjkextrastop \XKlatinnumber = {\XKcjkcharboxstop\XKhalfsmallbreak\XKlatinnumfont\XKlastchar} +\XeTeXinterchartoks \XKhangulsyllable \XKlatinnumber = {\XKcjkcharboxstop\XKcjklatinsmallbreak\XKlatinnumfont\XKlastchar} +\XeTeXinterchartoks \XKhangulchosong \XKlatinnumber = {\XKcjkcharboxstop\XKcjklatinsmallbreak\XKlatinnumfont\XKlastchar} +\XeTeXinterchartoks \XKhanguljungjong \XKlatinnumber = {\XKcjkcharboxstop\XKcjklatinsmallbreak\XKlatinnumfont\XKlastchar} \XeTeXinterchartoks \XKlatinfullstop \XKlatinnumber = {\XKperiodboxstop\XKlatinnumfont\XKlastchar} \XeTeXinterchartoks \XKlatinquestion \XKlatinnumber = {\XKquestionboxstop\XKlatinnumfont\XKlastchar} \XeTeXinterchartoks \XKlatinexclamation \XKlatinnumber = {\XKexclamationboxstop\XKlatinnumfont\XKlastchar} @@ -426,18 +436,18 @@ \XeTeXinterchartoks \XKlatinclosing \XKlatinchar = {\XKmaybelatinfont\XKlastchar} \XeTeXinterchartoks \XKopeningquote \XKlatinchar = {\XKopeningquotestop\XKmaybelatinfont\XKlastchar} \XeTeXinterchartoks \XKclosingquote \XKlatinchar = {\XKclosingquotestop\XKmaybelatinfont\XKlastchar} -\XeTeXinterchartoks \XKhanja \XKlatinchar = {\XKcjklatinsmallbreak\XKmaybelatinfont\XKlastchar} -\XeTeXinterchartoks \XKsmallkana \XKlatinchar = {\XKcjklatinsmallbreak\XKmaybelatinfont\XKlastchar} -\XeTeXinterchartoks \XKcjksymbol \XKlatinchar = {\XKmaybelatinfont\XKlastchar} +\XeTeXinterchartoks \XKhanja \XKlatinchar = {\XKcjkcharboxstop\XKcjklatinsmallbreak\XKmaybelatinfont\XKlastchar} +\XeTeXinterchartoks \XKsmallkana \XKlatinchar = {\XKcjkcharboxstop\XKcjklatinsmallbreak\XKmaybelatinfont\XKlastchar} +\XeTeXinterchartoks \XKcjksymbol \XKlatinchar = {\XKcjkcharboxstop\XKmaybelatinfont\XKlastchar} \XeTeXinterchartoks \XKcjkopening \XKlatinchar = {\postcjkopenparen\XKmaybelatinfont\XKlastchar} \XeTeXinterchartoks \XKcjkclosing \XKlatinchar = {\postcjkcloseparen\XKhalfsmallbreak\XKmaybelatinfont\XKlastchar} \XeTeXinterchartoks \XKcjkcolon \XKlatinchar = {\postcjkcolon\XKquatersmallbreak\XKmaybelatinfont\XKlastchar} \XeTeXinterchartoks \XKcjkfullstop \XKlatinchar = {\postcjkfullstop\XKfixedhalfskip\XKmaybelatinfont\XKlastchar} -\XeTeXinterchartoks \XKcjkliaison \XKlatinchar = {\XKmaybelatinfont\XKlastchar} -\XeTeXinterchartoks \XKcjkextrastop \XKlatinchar = {\XKhalfsmallbreak\XKmaybelatinfont\XKlastchar} -\XeTeXinterchartoks \XKhangulsyllable \XKlatinchar = {\XKcjklatinsmallbreak\XKmaybelatinfont\XKlastchar} -\XeTeXinterchartoks \XKhangulchosong \XKlatinchar = {\XKcjklatinsmallbreak\XKmaybelatinfont\XKlastchar} -\XeTeXinterchartoks \XKhanguljungjong \XKlatinchar = {\XKcjklatinsmallbreak\XKmaybelatinfont\XKlastchar} +\XeTeXinterchartoks \XKcjkliaison \XKlatinchar = {\XKcjkcharboxstop\XKmaybelatinfont\XKlastchar} +\XeTeXinterchartoks \XKcjkextrastop \XKlatinchar = {\XKcjkcharboxstop\XKhalfsmallbreak\XKmaybelatinfont\XKlastchar} +\XeTeXinterchartoks \XKhangulsyllable \XKlatinchar = {\XKcjkcharboxstop\XKcjklatinsmallbreak\XKmaybelatinfont\XKlastchar} +\XeTeXinterchartoks \XKhangulchosong \XKlatinchar = {\XKcjkcharboxstop\XKcjklatinsmallbreak\XKmaybelatinfont\XKlastchar} +\XeTeXinterchartoks \XKhanguljungjong \XKlatinchar = {\XKcjkcharboxstop\XKcjklatinsmallbreak\XKmaybelatinfont\XKlastchar} \XeTeXinterchartoks \XKlatinfullstop \XKlatinchar = {\XKperiodboxstop\XKmaybelatinfont\XKlastchar} \XeTeXinterchartoks \XKlatinquestion \XKlatinchar = {\XKquestionboxstop\XKmaybelatinfont\XKlastchar} \XeTeXinterchartoks \XKlatinexclamation \XKlatinchar = {\XKexclamationboxstop\XKmaybelatinfont\XKlastchar} @@ -447,85 +457,85 @@ \XeTeXinterchartoks \XKboundary \XKlatinchar = {\XKundoignorespaces\XKmaybelatinfont\XKbeginboundary\XKlastchar} %%% ? hanja -\XeTeXinterchartoks \XKlatinchar \XKhanja = {\XKhanjafont\XKcjklatinsmallbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatinnumber \XKhanja = {\XKhanjafont\XKcjklatinsmallbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatinopening \XKhanja = {\XKhanjafont\XKcjklastchar} -\XeTeXinterchartoks \XKlatinclosing \XKhanja = {\XKhanjafont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKopeningquote \XKhanja = {\XKopeningquotestop\XKhanjafont\XKcjklastchar} -\XeTeXinterchartoks \XKclosingquote \XKhanja = {\XKclosingquotestop\XKhanjafont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKhanja \XKhanja = {\XKinterhanjabreak\XKcjklastchar} -\XeTeXinterchartoks \XKsmallkana \XKhanja = {\XKinterhanjabreak\XKcjklastchar} -\XeTeXinterchartoks \XKcjksymbol \XKhanja = {\XKhanjafont\XKcjklastchar} -\XeTeXinterchartoks \XKcjkopening \XKhanja = {\postcjkopenparen\XKhanjafont\XKcjklastchar} -\XeTeXinterchartoks \XKcjkclosing \XKhanja = {\postcjkcloseparen\XKhalfsmallbreak\XKhanjafont\XKcjklastchar} -\XeTeXinterchartoks \XKcjkcolon \XKhanja = {\postcjkcolon\XKquatersmallbreak\XKhanjafont\XKcjklastchar} -\XeTeXinterchartoks \XKcjkfullstop \XKhanja = {\postcjkfullstop\XKfixedhalfskip\XKhanjafont\XKcjklastchar} -\XeTeXinterchartoks \XKcjkliaison \XKhanja = {\XKhanjafont\XKcjklastchar} -\XeTeXinterchartoks \XKcjkextrastop \XKhanja = {\XKhalfsmallbreak\XKhanjafont\XKcjklastchar} -\XeTeXinterchartoks \XKhangulsyllable \XKhanja = {\XKhanjafont\XKinterhanjabreak\XKcjklastchar} -\XeTeXinterchartoks \XKhangulchosong \XKhanja = {\XKhanjafont\XKinterhanjabreak\XKcjklastchar} -\XeTeXinterchartoks \XKhanguljungjong \XKhanja = {\XKhanjafont\XKinterhanjabreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatinfullstop \XKhanja = {\XKperiodboxstop\XKhanjafont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatinquestion \XKhanja = {\XKquestionboxstop\XKhanjafont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatinexclamation \XKhanja = {\XKexclamationboxstop\XKhanjafont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatincomma \XKhanja = {\XKcommaboxstop\XKhanjafont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatincolon \XKhanja = {\XKhanjafont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatinhyphen \XKhanja = {\XKhanjafont\XKzeroskip\XKcjklastchar} -\XeTeXinterchartoks \XKboundary \XKhanja = {\XKhanjafont\XKafterboundaryskip\XKbeginboundary\XKcjklastchar} +\XeTeXinterchartoks \XKlatinchar \XKhanja = {\XKhanjafont\XKcjklatinsmallbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinnumber \XKhanja = {\XKhanjafont\XKcjklatinsmallbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinopening \XKhanja = {\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinclosing \XKhanja = {\XKhanjafont\XKcjklatinbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKopeningquote \XKhanja = {\XKopeningquotestop\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKclosingquote \XKhanja = {\XKclosingquotestop\XKhanjafont\XKcjklatinbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKhanja \XKhanja = {\XKcjkcharboxstop\XKinterhanjabreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKsmallkana \XKhanja = {\XKcjkcharboxstop\XKinterhanjabreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjksymbol \XKhanja = {\XKcjkcharboxstop\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjkopening \XKhanja = {\postcjkopenparen\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjkclosing \XKhanja = {\postcjkcloseparen\XKhalfsmallbreak\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjkcolon \XKhanja = {\postcjkcolon\XKquatersmallbreak\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjkfullstop \XKhanja = {\postcjkfullstop\XKfixedhalfskip\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjkliaison \XKhanja = {\XKcjkcharboxstop\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjkextrastop \XKhanja = {\XKcjkcharboxstop\XKhalfsmallbreak\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKhangulsyllable \XKhanja = {\XKcjkcharboxstop\XKhanjafont\XKinterhanjabreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKhangulchosong \XKhanja = {\XKcjkcharboxstop\XKhanjafont\XKinterhanjabreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKhanguljungjong \XKhanja = {\XKcjkcharboxstop\XKhanjafont\XKinterhanjabreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinfullstop \XKhanja = {\XKperiodboxstop\XKhanjafont\XKcjklatinbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinquestion \XKhanja = {\XKquestionboxstop\XKhanjafont\XKcjklatinbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinexclamation \XKhanja = {\XKexclamationboxstop\XKhanjafont\XKcjklatinbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatincomma \XKhanja = {\XKcommaboxstop\XKhanjafont\XKcjklatinbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatincolon \XKhanja = {\XKhanjafont\XKcjklatinbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinhyphen \XKhanja = {\XKhanjafont\XKzeroskip\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKboundary \XKhanja = {\XKhanjafont\XKafterboundaryskip\XKbeginboundary\XKcjkcharboxstart\XKhanjalastchar} %%% ? small kana -\XeTeXinterchartoks \XKlatinchar \XKsmallkana = {\XKhanjafont\XKcjklatinsmallbreak} -\XeTeXinterchartoks \XKlatinnumber \XKsmallkana = {\XKhanjafont\XKcjklatinsmallbreak} -\XeTeXinterchartoks \XKlatinopening \XKsmallkana = {\XKhanjafont} -\XeTeXinterchartoks \XKlatinclosing \XKsmallkana = {\XKhanjafont\XKcjklatinsmallbreak} -\XeTeXinterchartoks \XKopeningquote \XKsmallkana = {\XKopeningquotestop\XKhanjafont} -\XeTeXinterchartoks \XKclosingquote \XKsmallkana = {\XKclosingquotestop\XKhanjafont\XKcjklatinsmallbreak} -\XeTeXinterchartoks \XKhanja \XKsmallkana = {\nobreak\XKzeroskip} -\XeTeXinterchartoks \XKsmallkana \XKsmallkana = {\nobreak\XKzeroskip} -\XeTeXinterchartoks \XKcjksymbol \XKsmallkana = {\XKhanjafont} -\XeTeXinterchartoks \XKcjkopening \XKsmallkana = {\postcjkopenparen\XKhanjafont} -\XeTeXinterchartoks \XKcjkclosing \XKsmallkana = {\postcjkcloseparen\XKhalfsmallbreak\XKhanjafont} -\XeTeXinterchartoks \XKcjkcolon \XKsmallkana = {\postcjkcolon\XKquatersmallbreak\XKhanjafont} -\XeTeXinterchartoks \XKcjkfullstop \XKsmallkana = {\postcjkfullstop\XKfixedhalfskip\XKhanjafont} -\XeTeXinterchartoks \XKcjkliaison \XKsmallkana = {\XKhanjafont} -\XeTeXinterchartoks \XKcjkextrastop \XKsmallkana = {\XKhalfsmallbreak\XKhanjafont} -\XeTeXinterchartoks \XKhangulsyllable \XKsmallkana = {\XKhanjafont\XKinterhanjabreak} -\XeTeXinterchartoks \XKhangulchosong \XKsmallkana = {\XKhanjafont\XKinterhanjabreak} -\XeTeXinterchartoks \XKhanguljungjong \XKsmallkana = {\XKhanjafont\XKinterhanjabreak} -\XeTeXinterchartoks \XKlatinfullstop \XKsmallkana = {\XKperiodboxstop\XKhanjafont\XKcjklatinbreak} -\XeTeXinterchartoks \XKlatinquestion \XKsmallkana = {\XKquestionboxstop\XKhanjafont\XKcjklatinbreak} -\XeTeXinterchartoks \XKlatinexclamation \XKsmallkana = {\XKexclamationboxstop\XKhanjafont\XKcjklatinbreak} -\XeTeXinterchartoks \XKlatincomma \XKsmallkana = {\XKcommaboxstop\XKhanjafont\XKcjklatinbreak} -\XeTeXinterchartoks \XKlatincolon \XKsmallkana = {\XKhanjafont\XKcjklatinbreak} -\XeTeXinterchartoks \XKlatinhyphen \XKsmallkana = {\XKhanjafont} -\XeTeXinterchartoks \XKboundary \XKsmallkana = {\XKhanjafont\XKafterboundaryskip\XKbeginboundary} +\XeTeXinterchartoks \XKlatinchar \XKsmallkana = {\XKhanjafont\XKcjklatinsmallbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinnumber \XKsmallkana = {\XKhanjafont\XKcjklatinsmallbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinopening \XKsmallkana = {\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinclosing \XKsmallkana = {\XKhanjafont\XKcjklatinsmallbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKopeningquote \XKsmallkana = {\XKopeningquotestop\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKclosingquote \XKsmallkana = {\XKclosingquotestop\XKhanjafont\XKcjklatinsmallbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKhanja \XKsmallkana = {\XKcjkcharboxstop\XKnobreak\XKzeroskip\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKsmallkana \XKsmallkana = {\XKcjkcharboxstop\XKnobreak\XKzeroskip\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjksymbol \XKsmallkana = {\XKcjkcharboxstop\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjkopening \XKsmallkana = {\postcjkopenparen\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjkclosing \XKsmallkana = {\postcjkcloseparen\XKhalfsmallbreak\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjkcolon \XKsmallkana = {\postcjkcolon\XKquatersmallbreak\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjkfullstop \XKsmallkana = {\postcjkfullstop\XKfixedhalfskip\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjkliaison \XKsmallkana = {\XKcjkcharboxstop\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKcjkextrastop \XKsmallkana = {\XKcjkcharboxstop\XKhalfsmallbreak\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKhangulsyllable \XKsmallkana = {\XKcjkcharboxstop\XKhanjafont\XKinterhanjabreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKhangulchosong \XKsmallkana = {\XKcjkcharboxstop\XKhanjafont\XKinterhanjabreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKhanguljungjong \XKsmallkana = {\XKcjkcharboxstop\XKhanjafont\XKinterhanjabreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinfullstop \XKsmallkana = {\XKperiodboxstop\XKhanjafont\XKcjklatinbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinquestion \XKsmallkana = {\XKquestionboxstop\XKhanjafont\XKcjklatinbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinexclamation \XKsmallkana = {\XKexclamationboxstop\XKhanjafont\XKcjklatinbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatincomma \XKsmallkana = {\XKcommaboxstop\XKhanjafont\XKcjklatinbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatincolon \XKsmallkana = {\XKhanjafont\XKcjklatinbreak\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKlatinhyphen \XKsmallkana = {\XKhanjafont\XKcjkcharboxstart\XKhanjalastchar} +\XeTeXinterchartoks \XKboundary \XKsmallkana = {\XKhanjafont\XKafterboundaryskip\XKbeginboundary\XKcjkcharboxstart\XKhanjalastchar} %%% ? cjk symbols -\XeTeXinterchartoks \XKlatinchar \XKcjksymbol = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinnumber \XKcjksymbol = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinopening \XKcjksymbol = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinclosing \XKcjksymbol = {\XKmaybehanjafont\XKcjklatinsmallbreak} -\XeTeXinterchartoks \XKopeningquote \XKcjksymbol = {\XKopeningquotestop\XKmaybehanjafont} -\XeTeXinterchartoks \XKclosingquote \XKcjksymbol = {\XKclosingquotestop\XKmaybehanjafont\XKcjklatinsmallbreak} -\XeTeXinterchartoks \XKhanja \XKcjksymbol = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKsmallkana \XKcjksymbol = {\XKmaybehanjafont} +\XeTeXinterchartoks \XKlatinchar \XKcjksymbol = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinnumber \XKcjksymbol = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinopening \XKcjksymbol = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinclosing \XKcjksymbol = {\XKmaybehanjafont\XKcjklatinsmallbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKopeningquote \XKcjksymbol = {\XKopeningquotestop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKclosingquote \XKcjksymbol = {\XKclosingquotestop\XKmaybehanjafont\XKcjklatinsmallbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKhanja \XKcjksymbol = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKsmallkana \XKcjksymbol = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} %\XeTeXinterchartoks \XKcjksymbol \XKcjksymbol = {} -\XeTeXinterchartoks \XKcjkopening \XKcjksymbol = {\postcjkopenparen} -\XeTeXinterchartoks \XKcjkclosing \XKcjksymbol = {\postcjkcloseparen\XKhalfsmallbreak} -\XeTeXinterchartoks \XKcjkcolon \XKcjksymbol = {\postcjkcolon\XKquatersmallbreak} -\XeTeXinterchartoks \XKcjkfullstop \XKcjksymbol = {\postcjkfullstop\XKfixedhalfskip} +\XeTeXinterchartoks \XKcjkopening \XKcjksymbol = {\postcjkopenparen\XKcjkcharboxstart} +\XeTeXinterchartoks \XKcjkclosing \XKcjksymbol = {\postcjkcloseparen\XKhalfsmallbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKcjkcolon \XKcjksymbol = {\postcjkcolon\XKquatersmallbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKcjkfullstop \XKcjksymbol = {\postcjkfullstop\XKfixedhalfskip\XKcjkcharboxstart} %\XeTeXinterchartoks \XKcjkliaison \XKcjksymbol = {} -\XeTeXinterchartoks \XKcjkextrastop \XKcjksymbol = {\XKhalfsmallbreak} -\XeTeXinterchartoks \XKhangulsyllable \XKcjksymbol = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKhangulchosong \XKcjksymbol = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKhanguljungjong \XKcjksymbol = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinfullstop \XKcjksymbol = {\XKperiodboxstop\XKmaybehanjafont\XKcjklatinbreak} -\XeTeXinterchartoks \XKlatinquestion \XKcjksymbol = {\XKquestionboxstop\XKmaybehanjafont\XKcjklatinbreak} -\XeTeXinterchartoks \XKlatinexclamation \XKcjksymbol = {\XKexclamationboxstop\XKmaybehanjafont\XKcjklatinbreak} -\XeTeXinterchartoks \XKlatincomma \XKcjksymbol = {\XKcommaboxstop\XKmaybehanjafont\XKcjklatinbreak} -\XeTeXinterchartoks \XKlatincolon \XKcjksymbol = {\XKmaybehanjafont\XKcjklatinbreak} -\XeTeXinterchartoks \XKlatinhyphen \XKcjksymbol = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKboundary \XKcjksymbol = {\XKmaybehanjafont\XKafterboundaryskip\XKbeginboundary} +\XeTeXinterchartoks \XKcjkextrastop \XKcjksymbol = {\XKcjkcharboxstop\XKhalfsmallbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKhangulsyllable \XKcjksymbol = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKhangulchosong \XKcjksymbol = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKhanguljungjong \XKcjksymbol = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinfullstop \XKcjksymbol = {\XKperiodboxstop\XKmaybehanjafont\XKcjklatinbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinquestion \XKcjksymbol = {\XKquestionboxstop\XKmaybehanjafont\XKcjklatinbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinexclamation \XKcjksymbol = {\XKexclamationboxstop\XKmaybehanjafont\XKcjklatinbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatincomma \XKcjksymbol = {\XKcommaboxstop\XKmaybehanjafont\XKcjklatinbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatincolon \XKcjksymbol = {\XKmaybehanjafont\XKcjklatinbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinhyphen \XKcjksymbol = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKboundary \XKcjksymbol = {\XKmaybehanjafont\XKafterboundaryskip\XKbeginboundary\XKcjkcharboxstart} %%% ? cjk openings \XeTeXinterchartoks \XKlatinchar \XKcjkopening = {\XKmaybehanjafont\XKhalfsmallbreak\precjkopenparen} @@ -534,18 +544,18 @@ \XeTeXinterchartoks \XKlatinclosing \XKcjkopening = {\XKmaybehanjafont\XKhalfsmallbreak\precjkopenparen} \XeTeXinterchartoks \XKopeningquote \XKcjkopening = {\XKopeningquotestop\XKmaybehanjafont\precjkopenparen} \XeTeXinterchartoks \XKclosingquote \XKcjkopening = {\XKclosingquotestop\XKmaybehanjafont\XKhalfsmallbreak\precjkopenparen} -\XeTeXinterchartoks \XKhanja \XKcjkopening = {\XKhalfsmallbreak\XKmaybehanjafont\precjkopenparen} -\XeTeXinterchartoks \XKsmallkana \XKcjkopening = {\XKhalfsmallbreak\XKmaybehanjafont\precjkopenparen} -\XeTeXinterchartoks \XKcjksymbol \XKcjkopening = {\XKhalfsmallbreak\precjkopenparen} +\XeTeXinterchartoks \XKhanja \XKcjkopening = {\XKcjkcharboxstop\XKhalfsmallbreak\XKmaybehanjafont\precjkopenparen} +\XeTeXinterchartoks \XKsmallkana \XKcjkopening = {\XKcjkcharboxstop\XKhalfsmallbreak\XKmaybehanjafont\precjkopenparen} +\XeTeXinterchartoks \XKcjksymbol \XKcjkopening = {\XKcjkcharboxstop\XKhalfsmallbreak\precjkopenparen} \XeTeXinterchartoks \XKcjkopening \XKcjkopening = {\postcjkopenparen\precjkopenparen} \XeTeXinterchartoks \XKcjkclosing \XKcjkopening = {\postcjkcloseparen\XKhalfsmallbreak\precjkopenparen} \XeTeXinterchartoks \XKcjkcolon \XKcjkopening = {\postcjkcolon\XKquatersmallbreak\precjkopenparen} \XeTeXinterchartoks \XKcjkfullstop \XKcjkopening = {\postcjkfullstop\XKfixedhalfskip\precjkopenparen} -\XeTeXinterchartoks \XKcjkliaison \XKcjkopening = {\XKhalfsmallbreak\precjkopenparen} -\XeTeXinterchartoks \XKcjkextrastop \XKcjkopening = {\XKhalfsmallbreak\precjkopenparen} -\XeTeXinterchartoks \XKhangulsyllable \XKcjkopening = {\XKmaybehanjafont\XKhalfsmallbreak\precjkopenparen} -\XeTeXinterchartoks \XKhangulchosong \XKcjkopening = {\XKmaybehanjafont\XKhalfsmallbreak\precjkopenparen} -\XeTeXinterchartoks \XKhanguljungjong \XKcjkopening = {\XKmaybehanjafont\XKhalfsmallbreak\precjkopenparen} +\XeTeXinterchartoks \XKcjkliaison \XKcjkopening = {\XKcjkcharboxstop\XKhalfsmallbreak\precjkopenparen} +\XeTeXinterchartoks \XKcjkextrastop \XKcjkopening = {\XKcjkcharboxstop\XKhalfsmallbreak\precjkopenparen} +\XeTeXinterchartoks \XKhangulsyllable \XKcjkopening = {\XKcjkcharboxstop\XKmaybehanjafont\XKhalfsmallbreak\precjkopenparen} +\XeTeXinterchartoks \XKhangulchosong \XKcjkopening = {\XKcjkcharboxstop\XKmaybehanjafont\XKhalfsmallbreak\precjkopenparen} +\XeTeXinterchartoks \XKhanguljungjong \XKcjkopening = {\XKcjkcharboxstop\XKmaybehanjafont\XKhalfsmallbreak\precjkopenparen} \XeTeXinterchartoks \XKlatinfullstop \XKcjkopening = {\XKperiodboxstop\XKmaybehanjafont\XKhalfsmallbreak\precjkopenparen} \XeTeXinterchartoks \XKlatinquestion \XKcjkopening = {\XKquestionboxstop\XKmaybehanjafont\XKhalfsmallbreak\precjkopenparen} \XeTeXinterchartoks \XKlatinexclamation \XKcjkopening = {\XKexclamationboxstop\XKmaybehanjafont\XKhalfsmallbreak\precjkopenparen} @@ -561,22 +571,22 @@ \XeTeXinterchartoks \XKlatinclosing \XKcjkclosing = {\XKmaybehanjafont\precjkcloseparen} \XeTeXinterchartoks \XKopeningquote \XKcjkclosing = {\XKopeningquotestop\XKmaybehanjafont\precjkcloseparen} \XeTeXinterchartoks \XKclosingquote \XKcjkclosing = {\XKclosingquotestop\XKmaybehanjafont\precjkcloseparen} -\XeTeXinterchartoks \XKhanja \XKcjkclosing = {\XKmaybehanjafont\precjkcloseparen} -\XeTeXinterchartoks \XKsmallkana \XKcjkclosing = {\XKmaybehanjafont\precjkcloseparen} -\XeTeXinterchartoks \XKcjksymbol \XKcjkclosing = {\precjkcloseparen} +\XeTeXinterchartoks \XKhanja \XKcjkclosing = {\XKcjkcharboxstop\XKmaybehanjafont\precjkcloseparen} +\XeTeXinterchartoks \XKsmallkana \XKcjkclosing = {\XKcjkcharboxstop\XKmaybehanjafont\precjkcloseparen} +\XeTeXinterchartoks \XKcjksymbol \XKcjkclosing = {\XKcjkcharboxstop\precjkcloseparen} \XeTeXinterchartoks \XKcjkopening \XKcjkclosing = {\postcjkopenparen\precjkcloseparen} \XeTeXinterchartoks \XKcjkclosing \XKcjkclosing = {\postcjkcloseparen\precjkcloseparen} -\XeTeXinterchartoks \XKcjkcolon \XKcjkclosing = {\postcjkcolon\nobreak\XKquatersmallbreak\precjkcloseparen} +\XeTeXinterchartoks \XKcjkcolon \XKcjkclosing = {\postcjkcolon\XKnobreak\XKquatersmallbreak\precjkcloseparen} \XeTeXinterchartoks \XKcjkfullstop \XKcjkclosing = {\postcjkfullstop\precjkcloseparen} -\XeTeXinterchartoks \XKcjkliaison \XKcjkclosing = {\precjkcloseparen} -\XeTeXinterchartoks \XKcjkextrastop \XKcjkclosing = {\precjkcloseparen} -\XeTeXinterchartoks \XKhangulsyllable \XKcjkclosing = {\XKmaybehanjafont\precjkcloseparen} -\XeTeXinterchartoks \XKhangulchosong \XKcjkclosing = {\XKmaybehanjafont\precjkcloseparen} -\XeTeXinterchartoks \XKhanguljungjong \XKcjkclosing = {\XKmaybehanjafont\precjkcloseparen} +\XeTeXinterchartoks \XKcjkliaison \XKcjkclosing = {\XKcjkcharboxstop\precjkcloseparen} +\XeTeXinterchartoks \XKcjkextrastop \XKcjkclosing = {\XKcjkcharboxstop\precjkcloseparen} +\XeTeXinterchartoks \XKhangulsyllable \XKcjkclosing = {\XKcjkcharboxstop\XKmaybehanjafont\precjkcloseparen} +\XeTeXinterchartoks \XKhangulchosong \XKcjkclosing = {\XKcjkcharboxstop\XKmaybehanjafont\precjkcloseparen} +\XeTeXinterchartoks \XKhanguljungjong \XKcjkclosing = {\XKcjkcharboxstop\XKmaybehanjafont\precjkcloseparen} \XeTeXinterchartoks \XKlatinfullstop \XKcjkclosing = {\XKperiodboxstop\XKmaybehanjafont\precjkcloseparen} -\XeTeXinterchartoks \XKlatinquestion \XKcjkclosing = {\XKquestionboxstop\XKmaybehanjafont\nobreak\XKcjklatinbreak\precjkcloseparen} -\XeTeXinterchartoks \XKlatinexclamation \XKcjkclosing = {\XKexclamationboxstop\XKmaybehanjafont\nobreak\XKcjklatinbreak\precjkcloseparen} -\XeTeXinterchartoks \XKlatincomma \XKcjkclosing = {\XKcommaboxstop\XKmaybehanjafont\nobreak\XKcjklatinbreak\precjkcloseparen} +\XeTeXinterchartoks \XKlatinquestion \XKcjkclosing = {\XKquestionboxstop\XKmaybehanjafont\XKnobreak\XKcjklatinbreak\precjkcloseparen} +\XeTeXinterchartoks \XKlatinexclamation \XKcjkclosing = {\XKexclamationboxstop\XKmaybehanjafont\XKnobreak\XKcjklatinbreak\precjkcloseparen} +\XeTeXinterchartoks \XKlatincomma \XKcjkclosing = {\XKcommaboxstop\XKmaybehanjafont\XKnobreak\XKcjklatinbreak\precjkcloseparen} \XeTeXinterchartoks \XKlatincolon \XKcjkclosing = {\XKmaybehanjafont\precjkcloseparen} \XeTeXinterchartoks \XKlatinhyphen \XKcjkclosing = {\XKmaybehanjafont\precjkcloseparen} \XeTeXinterchartoks \XKboundary \XKcjkclosing = {\XKmaybehanjafont\XKbeginboundary\precjkcloseparen} @@ -588,18 +598,18 @@ %\XeTeXinterchartoks \XKlatinclosing \XKlatinopening = {} \XeTeXinterchartoks \XKopeningquote \XKlatinopening = {\XKopeningquotestop\XKlatinparenfont} \XeTeXinterchartoks \XKclosingquote \XKlatinopening = {\XKclosingquotestop\XKzeroskip\XKlatinparenfont} -\XeTeXinterchartoks \XKhanja \XKlatinopening = {\XKcjklatinbreak\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKsmallkana \XKlatinopening = {\XKcjklatinbreak\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKcjksymbol \XKlatinopening = {\XKcjklatinbreak\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKhanja \XKlatinopening = {\XKcjkcharboxstop\XKcjklatinbreak\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKsmallkana \XKlatinopening = {\XKcjkcharboxstop\XKcjklatinbreak\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKcjksymbol \XKlatinopening = {\XKcjkcharboxstop\XKcjklatinbreak\XKwascjkchar\XKlatinparenfont} \XeTeXinterchartoks \XKcjkopening \XKlatinopening = {\postcjkopenparen\XKwascjkchar\XKlatinparenfont} \XeTeXinterchartoks \XKcjkclosing \XKlatinopening = {\postcjkcloseparen\XKhalfsmallbreak\XKwascjkchar\XKlatinparenfont} \XeTeXinterchartoks \XKcjkcolon \XKlatinopening = {\postcjkcolon\XKquatersmallbreak\XKwascjkchar\XKlatinparenfont} \XeTeXinterchartoks \XKcjkfullstop \XKlatinopening = {\postcjkfullstop\XKfixedhalfskip\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKcjkliaison \XKlatinopening = {\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKcjkextrastop \XKlatinopening = {\XKhalfsmallbreak\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKhangulsyllable \XKlatinopening = {\XKcjklatinbreak\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKhangulchosong \XKlatinopening = {\XKcjklatinbreak\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKhanguljungjong \XKlatinopening = {\XKcjklatinbreak\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKcjkliaison \XKlatinopening = {\XKcjkcharboxstop\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKcjkextrastop \XKlatinopening = {\XKcjkcharboxstop\XKhalfsmallbreak\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKhangulsyllable \XKlatinopening = {\XKcjkcharboxstop\XKcjklatinbreak\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKhangulchosong \XKlatinopening = {\XKcjkcharboxstop\XKcjklatinbreak\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKhanguljungjong \XKlatinopening = {\XKcjkcharboxstop\XKcjklatinbreak\XKwascjkchar\XKlatinparenfont} \XeTeXinterchartoks \XKlatinfullstop \XKlatinopening = {\XKperiodboxstop\XKlatinparenfont} \XeTeXinterchartoks \XKlatinquestion \XKlatinopening = {\XKquestionboxstop\XKlatinparenfont} \XeTeXinterchartoks \XKlatinexclamation \XKlatinopening = {\XKexclamationboxstop\XKlatinparenfont} @@ -615,18 +625,18 @@ \XeTeXinterchartoks \XKlatinclosing \XKopeningquote = {\XKlatinquotefont\XKopeningquotestart} %\XeTeXinterchartoks \XKopeningquote \XKopeningquote = {} \XeTeXinterchartoks \XKclosingquote \XKopeningquote = {\XKclosingquotestop\XKopeningquotestart} -\XeTeXinterchartoks \XKhanja \XKopeningquote = {\XKcjklatinbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} -\XeTeXinterchartoks \XKsmallkana \XKopeningquote = {\XKcjklatinbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} -\XeTeXinterchartoks \XKcjksymbol \XKopeningquote = {\XKcjklatinbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} +\XeTeXinterchartoks \XKhanja \XKopeningquote = {\XKcjkcharboxstop\XKcjklatinbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} +\XeTeXinterchartoks \XKsmallkana \XKopeningquote = {\XKcjkcharboxstop\XKcjklatinbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} +\XeTeXinterchartoks \XKcjksymbol \XKopeningquote = {\XKcjkcharboxstop\XKcjklatinbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} \XeTeXinterchartoks \XKcjkopening \XKopeningquote = {\postcjkopenparen\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} \XeTeXinterchartoks \XKcjkclosing \XKopeningquote = {\postcjkcloseparen\XKhalfsmallbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} \XeTeXinterchartoks \XKcjkcolon \XKopeningquote = {\postcjkcolon\XKquatersmallbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} \XeTeXinterchartoks \XKcjkfullstop \XKopeningquote = {\postcjkfullstop\XKfixedhalfskip\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} -\XeTeXinterchartoks \XKcjkliaison \XKopeningquote = {\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} -\XeTeXinterchartoks \XKcjkextrastop \XKopeningquote = {\XKhalfsmallbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} -\XeTeXinterchartoks \XKhangulsyllable \XKopeningquote = {\XKcjklatinbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} -\XeTeXinterchartoks \XKhangulchosong \XKopeningquote = {\XKcjklatinbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} -\XeTeXinterchartoks \XKhanguljungjong \XKopeningquote = {\XKcjklatinbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} +\XeTeXinterchartoks \XKcjkliaison \XKopeningquote = {\XKcjkcharboxstop\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} +\XeTeXinterchartoks \XKcjkextrastop \XKopeningquote = {\XKcjkcharboxstop\XKhalfsmallbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} +\XeTeXinterchartoks \XKhangulsyllable \XKopeningquote = {\XKcjkcharboxstop\XKcjklatinbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} +\XeTeXinterchartoks \XKhangulchosong \XKopeningquote = {\XKcjkcharboxstop\XKcjklatinbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} +\XeTeXinterchartoks \XKhanguljungjong \XKopeningquote = {\XKcjkcharboxstop\XKcjklatinbreak\XKwascjkchar\XKlatinquotefont\XKopeningquotestart} \XeTeXinterchartoks \XKlatinfullstop \XKopeningquote = {\XKperiodboxstop\XKlatinquotefont\XKopeningquotestart} \XeTeXinterchartoks \XKlatinquestion \XKopeningquote = {\XKquestionboxstop\XKlatinquotefont\XKopeningquotestart} \XeTeXinterchartoks \XKlatinexclamation \XKopeningquote = {\XKexclamationboxstop\XKlatinquotefont\XKopeningquotestart} @@ -642,18 +652,18 @@ %\XeTeXinterchartoks \XKlatinclosing \XKlatinclosing = {} \XeTeXinterchartoks \XKopeningquote \XKlatinclosing = {\XKopeningquotestop\XKlatinparenfont} \XeTeXinterchartoks \XKclosingquote \XKlatinclosing = {\XKclosingquotestop\XKlatinparenfont} -\XeTeXinterchartoks \XKhanja \XKlatinclosing = {\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKsmallkana \XKlatinclosing = {\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKcjksymbol \XKlatinclosing = {\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKhanja \XKlatinclosing = {\XKcjkcharboxstop\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKsmallkana \XKlatinclosing = {\XKcjkcharboxstop\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKcjksymbol \XKlatinclosing = {\XKcjkcharboxstop\XKwascjkchar\XKlatinparenfont} \XeTeXinterchartoks \XKcjkopening \XKlatinclosing = {\postcjkopenparen\XKwascjkchar\XKlatinparenfont} \XeTeXinterchartoks \XKcjkclosing \XKlatinclosing = {\postcjkcloseparen\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKcjkcolon \XKlatinclosing = {\postcjkcolon\nobreak\XKquatersmallbreak\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKcjkcolon \XKlatinclosing = {\postcjkcolon\XKnobreak\XKquatersmallbreak\XKwascjkchar\XKlatinparenfont} \XeTeXinterchartoks \XKcjkfullstop \XKlatinclosing = {\postcjkfullstop\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKcjkliaison \XKlatinclosing = {\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKcjkextrastop \XKlatinclosing = {\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKhangulsyllable \XKlatinclosing = {\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKhangulchosong \XKlatinclosing = {\XKwascjkchar\XKlatinparenfont} -\XeTeXinterchartoks \XKhanguljungjong \XKlatinclosing = {\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKcjkliaison \XKlatinclosing = {\XKcjkcharboxstop\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKcjkextrastop \XKlatinclosing = {\XKcjkcharboxstop\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKhangulsyllable \XKlatinclosing = {\XKcjkcharboxstop\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKhangulchosong \XKlatinclosing = {\XKcjkcharboxstop\XKwascjkchar\XKlatinparenfont} +\XeTeXinterchartoks \XKhanguljungjong \XKlatinclosing = {\XKcjkcharboxstop\XKwascjkchar\XKlatinparenfont} \XeTeXinterchartoks \XKlatinfullstop \XKlatinclosing = {\XKperiodboxstop\XKlatinparenfont} \XeTeXinterchartoks \XKlatinquestion \XKlatinclosing = {\XKquestionboxstop\XKlatinparenfont} \XeTeXinterchartoks \XKlatinexclamation \XKlatinclosing = {\XKexclamationboxstop\XKlatinparenfont} @@ -669,18 +679,18 @@ \XeTeXinterchartoks \XKlatinclosing \XKclosingquote = {\XKlatinquotefont\XKclosingquotestart} \XeTeXinterchartoks \XKopeningquote \XKclosingquote = {\XKopeningquotestop\XKclosingquotestart} %\XeTeXinterchartoks \XKclosingquote \XKclosingquote = {} -\XeTeXinterchartoks \XKhanja \XKclosingquote = {\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} -\XeTeXinterchartoks \XKsmallkana \XKclosingquote = {\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} -\XeTeXinterchartoks \XKcjksymbol \XKclosingquote = {\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} +\XeTeXinterchartoks \XKhanja \XKclosingquote = {\XKcjkcharboxstop\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} +\XeTeXinterchartoks \XKsmallkana \XKclosingquote = {\XKcjkcharboxstop\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} +\XeTeXinterchartoks \XKcjksymbol \XKclosingquote = {\XKcjkcharboxstop\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} \XeTeXinterchartoks \XKcjkopening \XKclosingquote = {\postcjkopenparen\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} \XeTeXinterchartoks \XKcjkclosing \XKclosingquote = {\postcjkcloseparen\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} -\XeTeXinterchartoks \XKcjkcolon \XKclosingquote = {\postcjkcolon\nobreak\XKquatersmallbreak\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} +\XeTeXinterchartoks \XKcjkcolon \XKclosingquote = {\postcjkcolon\XKnobreak\XKquatersmallbreak\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} \XeTeXinterchartoks \XKcjkfullstop \XKclosingquote = {\postcjkfullstop\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} -\XeTeXinterchartoks \XKcjkliaison \XKclosingquote = {\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} -\XeTeXinterchartoks \XKcjkextrastop \XKclosingquote = {\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} -\XeTeXinterchartoks \XKhangulsyllable \XKclosingquote = {\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} -\XeTeXinterchartoks \XKhangulchosong \XKclosingquote = {\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} -\XeTeXinterchartoks \XKhanguljungjong \XKclosingquote = {\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} +\XeTeXinterchartoks \XKcjkliaison \XKclosingquote = {\XKcjkcharboxstop\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} +\XeTeXinterchartoks \XKcjkextrastop \XKclosingquote = {\XKcjkcharboxstop\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} +\XeTeXinterchartoks \XKhangulsyllable \XKclosingquote = {\XKcjkcharboxstop\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} +\XeTeXinterchartoks \XKhangulchosong \XKclosingquote = {\XKcjkcharboxstop\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} +\XeTeXinterchartoks \XKhanguljungjong \XKclosingquote = {\XKcjkcharboxstop\XKwascjkchar\XKlatinquotefont\XKclosingquotestart} \XeTeXinterchartoks \XKlatinfullstop \XKclosingquote = {\XKperiodboxstop\XKlatinquotefont\XKclosingquotestart} \XeTeXinterchartoks \XKlatinquestion \XKclosingquote = {\XKquestionboxstop\XKlatinquotefont\XKclosingquotestart} \XeTeXinterchartoks \XKlatinexclamation \XKclosingquote = {\XKexclamationboxstop\XKlatinquotefont\XKclosingquotestart} @@ -696,18 +706,18 @@ \XeTeXinterchartoks \XKlatinclosing \XKlatincolon = {\XKcolonfont} \XeTeXinterchartoks \XKopeningquote \XKlatincolon = {\XKopeningquotestop\XKcolonfont} \XeTeXinterchartoks \XKclosingquote \XKlatincolon = {\XKclosingquotestop\XKcolonfont} -\XeTeXinterchartoks \XKhanja \XKlatincolon = {\nobreak\XKcjklatinbreak\XKwascjkchar\XKcolonfont} -\XeTeXinterchartoks \XKsmallkana \XKlatincolon = {\nobreak\XKcjklatinbreak\XKwascjkchar\XKcolonfont} -\XeTeXinterchartoks \XKcjksymbol \XKlatincolon = {\nobreak\XKcjklatinbreak\XKwascjkchar\XKcolonfont} +\XeTeXinterchartoks \XKhanja \XKlatincolon = {\XKcjkcharboxstop\XKnobreak\XKcjklatinbreak\XKwascjkchar\XKcolonfont} +\XeTeXinterchartoks \XKsmallkana \XKlatincolon = {\XKcjkcharboxstop\XKnobreak\XKcjklatinbreak\XKwascjkchar\XKcolonfont} +\XeTeXinterchartoks \XKcjksymbol \XKlatincolon = {\XKcjkcharboxstop\XKnobreak\XKcjklatinbreak\XKwascjkchar\XKcolonfont} \XeTeXinterchartoks \XKcjkopening \XKlatincolon = {\postcjkopenparen\XKwascjkchar\XKcolonfont} -\XeTeXinterchartoks \XKcjkclosing \XKlatincolon = {\postcjkcloseparen\nobreak\XKhalfsmallbreak\XKwascjkchar\XKcolonfont} -\XeTeXinterchartoks \XKcjkcolon \XKlatincolon = {\postcjkcolon\nobreak\XKquatersmallbreak\XKwascjkchar\XKcolonfont} -\XeTeXinterchartoks \XKcjkfullstop \XKlatincolon = {\postcjkfullstop\nobreak\XKfixedhalfskip\XKwascjkchar\XKcolonfont} -\XeTeXinterchartoks \XKcjkliaison \XKlatincolon = {\XKwascjkchar\XKcolonfont} -\XeTeXinterchartoks \XKcjkextrastop \XKlatincolon = {\nobreak\XKhalfsmallbreak\XKwascjkchar\XKcolonfont} -\XeTeXinterchartoks \XKhangulsyllable \XKlatincolon = {\nobreak\XKcjklatinbreak\XKwascjkchar\XKcolonfont} -\XeTeXinterchartoks \XKhangulchosong \XKlatincolon = {\nobreak\XKcjklatinbreak\XKwascjkchar\XKcolonfont} -\XeTeXinterchartoks \XKhanguljungjong \XKlatincolon = {\nobreak\XKcjklatinbreak\XKwascjkchar\XKcolonfont} +\XeTeXinterchartoks \XKcjkclosing \XKlatincolon = {\postcjkcloseparen\XKnobreak\XKhalfsmallbreak\XKwascjkchar\XKcolonfont} +\XeTeXinterchartoks \XKcjkcolon \XKlatincolon = {\postcjkcolon\XKnobreak\XKquatersmallbreak\XKwascjkchar\XKcolonfont} +\XeTeXinterchartoks \XKcjkfullstop \XKlatincolon = {\postcjkfullstop\XKnobreak\XKfixedhalfskip\XKwascjkchar\XKcolonfont} +\XeTeXinterchartoks \XKcjkliaison \XKlatincolon = {\XKcjkcharboxstop\XKwascjkchar\XKcolonfont} +\XeTeXinterchartoks \XKcjkextrastop \XKlatincolon = {\XKcjkcharboxstop\XKnobreak\XKhalfsmallbreak\XKwascjkchar\XKcolonfont} +\XeTeXinterchartoks \XKhangulsyllable \XKlatincolon = {\XKcjkcharboxstop\XKnobreak\XKcjklatinbreak\XKwascjkchar\XKcolonfont} +\XeTeXinterchartoks \XKhangulchosong \XKlatincolon = {\XKcjkcharboxstop\XKnobreak\XKcjklatinbreak\XKwascjkchar\XKcolonfont} +\XeTeXinterchartoks \XKhanguljungjong \XKlatincolon = {\XKcjkcharboxstop\XKnobreak\XKcjklatinbreak\XKwascjkchar\XKcolonfont} \XeTeXinterchartoks \XKlatinfullstop \XKlatincolon = {\XKperiodboxstop\XKcolonfont} \XeTeXinterchartoks \XKlatinquestion \XKlatincolon = {\XKquestionboxstop\XKcolonfont} \XeTeXinterchartoks \XKlatinexclamation \XKlatincolon = {\XKexclamationboxstop\XKcolonfont} @@ -717,85 +727,85 @@ \XeTeXinterchartoks \XKboundary \XKlatincolon = {\XKundoignorespaces\XKcolonfont\XKbeginboundary} %%% ? hangul syllables -\XeTeXinterchartoks \XKlatinchar \XKhangulsyllable = {\XKhangulfont\XKcjklatinsmallbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatinnumber \XKhangulsyllable = {\XKhangulfont\XKcjklatinsmallbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatinopening \XKhangulsyllable = {\XKhangulfont\XKcjklastchar} -\XeTeXinterchartoks \XKlatinclosing \XKhangulsyllable = {\XKhangulfont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKopeningquote \XKhangulsyllable = {\XKopeningquotestop\XKhangulfont\XKcjklastchar} -\XeTeXinterchartoks \XKclosingquote \XKhangulsyllable = {\XKclosingquotestop\XKhangulfont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKhanja \XKhangulsyllable = {\XKhangulfont\XKinterhanjabreak\XKcjklastchar} -\XeTeXinterchartoks \XKsmallkana \XKhangulsyllable = {\XKhangulfont\XKinterhanjabreak\XKcjklastchar} -\XeTeXinterchartoks \XKcjksymbol \XKhangulsyllable = {\XKhangulfont\XKcjklastchar} -\XeTeXinterchartoks \XKcjkopening \XKhangulsyllable = {\postcjkopenparen\XKhangulfont\XKcjklastchar} -\XeTeXinterchartoks \XKcjkclosing \XKhangulsyllable = {\postcjkcloseparen\XKhangulfont\XKhalfsmallbreak\XKcjklastchar} -\XeTeXinterchartoks \XKcjkcolon \XKhangulsyllable = {\postcjkcolon\XKhangulfont\XKquatersmallbreak\XKcjklastchar} -\XeTeXinterchartoks \XKcjkfullstop \XKhangulsyllable = {\postcjkfullstop\XKhangulfont\XKfixedhalfskip\XKcjklastchar} -\XeTeXinterchartoks \XKcjkliaison \XKhangulsyllable = {\XKhangulfont\XKcjklastchar} -\XeTeXinterchartoks \XKcjkextrastop \XKhangulsyllable = {\XKhangulfont\XKhalfsmallbreak\XKcjklastchar} -\XeTeXinterchartoks \XKhangulsyllable \XKhangulsyllable = {\XKinterhangulbreak\XKcjklastchar} -\XeTeXinterchartoks \XKhangulchosong \XKhangulsyllable = {\XKcjklastchar} -\XeTeXinterchartoks \XKhanguljungjong \XKhangulsyllable = {\XKinterhangulbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatinfullstop \XKhangulsyllable = {\XKperiodboxstop\XKhangulfont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatinquestion \XKhangulsyllable = {\XKquestionboxstop\XKhangulfont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatinexclamation \XKhangulsyllable = {\XKexclamationboxstop\XKhangulfont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatincomma \XKhangulsyllable = {\XKcommaboxstop\XKhangulfont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatincolon \XKhangulsyllable = {\XKhangulfont\XKcjklatinbreak\XKcjklastchar} -\XeTeXinterchartoks \XKlatinhyphen \XKhangulsyllable = {\XKhangulfont\XKzeroskip\XKcjklastchar} -\XeTeXinterchartoks \XKboundary \XKhangulsyllable = {\XKhangulfont\XKafterboundaryskip\XKbeginboundary\XKcjklastchar} +\XeTeXinterchartoks \XKlatinchar \XKhangulsyllable = {\XKhangulfont\XKcjklatinsmallbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKlatinnumber \XKhangulsyllable = {\XKhangulfont\XKcjklatinsmallbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKlatinopening \XKhangulsyllable = {\XKhangulfont\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKlatinclosing \XKhangulsyllable = {\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKopeningquote \XKhangulsyllable = {\XKopeningquotestop\XKhangulfont\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKclosingquote \XKhangulsyllable = {\XKclosingquotestop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKhanja \XKhangulsyllable = {\XKcjkcharboxstop\XKhangulfont\XKinterhanjabreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKsmallkana \XKhangulsyllable = {\XKcjkcharboxstop\XKhangulfont\XKinterhanjabreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKcjksymbol \XKhangulsyllable = {\XKcjkcharboxstop\XKhangulfont\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKcjkopening \XKhangulsyllable = {\postcjkopenparen\XKhangulfont\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKcjkclosing \XKhangulsyllable = {\postcjkcloseparen\XKhangulfont\XKhalfsmallbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKcjkcolon \XKhangulsyllable = {\postcjkcolon\XKhangulfont\XKquatersmallbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKcjkfullstop \XKhangulsyllable = {\postcjkfullstop\XKhangulfont\XKfixedhalfskip\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKcjkliaison \XKhangulsyllable = {\XKcjkcharboxstop\XKhangulfont\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKcjkextrastop \XKhangulsyllable = {\XKcjkcharboxstop\XKhangulfont\XKhalfsmallbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKhangulsyllable \XKhangulsyllable = {\XKcjkcharboxstop\XKinterhangulbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKhangulchosong \XKhangulsyllable = {\XKcjkcharboxstop\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKhanguljungjong \XKhangulsyllable = {\XKcjkcharboxstop\XKinterhangulbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKlatinfullstop \XKhangulsyllable = {\XKperiodboxstop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKlatinquestion \XKhangulsyllable = {\XKquestionboxstop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKlatinexclamation \XKhangulsyllable = {\XKexclamationboxstop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKlatincomma \XKhangulsyllable = {\XKcommaboxstop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKlatincolon \XKhangulsyllable = {\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKlatinhyphen \XKhangulsyllable = {\XKhangulfont\XKzeroskip\XKcjkcharboxstart\XKcjklastchar} +\XeTeXinterchartoks \XKboundary \XKhangulsyllable = {\XKhangulfont\XKafterboundaryskip\XKbeginboundary\XKcjkcharboxstart\XKcjklastchar} %%% ? choseong jamo -\XeTeXinterchartoks \XKlatinchar \XKhangulchosong = {\XKhangulfont\XKcjklatinsmallbreak\XKlastchar} -\XeTeXinterchartoks \XKlatinnumber \XKhangulchosong = {\XKhangulfont\XKcjklatinsmallbreak\XKlastchar} -\XeTeXinterchartoks \XKlatinopening \XKhangulchosong = {\XKhangulfont\XKlastchar} -\XeTeXinterchartoks \XKlatinclosing \XKhangulchosong = {\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKopeningquote \XKhangulchosong = {\XKopeningquotestop\XKhangulfont\XKlastchar} -\XeTeXinterchartoks \XKclosingquote \XKhangulchosong = {\XKclosingquotestop\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKhanja \XKhangulchosong = {\XKhangulfont\XKinterhanjabreak\XKlastchar} -\XeTeXinterchartoks \XKsmallkana \XKhangulchosong = {\XKhangulfont\XKinterhanjabreak\XKlastchar} -\XeTeXinterchartoks \XKcjksymbol \XKhangulchosong = {\XKhangulfont\XKlastchar} -\XeTeXinterchartoks \XKcjkopening \XKhangulchosong = {\postcjkopenparen\XKhangulfont\XKlastchar} -\XeTeXinterchartoks \XKcjkclosing \XKhangulchosong = {\postcjkcloseparen\XKhangulfont\XKhalfsmallbreak\XKlastchar} -\XeTeXinterchartoks \XKcjkcolon \XKhangulchosong = {\postcjkcolon\XKhangulfont\XKquatersmallbreak\XKlastchar} -\XeTeXinterchartoks \XKcjkfullstop \XKhangulchosong = {\postcjkfullstop\XKhangulfont\XKfixedhalfskip\XKlastchar} -\XeTeXinterchartoks \XKcjkliaison \XKhangulchosong = {\XKhangulfont\XKlastchar} -\XeTeXinterchartoks \XKcjkextrastop \XKhangulchosong = {\XKhangulfont\XKhalfsmallbreak\XKlastchar} -\XeTeXinterchartoks \XKhangulsyllable \XKhangulchosong = {\XKinterhangulbreak\XKlastchar} +\XeTeXinterchartoks \XKlatinchar \XKhangulchosong = {\XKhangulfont\XKcjklatinsmallbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatinnumber \XKhangulchosong = {\XKhangulfont\XKcjklatinsmallbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatinopening \XKhangulchosong = {\XKhangulfont\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatinclosing \XKhangulchosong = {\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKopeningquote \XKhangulchosong = {\XKopeningquotestop\XKhangulfont\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKclosingquote \XKhangulchosong = {\XKclosingquotestop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKhanja \XKhangulchosong = {\XKcjkcharboxstop\XKhangulfont\XKinterhanjabreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKsmallkana \XKhangulchosong = {\XKcjkcharboxstop\XKhangulfont\XKinterhanjabreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjksymbol \XKhangulchosong = {\XKcjkcharboxstop\XKhangulfont\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjkopening \XKhangulchosong = {\postcjkopenparen\XKhangulfont\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjkclosing \XKhangulchosong = {\postcjkcloseparen\XKhangulfont\XKhalfsmallbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjkcolon \XKhangulchosong = {\postcjkcolon\XKhangulfont\XKquatersmallbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjkfullstop \XKhangulchosong = {\postcjkfullstop\XKhangulfont\XKfixedhalfskip\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjkliaison \XKhangulchosong = {\XKcjkcharboxstop\XKhangulfont\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjkextrastop \XKhangulchosong = {\XKcjkcharboxstop\XKhangulfont\XKhalfsmallbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKhangulsyllable \XKhangulchosong = {\XKcjkcharboxstop\XKinterhangulbreak\XKcjkcharboxstart\XKlastchar} %\XeTeXinterchartoks \XKhangulchosong \XKhangulchosong = {} -\XeTeXinterchartoks \XKhanguljungjong \XKhangulchosong = {\XKinterhangulbreak\XKlastchar} -\XeTeXinterchartoks \XKlatinfullstop \XKhangulchosong = {\XKperiodboxstop\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKlatinquestion \XKhangulchosong = {\XKquestionboxstop\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKlatinexclamation \XKhangulchosong = {\XKexclamationboxstop\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKlatincomma \XKhangulchosong = {\XKcommaboxstop\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKlatincolon \XKhangulchosong = {\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKlatinhyphen \XKhangulchosong = {\XKhangulfont\XKzeroskip\XKlastchar} -\XeTeXinterchartoks \XKboundary \XKhangulchosong = {\XKhangulfont\XKafterboundaryskip\XKbeginboundary\XKlastchar} +\XeTeXinterchartoks \XKhanguljungjong \XKhangulchosong = {\XKcjkcharboxstop\XKinterhangulbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatinfullstop \XKhangulchosong = {\XKperiodboxstop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatinquestion \XKhangulchosong = {\XKquestionboxstop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatinexclamation \XKhangulchosong = {\XKexclamationboxstop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatincomma \XKhangulchosong = {\XKcommaboxstop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatincolon \XKhangulchosong = {\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatinhyphen \XKhangulchosong = {\XKhangulfont\XKzeroskip\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKboundary \XKhangulchosong = {\XKhangulfont\XKafterboundaryskip\XKbeginboundary\XKcjkcharboxstart\XKlastchar} %%% ? jungseong/jongseong jamo -\XeTeXinterchartoks \XKlatinchar \XKhanguljungjong = {\XKhangulfont\XKcjklatinsmallbreak\XKlastchar} -\XeTeXinterchartoks \XKlatinnumber \XKhanguljungjong = {\XKhangulfont\XKcjklatinsmallbreak\XKlastchar} -\XeTeXinterchartoks \XKlatinopening \XKhanguljungjong = {\XKhangulfont\XKlastchar} -\XeTeXinterchartoks \XKlatinclosing \XKhanguljungjong = {\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKopeningquote \XKhanguljungjong = {\XKopeningquotestop\XKhangulfont\XKlastchar} -\XeTeXinterchartoks \XKclosingquote \XKhanguljungjong = {\XKclosingquotestop\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKhanja \XKhanguljungjong = {\XKhangulfont\XKinterhanjabreak\XKlastchar} -\XeTeXinterchartoks \XKsmallkana \XKhanguljungjong = {\XKhangulfont\XKinterhanjabreak\XKlastchar} -\XeTeXinterchartoks \XKcjksymbol \XKhanguljungjong = {\XKhangulfont\XKlastchar\XKlastchar} -\XeTeXinterchartoks \XKcjkopening \XKhanguljungjong = {\postcjkopenparen\XKhangulfont\XKlastchar} -\XeTeXinterchartoks \XKcjkclosing \XKhanguljungjong = {\postcjkcloseparen\XKhangulfont\XKhalfsmallbreak\XKlastchar} -\XeTeXinterchartoks \XKcjkcolon \XKhanguljungjong = {\postcjkcolon\XKhangulfont\XKquatersmallbreak\XKlastchar} -\XeTeXinterchartoks \XKcjkfullstop \XKhanguljungjong = {\postcjkfullstop\XKhangulfont\XKfixedhalfskip\XKlastchar} -\XeTeXinterchartoks \XKcjkliaison \XKhanguljungjong = {\XKhangulfont\XKlastchar} -\XeTeXinterchartoks \XKcjkextrastop \XKhanguljungjong = {\XKhangulfont\XKhalfsmallbreak\XKlastchar} +\XeTeXinterchartoks \XKlatinchar \XKhanguljungjong = {\XKhangulfont\XKcjklatinsmallbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatinnumber \XKhanguljungjong = {\XKhangulfont\XKcjklatinsmallbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatinopening \XKhanguljungjong = {\XKhangulfont\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatinclosing \XKhanguljungjong = {\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKopeningquote \XKhanguljungjong = {\XKopeningquotestop\XKhangulfont\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKclosingquote \XKhanguljungjong = {\XKclosingquotestop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKhanja \XKhanguljungjong = {\XKcjkcharboxstop\XKhangulfont\XKinterhanjabreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKsmallkana \XKhanguljungjong = {\XKcjkcharboxstop\XKhangulfont\XKinterhanjabreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjksymbol \XKhanguljungjong = {\XKcjkcharboxstop\XKhangulfont\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjkopening \XKhanguljungjong = {\postcjkopenparen\XKhangulfont\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjkclosing \XKhanguljungjong = {\postcjkcloseparen\XKhangulfont\XKhalfsmallbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjkcolon \XKhanguljungjong = {\postcjkcolon\XKhangulfont\XKquatersmallbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjkfullstop \XKhanguljungjong = {\postcjkfullstop\XKhangulfont\XKfixedhalfskip\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjkliaison \XKhanguljungjong = {\XKcjkcharboxstop\XKhangulfont\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKcjkextrastop \XKhanguljungjong = {\XKcjkcharboxstop\XKhangulfont\XKhalfsmallbreak\XKcjkcharboxstart\XKlastchar} \XeTeXinterchartoks \XKhangulsyllable \XKhanguljungjong = {\XKlastchar} \XeTeXinterchartoks \XKhangulchosong \XKhanguljungjong = {\XKlastchar} \XeTeXinterchartoks \XKhanguljungjong \XKhanguljungjong = {\XKlastchar} -\XeTeXinterchartoks \XKlatinfullstop \XKhanguljungjong = {\XKperiodboxstop\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKlatinquestion \XKhanguljungjong = {\XKquestionboxstop\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKlatinexclamation \XKhanguljungjong = {\XKexclamationboxstop\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKlatincomma \XKhanguljungjong = {\XKcommaboxstop\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKlatincolon \XKhanguljungjong = {\XKhangulfont\XKcjklatinbreak\XKlastchar} -\XeTeXinterchartoks \XKlatinhyphen \XKhanguljungjong = {\XKhangulfont\XKlastchar} -\XeTeXinterchartoks \XKboundary \XKhanguljungjong = {\XKhangulfont\XKafterboundaryskip\XKbeginboundary\XKlastchar} +\XeTeXinterchartoks \XKlatinfullstop \XKhanguljungjong = {\XKperiodboxstop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatinquestion \XKhanguljungjong = {\XKquestionboxstop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatinexclamation \XKhanguljungjong = {\XKexclamationboxstop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatincomma \XKhanguljungjong = {\XKcommaboxstop\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatincolon \XKhanguljungjong = {\XKhangulfont\XKcjklatinbreak\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKlatinhyphen \XKhanguljungjong = {\XKhangulfont\XKcjkcharboxstart\XKlastchar} +\XeTeXinterchartoks \XKboundary \XKhanguljungjong = {\XKhangulfont\XKafterboundaryskip\XKbeginboundary\XKcjkcharboxstart\XKlastchar} %%% ? latin period [.] \XeTeXinterchartoks \XKlatinchar \XKlatinfullstop = {\XKwaslatinchar\XKpunctsfont\XKperiodboxstart} @@ -804,18 +814,18 @@ \XeTeXinterchartoks \XKlatinclosing \XKlatinfullstop = {\XKpunctsfont\XKperiodboxstart} \XeTeXinterchartoks \XKopeningquote \XKlatinfullstop = {\XKopeningquotestop\XKpunctsfont\XKperiodboxstart} \XeTeXinterchartoks \XKclosingquote \XKlatinfullstop = {\XKclosingquotestop\XKpunctsfont\XKperiodboxstart} -\XeTeXinterchartoks \XKhanja \XKlatinfullstop = {\XKwascjkchar\XKpunctsfont\XKperiodboxstart} -\XeTeXinterchartoks \XKsmallkana \XKlatinfullstop = {\XKwascjkchar\XKpunctsfont\XKperiodboxstart} -\XeTeXinterchartoks \XKcjksymbol \XKlatinfullstop = {\XKwascjkchar\XKpunctsfont\XKperiodboxstart} +\XeTeXinterchartoks \XKhanja \XKlatinfullstop = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKperiodboxstart} +\XeTeXinterchartoks \XKsmallkana \XKlatinfullstop = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKperiodboxstart} +\XeTeXinterchartoks \XKcjksymbol \XKlatinfullstop = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKperiodboxstart} \XeTeXinterchartoks \XKcjkopening \XKlatinfullstop = {\postcjkopenparen \XKwascjkchar\XKpunctsfont\XKperiodboxstart} \XeTeXinterchartoks \XKcjkclosing \XKlatinfullstop = {\postcjkcloseparen\XKwascjkchar\XKpunctsfont\XKperiodboxstart} -\XeTeXinterchartoks \XKcjkcolon \XKlatinfullstop = {\postcjkcolon\nobreak\XKquatersmallbreak\XKwascjkchar\XKpunctsfont\XKperiodboxstart} +\XeTeXinterchartoks \XKcjkcolon \XKlatinfullstop = {\postcjkcolon\XKnobreak\XKquatersmallbreak\XKwascjkchar\XKpunctsfont\XKperiodboxstart} \XeTeXinterchartoks \XKcjkfullstop \XKlatinfullstop = {\postcjkfullstop\XKwascjkchar\XKpunctsfont\XKperiodboxstart} -\XeTeXinterchartoks \XKcjkliaison \XKlatinfullstop = {\XKwascjkchar\XKpunctsfont\XKperiodboxstart} -\XeTeXinterchartoks \XKcjkextrastop \XKlatinfullstop = {\XKwascjkchar\XKpunctsfont\XKperiodboxstart} -\XeTeXinterchartoks \XKhangulsyllable \XKlatinfullstop = {\XKwascjkchar\XKpunctsfont\XKperiodboxstart} -\XeTeXinterchartoks \XKhangulchosong \XKlatinfullstop = {\XKwascjkchar\XKpunctsfont\XKperiodboxstart} -\XeTeXinterchartoks \XKhanguljungjong \XKlatinfullstop = {\XKwascjkchar\XKpunctsfont\XKperiodboxstart} +\XeTeXinterchartoks \XKcjkliaison \XKlatinfullstop = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKperiodboxstart} +\XeTeXinterchartoks \XKcjkextrastop \XKlatinfullstop = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKperiodboxstart} +\XeTeXinterchartoks \XKhangulsyllable \XKlatinfullstop = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKperiodboxstart} +\XeTeXinterchartoks \XKhangulchosong \XKlatinfullstop = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKperiodboxstart} +\XeTeXinterchartoks \XKhanguljungjong \XKlatinfullstop = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKperiodboxstart} %\XeTeXinterchartoks \XKlatinfullstop \XKlatinfullstop = {} %\XeTeXinterchartoks \XKlatinquestion \XKlatinfullstop = {} %\XeTeXinterchartoks \XKlatinexclamation \XKlatinfullstop = {} @@ -831,18 +841,18 @@ \XeTeXinterchartoks \XKlatinclosing \XKlatinquestion = {\XKpunctsfont\XKquestionboxstart} \XeTeXinterchartoks \XKopeningquote \XKlatinquestion = {\XKopeningquotestop\XKpunctsfont\XKquestionboxstart} \XeTeXinterchartoks \XKclosingquote \XKlatinquestion = {\XKclosingquotestop\XKpunctsfont\XKquestionboxstart} -\XeTeXinterchartoks \XKhanja \XKlatinquestion = {\XKwascjkchar\XKpunctsfont\XKquestionboxstart} -\XeTeXinterchartoks \XKsmallkana \XKlatinquestion = {\XKwascjkchar\XKpunctsfont\XKquestionboxstart} -\XeTeXinterchartoks \XKcjksymbol \XKlatinquestion = {\XKwascjkchar\XKpunctsfont\XKquestionboxstart} +\XeTeXinterchartoks \XKhanja \XKlatinquestion = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKquestionboxstart} +\XeTeXinterchartoks \XKsmallkana \XKlatinquestion = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKquestionboxstart} +\XeTeXinterchartoks \XKcjksymbol \XKlatinquestion = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKquestionboxstart} \XeTeXinterchartoks \XKcjkopening \XKlatinquestion = {\postcjkopenparen\XKwascjkchar\XKpunctsfont\XKquestionboxstart} \XeTeXinterchartoks \XKcjkclosing \XKlatinquestion = {\postcjkcloseparen\XKwascjkchar\XKpunctsfont\XKquestionboxstart} -\XeTeXinterchartoks \XKcjkcolon \XKlatinquestion = {\postcjkcolon\nobreak\XKquatersmallbreak\XKwascjkchar\XKpunctsfont\XKquestionboxstart} +\XeTeXinterchartoks \XKcjkcolon \XKlatinquestion = {\postcjkcolon\XKnobreak\XKquatersmallbreak\XKwascjkchar\XKpunctsfont\XKquestionboxstart} \XeTeXinterchartoks \XKcjkfullstop \XKlatinquestion = {\postcjkfullstop\XKwascjkchar\XKpunctsfont\XKquestionboxstart} -\XeTeXinterchartoks \XKcjkliaison \XKlatinquestion = {\XKwascjkchar\XKpunctsfont\XKquestionboxstart} -\XeTeXinterchartoks \XKcjkextrastop \XKlatinquestion = {\XKwascjkchar\XKpunctsfont\XKquestionboxstart} -\XeTeXinterchartoks \XKhangulsyllable \XKlatinquestion = {\XKwascjkchar\XKpunctsfont\XKquestionboxstart} -\XeTeXinterchartoks \XKhangulchosong \XKlatinquestion = {\XKwascjkchar\XKpunctsfont\XKquestionboxstart} -\XeTeXinterchartoks \XKhanguljungjong \XKlatinquestion = {\XKwascjkchar\XKpunctsfont\XKquestionboxstart} +\XeTeXinterchartoks \XKcjkliaison \XKlatinquestion = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKquestionboxstart} +\XeTeXinterchartoks \XKcjkextrastop \XKlatinquestion = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKquestionboxstart} +\XeTeXinterchartoks \XKhangulsyllable \XKlatinquestion = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKquestionboxstart} +\XeTeXinterchartoks \XKhangulchosong \XKlatinquestion = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKquestionboxstart} +\XeTeXinterchartoks \XKhanguljungjong \XKlatinquestion = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKquestionboxstart} %\XeTeXinterchartoks \XKlatinfullstop \XKlatinquestion = {} %\XeTeXinterchartoks \XKlatinquestion \XKlatinquestion = {} %\XeTeXinterchartoks \XKlatinexclamation \XKlatinquestion = {} @@ -858,18 +868,18 @@ \XeTeXinterchartoks \XKlatinclosing \XKlatinexclamation = {\XKpunctsfont\XKexclamationboxstart} \XeTeXinterchartoks \XKopeningquote \XKlatinexclamation = {\XKopeningquotestop\XKpunctsfont\XKexclamationboxstart} \XeTeXinterchartoks \XKclosingquote \XKlatinexclamation = {\XKclosingquotestop\XKpunctsfont\XKexclamationboxstart} -\XeTeXinterchartoks \XKhanja \XKlatinexclamation = {\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} -\XeTeXinterchartoks \XKsmallkana \XKlatinexclamation = {\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} -\XeTeXinterchartoks \XKcjksymbol \XKlatinexclamation = {\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} +\XeTeXinterchartoks \XKhanja \XKlatinexclamation = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} +\XeTeXinterchartoks \XKsmallkana \XKlatinexclamation = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} +\XeTeXinterchartoks \XKcjksymbol \XKlatinexclamation = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} \XeTeXinterchartoks \XKcjkopening \XKlatinexclamation = {\postcjkopenparen\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} \XeTeXinterchartoks \XKcjkclosing \XKlatinexclamation = {\postcjkcloseparen\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} -\XeTeXinterchartoks \XKcjkcolon \XKlatinexclamation = {\postcjkcolon\nobreak\XKquatersmallbreak\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} +\XeTeXinterchartoks \XKcjkcolon \XKlatinexclamation = {\postcjkcolon\XKnobreak\XKquatersmallbreak\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} \XeTeXinterchartoks \XKcjkfullstop \XKlatinexclamation = {\postcjkfullstop\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} -\XeTeXinterchartoks \XKcjkliaison \XKlatinexclamation = {\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} -\XeTeXinterchartoks \XKcjkextrastop \XKlatinexclamation = {\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} -\XeTeXinterchartoks \XKhangulsyllable \XKlatinexclamation = {\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} -\XeTeXinterchartoks \XKhangulchosong \XKlatinexclamation = {\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} -\XeTeXinterchartoks \XKhanguljungjong \XKlatinexclamation = {\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} +\XeTeXinterchartoks \XKcjkliaison \XKlatinexclamation = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} +\XeTeXinterchartoks \XKcjkextrastop \XKlatinexclamation = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} +\XeTeXinterchartoks \XKhangulsyllable \XKlatinexclamation = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} +\XeTeXinterchartoks \XKhangulchosong \XKlatinexclamation = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} +\XeTeXinterchartoks \XKhanguljungjong \XKlatinexclamation = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKexclamationboxstart} %\XeTeXinterchartoks \XKlatinfullstop \XKlatinexclamation = {} %\XeTeXinterchartoks \XKlatinquestion \XKlatinexclamation = {} %\XeTeXinterchartoks \XKlatinexclamation \XKlatinexclamation = {} @@ -885,18 +895,18 @@ \XeTeXinterchartoks \XKlatinclosing \XKlatincomma = {\XKpunctsfont\XKcommaboxstart} \XeTeXinterchartoks \XKopeningquote \XKlatincomma = {\XKopeningquotestop\XKpunctsfont\XKcommaboxstart} \XeTeXinterchartoks \XKclosingquote \XKlatincomma = {\XKclosingquotestop\XKpunctsfont\XKcommaboxstart} -\XeTeXinterchartoks \XKhanja \XKlatincomma = {\XKwascjkchar\XKpunctsfont\XKcommaboxstart} -\XeTeXinterchartoks \XKsmallkana \XKlatincomma = {\XKwascjkchar\XKpunctsfont\XKcommaboxstart} -\XeTeXinterchartoks \XKcjksymbol \XKlatincomma = {\XKwascjkchar\XKpunctsfont\XKcommaboxstart} +\XeTeXinterchartoks \XKhanja \XKlatincomma = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKcommaboxstart} +\XeTeXinterchartoks \XKsmallkana \XKlatincomma = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKcommaboxstart} +\XeTeXinterchartoks \XKcjksymbol \XKlatincomma = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKcommaboxstart} \XeTeXinterchartoks \XKcjkopening \XKlatincomma = {\postcjkopenparen\XKwascjkchar\XKpunctsfont\XKcommaboxstart} \XeTeXinterchartoks \XKcjkclosing \XKlatincomma = {\postcjkcloseparen\XKwascjkchar\XKpunctsfont\XKcommaboxstart} -\XeTeXinterchartoks \XKcjkcolon \XKlatincomma = {\postcjkcolon\nobreak\XKquatersmallbreak\XKwascjkchar\XKpunctsfont\XKcommaboxstart} +\XeTeXinterchartoks \XKcjkcolon \XKlatincomma = {\postcjkcolon\XKnobreak\XKquatersmallbreak\XKwascjkchar\XKpunctsfont\XKcommaboxstart} \XeTeXinterchartoks \XKcjkfullstop \XKlatincomma = {\postcjkfullstop\XKwascjkchar\XKpunctsfont\XKcommaboxstart} -\XeTeXinterchartoks \XKcjkliaison \XKlatincomma = {\XKwascjkchar\XKpunctsfont\XKcommaboxstart} -\XeTeXinterchartoks \XKcjkextrastop \XKlatincomma = {\XKwascjkchar\XKpunctsfont\XKcommaboxstart} -\XeTeXinterchartoks \XKhangulsyllable \XKlatincomma = {\XKwascjkchar\XKpunctsfont\XKcommaboxstart} -\XeTeXinterchartoks \XKhangulchosong \XKlatincomma = {\XKwascjkchar\XKpunctsfont\XKcommaboxstart} -\XeTeXinterchartoks \XKhanguljungjong \XKlatincomma = {\XKwascjkchar\XKpunctsfont\XKcommaboxstart} +\XeTeXinterchartoks \XKcjkliaison \XKlatincomma = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKcommaboxstart} +\XeTeXinterchartoks \XKcjkextrastop \XKlatincomma = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKcommaboxstart} +\XeTeXinterchartoks \XKhangulsyllable \XKlatincomma = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKcommaboxstart} +\XeTeXinterchartoks \XKhangulchosong \XKlatincomma = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKcommaboxstart} +\XeTeXinterchartoks \XKhanguljungjong \XKlatincomma = {\XKcjkcharboxstop\XKwascjkchar\XKpunctsfont\XKcommaboxstart} %\XeTeXinterchartoks \XKlatinfullstop \XKlatincomma = {} %\XeTeXinterchartoks \XKlatinquestion \XKlatincomma = {} %\XeTeXinterchartoks \XKlatinexclamation \XKlatincomma = {} @@ -912,18 +922,18 @@ \XeTeXinterchartoks \XKlatinclosing \XKlatinhyphen = {\XKhyphenfont} \XeTeXinterchartoks \XKopeningquote \XKlatinhyphen = {\XKopeningquotestop\XKhyphenfont} \XeTeXinterchartoks \XKclosingquote \XKlatinhyphen = {\XKclosingquotestop\XKhyphenfont} -\XeTeXinterchartoks \XKhanja \XKlatinhyphen = {\XKwascjkchar\XKhyphenfont} -\XeTeXinterchartoks \XKsmallkana \XKlatinhyphen = {\XKwascjkchar\XKhyphenfont} -\XeTeXinterchartoks \XKcjksymbol \XKlatinhyphen = {\XKwascjkchar\XKhyphenfont} +\XeTeXinterchartoks \XKhanja \XKlatinhyphen = {\XKcjkcharboxstop\XKwascjkchar\XKhyphenfont} +\XeTeXinterchartoks \XKsmallkana \XKlatinhyphen = {\XKcjkcharboxstop\XKwascjkchar\XKhyphenfont} +\XeTeXinterchartoks \XKcjksymbol \XKlatinhyphen = {\XKcjkcharboxstop\XKwascjkchar\XKhyphenfont} \XeTeXinterchartoks \XKcjkopening \XKlatinhyphen = {\postcjkopenparen\XKwascjkchar\XKhyphenfont} \XeTeXinterchartoks \XKcjkclosing \XKlatinhyphen = {\postcjkcloseparen\XKwascjkchar\XKhyphenfont} -\XeTeXinterchartoks \XKcjkcolon \XKlatinhyphen = {\postcjkcolon\nobreak\XKquatersmallbreak\XKwascjkchar\XKhyphenfont} +\XeTeXinterchartoks \XKcjkcolon \XKlatinhyphen = {\postcjkcolon\XKnobreak\XKquatersmallbreak\XKwascjkchar\XKhyphenfont} \XeTeXinterchartoks \XKcjkfullstop \XKlatinhyphen = {\postcjkfullstop\XKwascjkchar\XKhyphenfont} -\XeTeXinterchartoks \XKcjkliaison \XKlatinhyphen = {\XKwascjkchar\XKhyphenfont} -\XeTeXinterchartoks \XKcjkextrastop \XKlatinhyphen = {\XKwascjkchar\XKhyphenfont} -\XeTeXinterchartoks \XKhangulsyllable \XKlatinhyphen = {\XKwascjkchar\XKhyphenfont} -\XeTeXinterchartoks \XKhangulchosong \XKlatinhyphen = {\XKwascjkchar\XKhyphenfont} -\XeTeXinterchartoks \XKhanguljungjong \XKlatinhyphen = {\XKwascjkchar\XKhyphenfont} +\XeTeXinterchartoks \XKcjkliaison \XKlatinhyphen = {\XKcjkcharboxstop\XKwascjkchar\XKhyphenfont} +\XeTeXinterchartoks \XKcjkextrastop \XKlatinhyphen = {\XKcjkcharboxstop\XKwascjkchar\XKhyphenfont} +\XeTeXinterchartoks \XKhangulsyllable \XKlatinhyphen = {\XKcjkcharboxstop\XKwascjkchar\XKhyphenfont} +\XeTeXinterchartoks \XKhangulchosong \XKlatinhyphen = {\XKcjkcharboxstop\XKwascjkchar\XKhyphenfont} +\XeTeXinterchartoks \XKhanguljungjong \XKlatinhyphen = {\XKcjkcharboxstop\XKwascjkchar\XKhyphenfont} \XeTeXinterchartoks \XKlatinfullstop \XKlatinhyphen = {\XKperiodboxstop\XKhyphenfont} \XeTeXinterchartoks \XKlatinquestion \XKlatinhyphen = {\XKquestionboxstop\XKhyphenfont} \XeTeXinterchartoks \XKlatinexclamation \XKlatinhyphen = {\XKexclamationboxstop\XKhyphenfont} @@ -933,58 +943,58 @@ \XeTeXinterchartoks \XKboundary \XKlatinhyphen = {\XKundoignorespaces\XKhyphenfont\XKbeginboundary} %%% ? boundary -\XeTeXinterchartoks \XKlatinchar \XKboundary = {\XKendboundary\XKwaslatinchar\XKlatinfont} -\XeTeXinterchartoks \XKlatinnumber \XKboundary = {\XKendboundary\XKwaslatinchar\XKlatinfont} -\XeTeXinterchartoks \XKlatinopening \XKboundary = {\XKendboundary\XKlatinfont} -\XeTeXinterchartoks \XKlatinclosing \XKboundary = {\XKendboundary\XKlatinfont} -\XeTeXinterchartoks \XKopeningquote \XKboundary = {\XKopeningquotestop\XKendboundary\XKlatinfont} -\XeTeXinterchartoks \XKclosingquote \XKboundary = {\XKclosingquotestop\XKendboundary\XKlatinfont} -\XeTeXinterchartoks \XKhanja \XKboundary = {\XKendboundary\XKwascjkchar\XKlatinfont\XKignorespaces} -\XeTeXinterchartoks \XKsmallkana \XKboundary = {\XKendboundary\XKwascjkchar\XKlatinfont\XKignorespaces} -\XeTeXinterchartoks \XKcjksymbol \XKboundary = {\XKendboundary\XKwascjkchar\XKlatinfont\XKignorespaces} -\XeTeXinterchartoks \XKcjkopening \XKboundary = {\postcjkopenparen\XKendboundary\XKwascjkchar\XKlatinfont\XKignorespaces} -\XeTeXinterchartoks \XKcjkclosing \XKboundary = {\postcjkcloseparen\XKendboundary\ifcjtypeset\XKhalfskip\fi\XKwascjkchar\XKlatinfont\XKignorespaces} -\XeTeXinterchartoks \XKcjkcolon \XKboundary = {\postcjkcolon\XKendboundary\nobreak\XKquatersmallbreak\XKwascjkchar\XKlatinfont\XKignorespaces} -\XeTeXinterchartoks \XKcjkfullstop \XKboundary = {\postcjkfullstop\XKendboundary\ifcjtypeset\XKfixedhalfskip\fi\XKwascjkchar\XKlatinfont\XKignorespaces} -\XeTeXinterchartoks \XKcjkliaison \XKboundary = {\XKendboundary\XKwascjkchar\XKlatinfont\XKignorespaces} -\XeTeXinterchartoks \XKcjkextrastop \XKboundary = {\XKendboundary\XKwascjkchar\XKlatinfont\XKignorespaces} -\XeTeXinterchartoks \XKhangulsyllable \XKboundary = {\XKendboundary\XKwascjkchar\XKlatinfont\XKignorespaces} -\XeTeXinterchartoks \XKhangulchosong \XKboundary = {\XKendboundary\XKwascjkchar\XKlatinfont\XKignorespaces} -\XeTeXinterchartoks \XKhanguljungjong \XKboundary = {\XKendboundary\XKwascjkchar\XKlatinfont\XKignorespaces} -\XeTeXinterchartoks \XKlatinfullstop \XKboundary = {\XKperiodboxstop\XKendboundary\XKlatinfont} -\XeTeXinterchartoks \XKlatinquestion \XKboundary = {\XKquestionboxstop\XKendboundary\XKlatinfont} -\XeTeXinterchartoks \XKlatinexclamation \XKboundary = {\XKexclamationboxstop\XKendboundary\XKlatinfont} -\XeTeXinterchartoks \XKlatincomma \XKboundary = {\XKcommaboxstop\XKendboundary\XKlatinfont} -\XeTeXinterchartoks \XKlatincolon \XKboundary = {\XKendboundary\XKlatinfont} -\XeTeXinterchartoks \XKlatinhyphen \XKboundary = {\XKendboundary\XKlatinfont} +\XeTeXinterchartoks \XKlatinchar \XKboundary = {\XKendboundary\XKwaslatinchar\XKstoreprevfont} +\XeTeXinterchartoks \XKlatinnumber \XKboundary = {\XKendboundary\XKwaslatinchar\XKstoreprevfont} +\XeTeXinterchartoks \XKlatinopening \XKboundary = {\XKendboundary\XKstoreprevfont} +\XeTeXinterchartoks \XKlatinclosing \XKboundary = {\XKendboundary\XKstoreprevfont} +\XeTeXinterchartoks \XKopeningquote \XKboundary = {\XKopeningquotestop\XKendboundary\XKstoreprevfont} +\XeTeXinterchartoks \XKclosingquote \XKboundary = {\XKclosingquotestop\XKendboundary\XKstoreprevfont} +\XeTeXinterchartoks \XKhanja \XKboundary = {\XKcjkcharboxstop\XKendboundary\XKwascjkchar\XKignorespaces\XKstoreprevfont} +\XeTeXinterchartoks \XKsmallkana \XKboundary = {\XKcjkcharboxstop\XKendboundary\XKwascjkchar\XKignorespaces\XKstoreprevfont} +\XeTeXinterchartoks \XKcjksymbol \XKboundary = {\XKcjkcharboxstop\XKendboundary\XKwascjkchar\XKignorespaces\XKstoreprevfont} +\XeTeXinterchartoks \XKcjkopening \XKboundary = {\postcjkopenparen\XKendboundary\XKwascjkchar\XKignorespaces\XKstoreprevfont} +\XeTeXinterchartoks \XKcjkclosing \XKboundary = {\postcjkcloseparen\XKendboundary\ifcjtypeset\XKhalfskip\fi\XKwascjkchar\XKignorespaces\XKstoreprevfont} +\XeTeXinterchartoks \XKcjkcolon \XKboundary = {\postcjkcolon\XKendboundary\XKnobreak\XKquatersmallbreak\XKwascjkchar\XKignorespaces\XKstoreprevfont} +\XeTeXinterchartoks \XKcjkfullstop \XKboundary = {\postcjkfullstop\XKendboundary\ifcjtypeset\XKfixedhalfskip\fi\XKwascjkchar\XKignorespaces\XKstoreprevfont} +\XeTeXinterchartoks \XKcjkliaison \XKboundary = {\XKcjkcharboxstop\XKendboundary\XKwascjkchar\XKignorespaces\XKstoreprevfont} +\XeTeXinterchartoks \XKcjkextrastop \XKboundary = {\XKcjkcharboxstop\XKendboundary\XKwascjkchar\XKignorespaces\XKstoreprevfont} +\XeTeXinterchartoks \XKhangulsyllable \XKboundary = {\XKcjkcharboxstop\XKendboundary\XKwascjkchar\XKignorespaces\XKstoreprevfont} +\XeTeXinterchartoks \XKhangulchosong \XKboundary = {\XKcjkcharboxstop\XKendboundary\XKwascjkchar\XKignorespaces\XKstoreprevfont} +\XeTeXinterchartoks \XKhanguljungjong \XKboundary = {\XKcjkcharboxstop\XKendboundary\XKwascjkchar\XKignorespaces\XKstoreprevfont} +\XeTeXinterchartoks \XKlatinfullstop \XKboundary = {\XKperiodboxstop\XKendboundary\XKstoreprevfont} +\XeTeXinterchartoks \XKlatinquestion \XKboundary = {\XKquestionboxstop\XKendboundary\XKstoreprevfont} +\XeTeXinterchartoks \XKlatinexclamation \XKboundary = {\XKexclamationboxstop\XKendboundary\XKstoreprevfont} +\XeTeXinterchartoks \XKlatincomma \XKboundary = {\XKcommaboxstop\XKendboundary\XKstoreprevfont} +\XeTeXinterchartoks \XKlatincolon \XKboundary = {\XKendboundary\XKstoreprevfont} +\XeTeXinterchartoks \XKlatinhyphen \XKboundary = {\XKendboundary\XKstoreprevfont} %\XeTeXinterchartoks \XKboundary \XKboundary = {} %%% ? cjk colons -\XeTeXinterchartoks \XKlatinchar \XKcjkcolon = {\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKlatinnumber \XKcjkcolon = {\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKlatinopening \XKcjkcolon = {\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKlatinclosing \XKcjkcolon = {\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKopeningquote \XKcjkcolon = {\XKopeningquotestop\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKclosingquote \XKcjkcolon = {\XKclosingquotestop\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKhanja \XKcjkcolon = {\nobreak\XKquatersmallbreak\XKmaybehanjafont\precjkcolon} -\XeTeXinterchartoks \XKsmallkana \XKcjkcolon = {\nobreak\XKquatersmallbreak\XKmaybehanjafont\precjkcolon} -\XeTeXinterchartoks \XKcjksymbol \XKcjkcolon = {\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKcjkopening \XKcjkcolon = {\postcjkopenparen\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKcjkclosing \XKcjkcolon = {\postcjkcloseparen\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKcjkcolon \XKcjkcolon = {\postcjkcolon\nobreak\ifcjtypeset\XKhalfminusquaterskip\else\XKsmallskip\fi\precjkcolon} -\XeTeXinterchartoks \XKcjkfullstop \XKcjkcolon = {\postcjkfullstop\nobreak\ifcjtypeset\XKthreequaterskip\else\XKsmallskip\fi\precjkcolon} -\XeTeXinterchartoks \XKcjkliaison \XKcjkcolon = {\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKcjkextrastop \XKcjkcolon = {\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKhangulsyllable \XKcjkcolon = {\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKhangulchosong \XKcjkcolon = {\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKhanguljungjong \XKcjkcolon = {\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKlatinfullstop \XKcjkcolon = {\XKperiodboxstop\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKlatinquestion \XKcjkcolon = {\XKquestionboxstop\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKlatinexclamation \XKcjkcolon = {\XKexclamationboxstop\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKlatincomma \XKcjkcolon = {\XKcommaboxstop\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKlatincolon \XKcjkcolon = {\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKlatinhyphen \XKcjkcolon = {\XKmaybehanjafont\nobreak\XKquatersmallbreak\precjkcolon} -\XeTeXinterchartoks \XKboundary \XKcjkcolon = {\XKmaybehanjafont\nobreak\XKquatersmallbreak\XKbeginboundary\precjkcolon} +\XeTeXinterchartoks \XKlatinchar \XKcjkcolon = {\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKlatinnumber \XKcjkcolon = {\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKlatinopening \XKcjkcolon = {\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKlatinclosing \XKcjkcolon = {\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKopeningquote \XKcjkcolon = {\XKopeningquotestop\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKclosingquote \XKcjkcolon = {\XKclosingquotestop\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKhanja \XKcjkcolon = {\XKcjkcharboxstop\XKnobreak\XKquatersmallbreak\XKmaybehanjafont\precjkcolon} +\XeTeXinterchartoks \XKsmallkana \XKcjkcolon = {\XKcjkcharboxstop\XKnobreak\XKquatersmallbreak\XKmaybehanjafont\precjkcolon} +\XeTeXinterchartoks \XKcjksymbol \XKcjkcolon = {\XKcjkcharboxstop\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKcjkopening \XKcjkcolon = {\postcjkopenparen\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKcjkclosing \XKcjkcolon = {\postcjkcloseparen\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKcjkcolon \XKcjkcolon = {\postcjkcolon\XKnobreak\ifcjtypeset\XKhalfminusquaterskip\else\XKsmallskip\fi\precjkcolon} +\XeTeXinterchartoks \XKcjkfullstop \XKcjkcolon = {\postcjkfullstop\XKnobreak\ifcjtypeset\XKthreequaterskip\else\XKsmallskip\fi\precjkcolon} +\XeTeXinterchartoks \XKcjkliaison \XKcjkcolon = {\XKcjkcharboxstop\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKcjkextrastop \XKcjkcolon = {\XKcjkcharboxstop\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKhangulsyllable \XKcjkcolon = {\XKcjkcharboxstop\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKhangulchosong \XKcjkcolon = {\XKcjkcharboxstop\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKhanguljungjong \XKcjkcolon = {\XKcjkcharboxstop\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKlatinfullstop \XKcjkcolon = {\XKperiodboxstop\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKlatinquestion \XKcjkcolon = {\XKquestionboxstop\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKlatinexclamation \XKcjkcolon = {\XKexclamationboxstop\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKlatincomma \XKcjkcolon = {\XKcommaboxstop\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKlatincolon \XKcjkcolon = {\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKlatinhyphen \XKcjkcolon = {\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\precjkcolon} +\XeTeXinterchartoks \XKboundary \XKcjkcolon = {\XKmaybehanjafont\XKnobreak\XKquatersmallbreak\XKbeginboundary\precjkcolon} %%% ? cjk fullstop \XeTeXinterchartoks \XKlatinchar \XKcjkfullstop = {\XKmaybehanjafont\precjkfullstop} @@ -993,18 +1003,18 @@ \XeTeXinterchartoks \XKlatinclosing \XKcjkfullstop = {\XKmaybehanjafont\precjkfullstop} \XeTeXinterchartoks \XKopeningquote \XKcjkfullstop = {\XKopeningquotestop\XKmaybehanjafont\precjkfullstop} \XeTeXinterchartoks \XKclosingquote \XKcjkfullstop = {\XKclosingquotestop\XKmaybehanjafont\precjkfullstop} -\XeTeXinterchartoks \XKhanja \XKcjkfullstop = {\XKmaybehanjafont\precjkfullstop} -\XeTeXinterchartoks \XKsmallkana \XKcjkfullstop = {\XKmaybehanjafont\precjkfullstop} -\XeTeXinterchartoks \XKcjksymbol \XKcjkfullstop = {\precjkfullstop} +\XeTeXinterchartoks \XKhanja \XKcjkfullstop = {\XKcjkcharboxstop\XKmaybehanjafont\precjkfullstop} +\XeTeXinterchartoks \XKsmallkana \XKcjkfullstop = {\XKcjkcharboxstop\XKmaybehanjafont\precjkfullstop} +\XeTeXinterchartoks \XKcjksymbol \XKcjkfullstop = {\XKcjkcharboxstop\precjkfullstop} \XeTeXinterchartoks \XKcjkopening \XKcjkfullstop = {\postcjkopenparen\precjkfullstop} \XeTeXinterchartoks \XKcjkclosing \XKcjkfullstop = {\postcjkcloseparen\precjkfullstop} -\XeTeXinterchartoks \XKcjkcolon \XKcjkfullstop = {\postcjkcolon\nobreak\XKquatersmallbreak\precjkfullstop} +\XeTeXinterchartoks \XKcjkcolon \XKcjkfullstop = {\postcjkcolon\XKnobreak\XKquatersmallbreak\precjkfullstop} \XeTeXinterchartoks \XKcjkfullstop \XKcjkfullstop = {\postcjkfullstop\precjkfullstop} -\XeTeXinterchartoks \XKcjkliaison \XKcjkfullstop = {\precjkfullstop} -\XeTeXinterchartoks \XKcjkextrastop \XKcjkfullstop = {\precjkfullstop} -\XeTeXinterchartoks \XKhangulsyllable \XKcjkfullstop = {\XKmaybehanjafont\precjkfullstop} -\XeTeXinterchartoks \XKhangulchosong \XKcjkfullstop = {\XKmaybehanjafont\precjkfullstop} -\XeTeXinterchartoks \XKhanguljungjong \XKcjkfullstop = {\XKmaybehanjafont\precjkfullstop} +\XeTeXinterchartoks \XKcjkliaison \XKcjkfullstop = {\XKcjkcharboxstop\precjkfullstop} +\XeTeXinterchartoks \XKcjkextrastop \XKcjkfullstop = {\XKcjkcharboxstop\precjkfullstop} +\XeTeXinterchartoks \XKhangulsyllable \XKcjkfullstop = {\XKcjkcharboxstop\XKmaybehanjafont\precjkfullstop} +\XeTeXinterchartoks \XKhangulchosong \XKcjkfullstop = {\XKcjkcharboxstop\XKmaybehanjafont\precjkfullstop} +\XeTeXinterchartoks \XKhanguljungjong \XKcjkfullstop = {\XKcjkcharboxstop\XKmaybehanjafont\precjkfullstop} \XeTeXinterchartoks \XKlatinfullstop \XKcjkfullstop = {\XKperiodboxstop\XKmaybehanjafont\precjkfullstop} \XeTeXinterchartoks \XKlatinquestion \XKcjkfullstop = {\XKquestionboxstop\XKmaybehanjafont\precjkfullstop} \XeTeXinterchartoks \XKlatinexclamation \XKcjkfullstop = {\XKexclamationboxstop\XKmaybehanjafont\precjkfullstop} @@ -1014,117 +1024,114 @@ \XeTeXinterchartoks \XKboundary \XKcjkfullstop = {\XKmaybehanjafont\XKbeginboundary\precjkfullstop} %%% ? cjk liaison -\XeTeXinterchartoks \XKlatinchar \XKcjkliaison = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinnumber \XKcjkliaison = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinopening \XKcjkliaison = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinclosing \XKcjkliaison = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKopeningquote \XKcjkliaison = {\XKopeningquotestop\XKmaybehanjafont} -\XeTeXinterchartoks \XKclosingquote \XKcjkliaison = {\XKclosingquotestop\XKmaybehanjafont} -\XeTeXinterchartoks \XKhanja \XKcjkliaison = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKsmallkana \XKcjkliaison = {\XKmaybehanjafont} +\XeTeXinterchartoks \XKlatinchar \XKcjkliaison = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinnumber \XKcjkliaison = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinopening \XKcjkliaison = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinclosing \XKcjkliaison = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKopeningquote \XKcjkliaison = {\XKopeningquotestop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKclosingquote \XKcjkliaison = {\XKclosingquotestop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKhanja \XKcjkliaison = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKsmallkana \XKcjkliaison = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} %\XeTeXinterchartoks \XKcjksymbol \XKcjkliaison = {} -\XeTeXinterchartoks \XKcjkopening \XKcjkliaison = {\postcjkopenparen} -\XeTeXinterchartoks \XKcjkclosing \XKcjkliaison = {\postcjkcloseparen\nobreak\XKhalfsmallbreak} -\XeTeXinterchartoks \XKcjkcolon \XKcjkliaison = {\postcjkcolon\nobreak\XKquatersmallbreak} -\XeTeXinterchartoks \XKcjkfullstop \XKcjkliaison = {\postcjkfullstop\nobreak\XKfixedhalfskip} +\XeTeXinterchartoks \XKcjkopening \XKcjkliaison = {\postcjkopenparen\XKcjkcharboxstart} +\XeTeXinterchartoks \XKcjkclosing \XKcjkliaison = {\postcjkcloseparen\XKnobreak\XKhalfsmallbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKcjkcolon \XKcjkliaison = {\postcjkcolon\XKnobreak\XKquatersmallbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKcjkfullstop \XKcjkliaison = {\postcjkfullstop\XKnobreak\XKfixedhalfskip\XKcjkcharboxstart} %\XeTeXinterchartoks \XKcjkliaison \XKcjkliaison = {} %\XeTeXinterchartoks \XKcjkextrastop \XKcjkliaison = {} -\XeTeXinterchartoks \XKhangulsyllable \XKcjkliaison = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKhangulchosong \XKcjkliaison = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKhanguljungjong \XKcjkliaison = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinfullstop \XKcjkliaison = {\XKperiodboxstop\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinquestion \XKcjkliaison = {\XKquestionboxstop\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinexclamation \XKcjkliaison = {\XKexclamationboxstop\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatincomma \XKcjkliaison = {\XKcommaboxstop\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatincolon \XKcjkliaison = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinhyphen \XKcjkliaison = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKboundary \XKcjkliaison = {\XKmaybehanjafont\XKbeginboundary} +\XeTeXinterchartoks \XKhangulsyllable \XKcjkliaison = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKhangulchosong \XKcjkliaison = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKhanguljungjong \XKcjkliaison = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinfullstop \XKcjkliaison = {\XKperiodboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinquestion \XKcjkliaison = {\XKquestionboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinexclamation \XKcjkliaison = {\XKexclamationboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatincomma \XKcjkliaison = {\XKcommaboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatincolon \XKcjkliaison = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinhyphen \XKcjkliaison = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKboundary \XKcjkliaison = {\XKmaybehanjafont\XKbeginboundary\XKcjkcharboxstart} %%% ? cjk quesiton/exclamation -\XeTeXinterchartoks \XKlatinchar \XKcjkextrastop = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinnumber \XKcjkextrastop = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinopening \XKcjkextrastop = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinclosing \XKcjkextrastop = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKopeningquote \XKcjkextrastop = {\XKopeningquotestop\XKmaybehanjafont} -\XeTeXinterchartoks \XKclosingquote \XKcjkextrastop = {\XKclosingquotestop\XKmaybehanjafont} -\XeTeXinterchartoks \XKhanja \XKcjkextrastop = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKsmallkana \XKcjkextrastop = {\XKmaybehanjafont} +\XeTeXinterchartoks \XKlatinchar \XKcjkextrastop = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinnumber \XKcjkextrastop = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinopening \XKcjkextrastop = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinclosing \XKcjkextrastop = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKopeningquote \XKcjkextrastop = {\XKopeningquotestop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKclosingquote \XKcjkextrastop = {\XKclosingquotestop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKhanja \XKcjkextrastop = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKsmallkana \XKcjkextrastop = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} %\XeTeXinterchartoks \XKcjksymbol \XKcjkextrastop = {} -\XeTeXinterchartoks \XKcjkopening \XKcjkextrastop = {\postcjkopenparen} -\XeTeXinterchartoks \XKcjkclosing \XKcjkextrastop = {\postcjkcloseparen\nobreak\XKhalfsmallbreak} -\XeTeXinterchartoks \XKcjkcolon \XKcjkextrastop = {\postcjkcolon\nobreak\XKquatersmallbreak} -\XeTeXinterchartoks \XKcjkfullstop \XKcjkextrastop = {\postcjkfullstop\nobreak\XKfixedhalfskip} +\XeTeXinterchartoks \XKcjkopening \XKcjkextrastop = {\postcjkopenparen\XKcjkcharboxstart} +\XeTeXinterchartoks \XKcjkclosing \XKcjkextrastop = {\postcjkcloseparen\XKnobreak\XKhalfsmallbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKcjkcolon \XKcjkextrastop = {\postcjkcolon\XKnobreak\XKquatersmallbreak\XKcjkcharboxstart} +\XeTeXinterchartoks \XKcjkfullstop \XKcjkextrastop = {\postcjkfullstop\XKnobreak\XKfixedhalfskip\XKcjkcharboxstart} %\XeTeXinterchartoks \XKcjkliaison \XKcjkextrastop = {} %\XeTeXinterchartoks \XKcjkextrastop \XKcjkextrastop = {} -\XeTeXinterchartoks \XKhangulsyllable \XKcjkextrastop = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKhangulchosong \XKcjkextrastop = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKhanguljungjong \XKcjkextrastop = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinfullstop \XKcjkextrastop = {\XKperiodboxstop\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinquestion \XKcjkextrastop = {\XKquestionboxstop\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinexclamation \XKcjkextrastop = {\XKexclamationboxstop\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatincomma \XKcjkextrastop = {\XKcommaboxstop\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatincolon \XKcjkextrastop = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKlatinhyphen \XKcjkextrastop = {\XKmaybehanjafont} -\XeTeXinterchartoks \XKboundary \XKcjkextrastop = {\XKmaybehanjafont\XKbeginboundary} - +\XeTeXinterchartoks \XKhangulsyllable \XKcjkextrastop = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKhangulchosong \XKcjkextrastop = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKhanguljungjong \XKcjkextrastop = {\XKcjkcharboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinfullstop \XKcjkextrastop = {\XKperiodboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinquestion \XKcjkextrastop = {\XKquestionboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinexclamation \XKcjkextrastop = {\XKexclamationboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatincomma \XKcjkextrastop = {\XKcommaboxstop\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatincolon \XKcjkextrastop = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKlatinhyphen \XKcjkextrastop = {\XKmaybehanjafont\XKcjkcharboxstart} +\XeTeXinterchartoks \XKboundary \XKcjkextrastop = {\XKmaybehanjafont\XKbeginboundary\XKcjkcharboxstart} + + +\let\XKnobreak\nobreak %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%% font setting \def\XKlatinfont{\ifcase\XKcurrentfont\else\XK@latinfont\fi} \def\XKhangulfont - {\ifcase\XKcurrentfont\XKstoreprevfont\XK@hangulfont\or\or\XK@hangulfont\fi} + {\ifcase\XKcurrentfont\XK@storeprevfont\XK@hangulfont\or\or\XK@hangulfont\fi} \def\XKhanjafont - {\ifcase\XKcurrentfont\XKstoreprevfont\XK@hanjafont\or\XK@hanjafont\fi} -\def\XK@latinfont {\chardef\XKcurrentfont\z@\XKrestoreprevfont} + {\ifcase\XKcurrentfont\XK@storeprevfont\XK@hanjafont\or\XK@hanjafont\fi} +\def\XK@latinfont {\chardef\XKcurrentfont\z@\XKprevfont} \def\XK@hangulfont{\chardef\XKcurrentfont\@ne\hangfnt} \def\XK@hanjafont {\chardef\XKcurrentfont\tw@\hanifnt} -\chardef\XKcurrentfont\z@ - -\ifcsname selectfont\endcsname - \def\XKstoreprevfont {\edef\XKprevfont{\f@family}} - \def\XKrestoreprevfont{\fontfamily\XKprevfont\selectfont} -\else - \def\XKstoreprevfont{\edef\XKrestoreprevfont{\the\font}} -\fi - -\protected\def\latincjksymbols {\let\XKmaybehanjafont\XKlatinfont} -\protected\def\hangulcjksymbols {\let\XKmaybehanjafont\XKhangulfont} -\protected\def\hanjacjksymbols {\let\XKmaybehanjafont\XKhanjafont} -\protected\def\prevfontcjksymbols {\let\XKmaybehanjafont\empty} - -\protected\def\latinalphs {\let\XKmaybelatinfont\XKlatinfont} -\protected\def\hangulalphs {\let\XKmaybelatinfont\XKhangulfont} -\protected\def\hanjaalphs {\let\XKmaybelatinfont\XKhanjafont} -\protected\def\prevfontalphs{\let\XKmaybelatinfont\empty} - -\protected\def\latinnums {\let\XKlatinnumfont\XKlatinfont} -\protected\def\hangulnums {\let\XKlatinnumfont\XKhangulfont} -\protected\def\hanjanums {\let\XKlatinnumfont\XKhanjafont} -\protected\def\prevfontnums {\let\XKlatinnumfont\empty} - -\protected\def\latinparens {\let\XKlatinparenfont\XKlatinfont} -\protected\def\hangulparens {\let\XKlatinparenfont\XKhangulfont} -\protected\def\hanjaparens {\let\XKlatinparenfont\XKhanjafont} -\protected\def\prevfontparens{\let\XKlatinparenfont\empty} - -\protected\def\latinquotes {\let\XKlatinquotefont\XKlatinfont} -\protected\def\hangulquotes {\let\XKlatinquotefont\XKhangulfont} -\protected\def\hanjaquotes {\let\XKlatinquotefont\XKhanjafont} -\protected\def\prevfontquotes{\let\XKlatinquotefont\empty} - -\protected\def\latinhyphens {\let\XKhyphenfont\XKlatinfont} -\protected\def\hangulhyphens {\let\XKhyphenfont\XKhangulfont} -\protected\def\hanjahyphens {\let\XKhyphenfont\XKhanjafont} -\protected\def\prevfonthyphens {\let\XKhyphenfont\empty} - -\protected\def\latincolons {\let\XKcolonfont\XKlatinfont} -\protected\def\hangulcolons {\let\XKcolonfont\XKhangulfont} -\protected\def\hanjacolons {\let\XKcolonfont\XKhanjafont} -\protected\def\prevfontcolons {\let\XKcolonfont\empty} - -\protected\def\latinpuncts {\let\XKpunctsfont\XKlatinfont} -\protected\def\hangulpuncts {\let\XKpunctsfont\XKhangulfont} -\protected\def\hanjapuncts {\let\XKpunctsfont\XKhanjafont} -\protected\def\prevfontpuncts {\let\XKpunctsfont\empty} +\def\XK@storeprevfont{\edef\XKprevfont{\the\font}} +\let\XKstoreprevfont\XKlatinfont +\chardef\XKcurrentfont\z@ \XK@storeprevfont + +\protected\def\latincjksymbols {\def\XKmaybehanjafont{\XKlatinfont}} +\protected\def\hangulcjksymbols {\def\XKmaybehanjafont{\XKhangulfont}} +\protected\def\hanjacjksymbols {\def\XKmaybehanjafont{\XKhanjafont}} +\protected\def\prevfontcjksymbols{\def\XKmaybehanjafont{\empty}} + +\protected\def\latinalphs {\def\XKmaybelatinfont{\XKlatinfont}} +\protected\def\hangulalphs {\def\XKmaybelatinfont{\XKhangulfont}} +\protected\def\hanjaalphs {\def\XKmaybelatinfont{\XKhanjafont}} +\protected\def\prevfontalphs{\def\XKmaybelatinfont{\empty}} + +\protected\def\latinnums {\def\XKlatinnumfont{\XKlatinfont}} +\protected\def\hangulnums {\def\XKlatinnumfont{\XKhangulfont}} +\protected\def\hanjanums {\def\XKlatinnumfont{\XKhanjafont}} +\protected\def\prevfontnums{\def\XKlatinnumfont{\empty}} + +\protected\def\latinparens {\def\XKlatinparenfont{\XKlatinfont}} +\protected\def\hangulparens {\def\XKlatinparenfont{\XKhangulfont}} +\protected\def\hanjaparens {\def\XKlatinparenfont{\XKhanjafont}} +\protected\def\prevfontparens{\def\XKlatinparenfont{\empty}} + +\protected\def\latinquotes {\def\XKlatinquotefont{\XKlatinfont}} +\protected\def\hangulquotes {\def\XKlatinquotefont{\XKhangulfont}} +\protected\def\hanjaquotes {\def\XKlatinquotefont{\XKhanjafont}} +\protected\def\prevfontquotes{\def\XKlatinquotefont{\empty}} + +\protected\def\latinhyphens {\def\XKhyphenfont{\XKlatinfont}} +\protected\def\hangulhyphens {\def\XKhyphenfont{\XKhangulfont}} +\protected\def\hanjahyphens {\def\XKhyphenfont{\XKhanjafont}} +\protected\def\prevfonthyphens{\def\XKhyphenfont{\empty}} + +\protected\def\latincolons {\def\XKcolonfont{\XKlatinfont}} +\protected\def\hangulcolons {\def\XKcolonfont{\XKhangulfont}} +\protected\def\hanjacolons {\def\XKcolonfont{\XKhanjafont}} +\protected\def\prevfontcolons{\def\XKcolonfont{\empty}} + +\protected\def\latinpuncts {\def\XKpunctsfont{\XKlatinfont}} +\protected\def\hangulpuncts {\def\XKpunctsfont{\XKhangulfont}} +\protected\def\hanjapuncts {\def\XKpunctsfont{\XKhanjafont}} +\protected\def\prevfontpuncts{\def\XKpunctsfont{\empty}} \protected\def\latinmarks {\latinalphs \latinnums \latinpuncts \latinquotes @@ -1141,7 +1148,6 @@ \latinmarks \prevfontpuncts % empty default font in case of latin . , ? ! -\prevfonthyphens % empty default font in case of hyphens \prevfontcolons % empty default font in case of latin ; : \hangulcjksymbols % cjk symbols in hangul font @@ -1150,30 +1156,31 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % options regarding micro-spacing -\def\xetexkohu {0.06em } -\def\xetexkointerhchar {} -\def\xetexkolowerperiod {} -\def\xetexkolowerquestion {} -\def\xetexkolowerexclamation{} -\def\xetexkolowercomma {} -\def\xetexkopreperiodkern {} -\def\xetexkopostperiodkern {} -\def\xetexkoprequestionkern {} -\def\xetexkopostquestionkern{} -\def\xetexkopreexclamationkern {} -\def\xetexkopostexclamationkern{} -\def\xetexkoprecommakern {} -\def\xetexkopostcommakern {} -\def\xetexkoquotewidth {} -\def\xetexkoquoteraise {} -\def\xetexkopostmathskip{\dimexpr (\xetexkohu + \z@) * \tw@\relax} +\def\xetexkohu {0.06em } +\def\xetexkointerhchar {} +\def\xetexkolowerperiod {} +\def\xetexkolowerquestion {} +\def\xetexkolowerexclamation {} +\def\xetexkolowercomma {} +\def\xetexkopreperiodkern {} +\def\xetexkopostperiodkern {} +\def\xetexkoprequestionkern {} +\def\xetexkopostquestionkern {} +\def\xetexkopreexclamationkern {} +\def\xetexkopostexclamationkern {} +\def\xetexkoprecommakern {} +\def\xetexkopostcommakern {} +\def\xetexkoquotewidth {} +\def\xetexkoquoteraise {} +\def\xetexkocharraise {} +\def\xetexkopostmathskip {\dimexpr (\xetexkohu + \z@) * \tw@\relax} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % `` '' or ` ' \def\XKopeningquotestart{% \chardef\XK@make@quotebox\z@ - \ifx\empty\xetexkoquotewidth\empty - \ifx\empty\xetexkoquoteraise\empty \else + \ifx\empty\xetexkoquotewidth + \ifx\empty\xetexkoquoteraise \else \chardef\XK@make@quotebox\tw@ \fi \else @@ -1194,8 +1201,8 @@ } \def\XKclosingquotestart{% \chardef\XK@make@quotebox\z@ - \ifx\empty\xetexkoquotewidth\empty - \ifx\empty\xetexkoquoteraise\empty \else + \ifx\empty\xetexkoquotewidth + \ifx\empty\xetexkoquoteraise \else \chardef\XK@make@quotebox\tw@ \fi \else @@ -1224,14 +1231,14 @@ \def\XKperiodboxstart{% . \ifnum\XK@after@cjk@punct>\z@ - \ifx\empty\xetexkolowerperiod\empty + \ifx\empty\xetexkolowerperiod \else \leavevmode\lower\xetexkolowerperiod\hbox\bgroup \chardef\XK@inpunctuationbox\@ne \fi \fi \ifnum\XKcurrentfont>\z@ - \ifx\empty\xetexkopreperiodkern\empty + \ifx\empty\xetexkopreperiodkern \else \kern\xetexkopreperiodkern\relax \fi @@ -1239,7 +1246,7 @@ } \def\XKperiodboxstop{% \ifnum\XKcurrentfont>\z@ - \ifx\empty\xetexkopostperiodkern\empty + \ifx\empty\xetexkopostperiodkern \else \vrule width\xetexkopostperiodkern height\z@ depth\z@ \fi @@ -1251,14 +1258,14 @@ \def\XKquestionboxstart{% ? \ifnum\XK@after@cjk@punct>\z@ - \ifx\empty\xetexkolowerquestion\empty + \ifx\empty\xetexkolowerquestion \else \leavevmode\lower\xetexkolowerquestion\hbox\bgroup \chardef\XK@inpunctuationbox\@ne \fi \fi \ifnum\XKcurrentfont>\z@ - \ifx\empty\xetexkoprequestionkern\empty + \ifx\empty\xetexkoprequestionkern \else \kern\xetexkoprequestionkern\relax \fi @@ -1266,7 +1273,7 @@ } \def\XKquestionboxstop{% \ifnum\XKcurrentfont>\z@ - \ifx\empty\xetexkopostquestionkern\empty + \ifx\empty\xetexkopostquestionkern \else \vrule width\xetexkopostquestionkern height\z@ depth\z@ \fi @@ -1278,14 +1285,14 @@ \def\XKexclamationboxstart{% ! \ifnum\XK@after@cjk@punct>\z@ - \ifx\empty\xetexkolowerexclamation\empty + \ifx\empty\xetexkolowerexclamation \else \leavevmode\lower\xetexkolowerexclamation\hbox\bgroup \chardef\XK@inpunctuationbox\@ne \fi \fi \ifnum\XKcurrentfont>\z@ - \ifx\empty\xetexkopreexclamationkern\empty + \ifx\empty\xetexkopreexclamationkern \else \kern\xetexkopreexclamationkern\relax \fi @@ -1293,7 +1300,7 @@ } \def\XKexclamationboxstop{% \ifnum\XKcurrentfont>\z@ - \ifx\empty\xetexkopostexclamationkern\empty + \ifx\empty\xetexkopostexclamationkern \else \vrule width\xetexkopostexclamationkern height\z@ depth\z@ \fi @@ -1305,14 +1312,14 @@ \def\XKcommaboxstart{% , \ifnum\XK@after@cjk@punct>\z@ - \ifx\empty\xetexkolowercomma\empty + \ifx\empty\xetexkolowercomma \else \leavevmode\lower\xetexkolowercomma\hbox\bgroup \chardef\XK@inpunctuationbox\@ne \fi \fi \ifnum\XKcurrentfont>\z@ - \ifx\empty\xetexkoprecommakern\empty + \ifx\empty\xetexkoprecommakern \else \kern\xetexkoprecommakern\relax \fi @@ -1320,7 +1327,7 @@ } \def\XKcommaboxstop{% \ifnum\XKcurrentfont>\z@ - \ifx\empty\xetexkopostcommakern\empty + \ifx\empty\xetexkopostcommakern \else \vrule width\xetexkopostcommakern height\z@ depth\z@ \fi @@ -1339,7 +1346,9 @@ \dimen@\XeTeXglyphbounds\@ne\XeTeXcharglyph\count@ \dimen@\dimexpr\fontcharwd\font\count@-\dimen@\relax \ifdim\dimen@<.5em \dimen@.5em \else\advance\dimen@.1em \fi - \leavevmode\hbox to\dimen@\bgroup\hss + \leavevmode + \ifx\empty\xetexkocharraise\else\raise\xetexkocharraise\fi + \hbox to\dimen@\bgroup\hss \XeTeXinterchartoks\XKboundary\XKcjkopening = {\empty}} \def\postcjkopenparen{\egroup} @@ -1349,7 +1358,9 @@ \dimen@\XeTeXglyphbounds\thr@@\XeTeXcharglyph\count@ \dimen@\dimexpr\fontcharwd\font\count@-\dimen@\relax \ifdim\dimen@<.5em \dimen@.5em \else\advance\dimen@.1em \fi - \leavevmode\hbox to\dimen@\bgroup + \leavevmode + \ifx\empty\xetexkocharraise\else\raise\xetexkocharraise\fi + \hbox to\dimen@\bgroup \XeTeXinterchartoks\XKboundary\XKcjkclosing = {\empty}} \def\postcjkcloseparen{\hss\egroup} @@ -1359,30 +1370,35 @@ \dimen@\XeTeXglyphbounds\thr@@\XeTeXcharglyph\count@ \dimen@\dimexpr\fontcharwd\font\count@-\dimen@\relax \ifdim\dimen@<.5em \dimen@.5em \else\advance\dimen@.1em \fi - \leavevmode\hbox to\dimen@\bgroup + \leavevmode + \ifx\empty\xetexkocharraise\else\raise\xetexkocharraise\fi + \hbox to\dimen@\bgroup \XeTeXinterchartoks\XKboundary\XKcjkfullstop = {\empty}} \def\postcjkfullstop{\hss\egroup} -\def\precjkcolon {\leavevmode\hbox to 0.5em\bgroup\hss} +\def\precjkcolon {\leavevmode + \ifx\empty\xetexkocharraise\else\raise\xetexkocharraise\fi + \hbox to 0.5em\bgroup\hss} \def\postcjkcolon{\hss\egroup} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % various spaces -\def\XKzeroskip {\hskip\z@ plus .1em minus .1ex } +\def\XKskipstretchshrink {plus .0625em minus .0625ex} +\def\XKzeroskip {\hskip\z@\XKskipstretchshrink} \def\XKsmallskip - {\hskip\dimexpr (\xetexkohu + \z@) * \tw@ \relax plus .1ex minus .05ex } + {\hskip\dimexpr (\xetexkohu + \z@) * \tw@ \relax \XKskipstretchshrink} \def\XKsmallsmallskip - {\hskip\dimexpr \xetexkohu + \z@ \relax plus .1ex minus .05ex } -\def\XKxkanjiskip {\hskip0.25em plus0.15em minus0.06em } -\def\XKhalfskip {\hskip0.5em minus 0.5em } -\def\XKfixedhalfskip {\hskip0.5em\relax} -\def\XKquaterskip {\hskip0.25em minus 0.25em } -\def\XKhalfminusquaterskip {\hskip0.5em minus 0.25em } -\def\XKthreequaterskip {\hskip0.75em minus 0.25em } + {\hskip\dimexpr \xetexkohu + \z@ \relax \XKskipstretchshrink} +\def\XKxkanjiskip {\hskip0.25em plus0.15em minus0.06em } +\def\XKhalfskip {\hskip0.5em minus 0.5em } +\def\XKfixedhalfskip {\hskip0.5em\relax} +\def\XKquaterskip {\hskip0.25em minus 0.25em } +\def\XKhalfminusquaterskip {\hskip0.5em minus 0.25em } +\def\XKthreequaterskip {\hskip0.75em minus 0.25em } \def\XKinterhangulbreak {\ifcjtypeset\else\penalty50 \fi - \hskip\dimexpr\xetexkointerhchar + \z@\relax plus .1ex minus .05ex } + \hskip\dimexpr\xetexkointerhchar + \z@\relax \XKskipstretchshrink} \def\XKinterhanjabreak {\ifcjtypeset\else\penalty50 \fi \XKzeroskip} \def\XKcjklatinbreak {\ifcjtypeset\XKxkanjiskip\else\XKsmallskip\fi} \def\XKcjklatinsmallbreak {\ifcjtypeset\XKxkanjiskip\else\XKsmallsmallskip\fi} @@ -1392,7 +1408,8 @@ \def\XKafterboundaryskip{% \ifcase\lastnodetype \or \XKzeroskip % 1. hbox: especially after indent box - \or\or\or\or\or\or\or + \or \XKzeroskip % 2. vbox + \or\or\or\or\or\or \or \XKzeroskip % 9. whatsit \or \XKcjkmathbreak % 10. math \or @@ -1401,7 +1418,23 @@ %% users can redefine XKcjkmathbreak \def\XKcjkmathbreak{% \ifcjtypeset\XKxkanjiskip - \else\hskip\xetexkopostmathskip plus .1ex minus .05ex \fi} + \else\hskip\xetexkopostmathskip\XKskipstretchshrink\fi} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% everyhangul/everyhanja +%%% request from karnes at 2013.11.18 +\def\everyhanja#1{% + \def\XK@every@hanja##1{#1}% + \let\XKcjkcharboxstart\empty + \let\XKcjkcharboxstop\empty % conflict w. everyhanja +} +\everyhanja{#1} +\def\everyhangul#1{% + \def\XK@every@hangul##1{#1}% + \let\XKcjkcharboxstart\empty + \let\XKcjkcharboxstop\empty % conflict w. everyhangul +} +\everyhangul{#1} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% for autojosa, get last chars @@ -1415,69 +1448,84 @@ \global\let\XK@lastlast@char \XK@last@char \global\let\XK@last@char \@let@token } -\def\XKcjklastchar{\afterassignment\XK@cjk@save@last@char\let\@let@token= } -\def\XK@cjk@save@last@char{% - \XK@save@last@char + +\def\XK@fallback@hanja@font@family#1{% + \iffontchar\font`#1\else + \ifdefined\fallbackhanjafont + \fallbackhanjafont + \fi + \fi +} + +\def\XKhanjalastchar#1{% + \let\@let@token#1\XK@save@last@char + % fallbackhanjafont for, say, HanaMinB + \XK@fallback@hanja@font@family{#1}% + \XK@every@hanja{#1}% everyhanja +} + +\def\XKcjklastchar#1{% + \let\@let@token#1\XK@save@last@char % and supress char orphan - \toks@{\@let@token}% 가 - \afterassignment\XK@check@nextchar\let\XK@next@= + \toks@{\XK@every@hangul{#1}}% everyhangul 가 + \XK@futurelet@let@token } -\def\XK@check@nextchar{% 가<par> 가. 가。 가<sp> - \toks@\expandafter{\the\toks@\XK@next@}% - \ifx\XK@next@\par +\def\XK@check@next@char{% + \ifx\par\@let@token \let\next\XK@nobreak@the@toks@ - \else\ifx\@sptoken\XK@next@ - \let\next\XK@afterassign@getnext@ - \else\ifx.\XK@next@ - \let\next\XK@afterassign@getnext@ - \else\ifx^^^^3002\XK@next@ - \let\next\XK@afterassign@getnext@ - \else\ifx^^^^ff0e\XK@next@ - \let\next\XK@afterassign@getnext@ + \else\ifx\@sptoken\@let@token + \toks@\expandafter{\the\toks@\@sptoken}% + \let\next\XK@afterassign@let@token + \else\ifx.\@let@token + \toks@\expandafter{\the\toks@ .}% + \let\next\XK@afterassign@let@token + \else\ifx^^^^3002\@let@token + \toks@\expandafter{\the\toks@^^^^3002}% + \let\next\XK@afterassign@let@token + \else\ifx^^^^ff0e\@let@token + \toks@\expandafter{\the\toks@^^^^ff0e}% + \let\next\XK@afterassign@let@token \else \let\next\XK@normal@the@toks@ \fi\fi\fi\fi\fi \next } -\def\XK@check@nextchar@{% 가.<par> 가.<sp> - \toks@\expandafter{\the\toks@\XK@next@@}% - \ifx\XK@next@@\par - \expandafter\XK@nobreak@the@toks@ - \else - \ifx\XK@next@@\@sptoken - \expandafter\expandafter\expandafter\futurelet - \expandafter\expandafter\expandafter\XK@next@@@ - \expandafter\expandafter\expandafter\XK@check@nextchar@@ - \else - \expandafter\expandafter\expandafter\XK@normal@the@toks@ - \fi - \fi -} -\def\XK@check@nextchar@@{% 가.<sp><par> - \ifx\XK@next@@@\par\XK@nobreak\fi \the\toks@ -} -\def\XK@afterassign@getnext@{% - \afterassignment\XK@check@nextchar@\let\XK@next@@= -} +\def\XK@afterassign@let@token{\afterassignment\XK@futurelet@let@token\let\@let@token= } +\def\XK@futurelet@let@token{\futurelet\@let@token\XK@check@next@char} \def\XK@normal@the@toks@{\the\toks@} \def\XK@nobreak@the@toks@{\XK@nobreak\the\toks@} \def\XK@nobreak{\skip@\lastskip\unskip\unpenalty\nobreak\hskip\skip@} \def\XKbeginboundary{% empty interchartoks crashes xetex!!! - \XeTeXinterchartoks\XKboundary\XKlatinnumber = {\empty}% - \XeTeXinterchartoks\XKboundary\XKlatinchar = {\empty}% - \XeTeXinterchartoks\XKboundary\XKhanja = {\empty}% - \XeTeXinterchartoks\XKboundary\XKhangulsyllable = {\empty}% - \XeTeXinterchartoks\XKboundary\XKhanguljungjong = {\empty}% - \XeTeXinterchartoks\XKboundary\XKhangulchosong = {\empty}% + \global\XeTeXinterchartoks\XKboundary\XKlatinnumber = {\empty}% + \global\XeTeXinterchartoks\XKboundary\XKlatinchar = {\empty}% + \global\XeTeXinterchartoks\XKboundary\XKhanja = {\empty}% + \global\XeTeXinterchartoks\XKboundary\XKsmallkana = {\empty}% + \global\XeTeXinterchartoks\XKboundary\XKhangulsyllable = {\empty}% + \global\XeTeXinterchartoks\XKboundary\XKhanguljungjong = {\empty}% + \global\XeTeXinterchartoks\XKboundary\XKhangulchosong = {\empty}% } \def\XKendboundary{% - \XeTeXinterchartoks\XKboundary\XKlatinnumber = {\XKundoignorespaces\XKlatinnumfont\XKbeginboundary\XKlastchar}% - \XeTeXinterchartoks\XKboundary\XKlatinchar = {\XKundoignorespaces\XKmaybelatinfont\XKbeginboundary\XKlastchar}% - \XeTeXinterchartoks\XKboundary\XKhanja = {\XKhanjafont\XKafterboundaryskip\XKbeginboundary\XKcjklastchar}% - \XeTeXinterchartoks\XKboundary\XKhangulsyllable = {\XKhangulfont\XKafterboundaryskip\XKbeginboundary\XKcjklastchar}% - \XeTeXinterchartoks\XKboundary\XKhanguljungjong = {\XKhangulfont\XKafterboundaryskip\XKbeginboundary\XKlastchar}% - \XeTeXinterchartoks\XKboundary\XKhangulchosong = {\XKhangulfont\XKafterboundaryskip\XKbeginboundary\XKlastchar}% + \global\XeTeXinterchartoks\XKboundary\XKlatinnumber = {\XKundoignorespaces\XKlatinnumfont \XKbeginboundary\XKlastchar}% + \global\XeTeXinterchartoks\XKboundary\XKlatinchar = {\XKundoignorespaces\XKmaybelatinfont\XKbeginboundary\XKlastchar}% + \global\XeTeXinterchartoks\XKboundary\XKhanja = {\XKhanjafont \XKafterboundaryskip\XKbeginboundary\XKcjkcharboxstart\XKhanjalastchar}% + \global\XeTeXinterchartoks\XKboundary\XKsmallkana = {\XKhanjafont \XKafterboundaryskip\XKbeginboundary\XKcjkcharboxstart\XKhanjalastchar}% + \global\XeTeXinterchartoks\XKboundary\XKhangulsyllable = {\XKhangulfont\XKafterboundaryskip\XKbeginboundary\XKcjkcharboxstart\XKcjklastchar}% + \global\XeTeXinterchartoks\XKboundary\XKhanguljungjong = {\XKhangulfont\XKafterboundaryskip\XKbeginboundary\XKcjkcharboxstart\XKlastchar}% + \global\XeTeXinterchartoks\XKboundary\XKhangulchosong = {\XKhangulfont\XKafterboundaryskip\XKbeginboundary\XKcjkcharboxstart\XKlastchar}% +} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% raise hangul/hanja box +\def\XKcjkcharboxstart{% + \ifx\empty\xetexkocharraise\else + \leavevmode\raise\xetexkocharraise\hbox\bgroup + \fi +} +\def\XKcjkcharboxstop{% + \ifx\empty\xetexkocharraise\else + \egroup + \fi } %%%%%%%%%%%%%% @@ -1492,10 +1540,7 @@ \protected\def\disableautojosa{% \disablejamoautojosa - \let\XKbeginboundary\relax - \let\XKendboundary\relax \let\XKlastchar\relax - \let\XKcjklastchar\relax \let\XK@save@last@char\relax } @@ -1504,15 +1549,16 @@ \let\XKhangulfont \relax \let\XKhanjafont \relax \let\XKmaybelatinfont \relax + \let\XKmaybehanjafont \relax \let\XKpunctsfont \relax \let\XKlatinnumfont \relax \let\XKlatinparenfont \relax \let\XKlatinquotefont \relax \let\XKhyphenfont \relax \let\XKcolonfont \relax + \let\XKstoreprevfont \relax } - \protected\def\disablecjksymbolspacing{% for natural width of 。「」 etc \let\precjkopenparen \relax \let\postcjkopenparen \relax \let\precjkcloseparen\relax \let\postcjkcloseparen\relax @@ -1529,6 +1575,7 @@ \let\XKexclamationboxstart \relax \let\XKexclamationboxstop \relax \let\XKcommaboxstart \relax \let\XKcommaboxstop \relax \let\XKwaslatinchar \relax \let\XKwascjkchar \relax + \let\XKcjkcharboxstart \relax \let\XKcjkcharboxstop \relax \let\XKinterhangulbreak \XKzeroskip \let\XKinterhanjabreak \XKzeroskip \let\XKcjklatinbreak \XKzeroskip @@ -1544,10 +1591,15 @@ } \protected\def\disablehangulspacingandlinebreak{% all micro-spacing is \relax - \let\XKzeroskip\relax + \let\XKzeroskip \relax + \let\XKnobreak \relax + \let\XKafterboundaryskip\relax + \let\XKcjklastchar \relax \disablehangulspacing } +% still remaining: XKhanjalastchar XKbeginboundary XKendboundary XKignorespaces XKundoignorespaces + %%%%%%%%%%%%%%%%%%%%%%%%%%% % for old and C/J documents \newif\ifcjtypeset @@ -1561,6 +1613,8 @@ \def\XKignorespaces{\futurelet\XK@let@token\XK@ignorespaces}% \def\XK@ignorespaces{\ifx\XK@let@token\@sptoken\kern-1sp\kern1sp\ignorespaces\fi}% \def\XKundoignorespaces{\ifnum\lastkern=\@ne\@sptoken\fi}% + %% a little bigger stretch/shrink + \def\XKskipstretchshrink{plus .1em minus .1ex}% %% cjksymbols \hanjacjksymbols %% spaceskip is equal to xkanjiskip @@ -1591,19 +1645,19 @@ %%%%%%%%%%% %% for ulem -\def\xetexkoulemsupport{% - \UL@hook\expandafter{\the\UL@hook - \let\XKcjklastchar\XKlastchar - \def\ulem@XKrestoreprevfont{\let\XKprevfont\ulem@XKprevfont}% - \let\ulem@XK@hangulfont\XK@hangulfont - \let\ulem@XK@hanjafont\XK@hanjafont - \def\XK@hangulfont{\hangfnt\global\let\ulem@XKprevfont\XKprevfont - \aftergroup\aftergroup\aftergroup\ulem@XK@hangulfont - \aftergroup\aftergroup\aftergroup\ulem@XKrestoreprevfont}% - \def\XK@hanjafont{\hanifnt\global\let\ulem@XKprevfont\XKprevfont - \aftergroup\aftergroup\aftergroup\ulem@XK@hanjafont - \aftergroup\aftergroup\aftergroup\ulem@XKrestoreprevfont}% -}} +\ifcsname selectfont\endcsname + \let\xetexkoulemsupport\relax +\else + \def\xetexkoulemsupport{% + \UL@hook\expandafter{\the\UL@hook + \let\ulem@XK@hangulfont\XK@hangulfont + \let\ulem@XK@hanjafont\XK@hanjafont + \def\XK@hangulfont{\ulem@XK@hangulfont + \aftergroup\aftergroup\aftergroup\ulem@XK@hangulfont}% + \def\XK@hanjafont{\ulem@XK@hanjafont + \aftergroup\aftergroup\aftergroup\ulem@XK@hanjafont}% + }} +\fi %%%%%%%%%% %% dotemph @@ -1618,16 +1672,20 @@ \leavevmode \begingroup \def\XKcjklastchar{\futurelet\@let@token\XK@dotemph@last@char}% + \let\XKhanjalastchar\XKcjklastchar + \let\XKcjkcharboxstart\relax + \let\XKcjkcharboxstop\relax #1\relax - \endgroup} + \endgroup +} \def\XK@dotemph@last@char{\XK@save@last@char\dot@@@emph} \def\dot@@@emph#1{% - \setbox\z@\hbox{#1}\dimen@\wd\z@ - \setbox\z@\hbox to\dimen@{\hss\dotemphchar\hss}\ht\z@\z@\dp\z@\z@ - \rlap{\raise\dotemphraise\box\z@}\nobreak - #1} + \setbox\z@\hbox{\XK@fallback@hanja@font@family{#1}#1}% + \setbox\tw@\hbox to\wd\z@{\hss\dotemphchar\hss}\ht\tw@\z@\dp\tw@\z@ + \rlap{\raise\dotemphraise\box\tw@}\box\z@ +} %%% declare to use interchartoken \XeTeXinterchartokenstate\@ne diff --git a/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty b/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty index dbd9fdc87ab..8b55e7fab44 100644 --- a/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty +++ b/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty @@ -19,12 +19,12 @@ \input xetexko-josa.sty \input xetexko-vertical.sty - % 한글 폰트 + %%% 한글 폰트 \def\hangulfont{\font\hangfnt} \def\hanjafont {\font\hanifnt} %\hangulfont="[UnBatang]:mapping=tex-text" at 10pt %\let\hanifnt\hangfnt - % 수식 한글 + %%% 수식 한글 \newfam\symmathhangul \def\setmathhangulfont#1#{\setmathhangulfont@} \def\setmathhangulfont@#1{% @@ -42,7 +42,7 @@ \expandafter\endinput \fi -\ProvidesPackage{xetexko}[2013/07/03 v2.1 Typesetting Korean with XeLaTeX] +\ProvidesPackage{xetexko}[2013/11/26 v2.2 Typesetting Korean with XeLaTeX] \newif\if@hangul \newif\if@hanja @@ -62,59 +62,59 @@ \AtBeginDocument{ % for ulem package - \ifcsname UL@hook\endcsname \xetexkoulemsupport \fi + % \ifcsname UL@hook\endcsname \xetexkoulemsupport \fi % for hyperref package \@ifpackageloaded{hyperref}{\pdfstringdefDisableCommands{% - \let\dotemph\@firstofone - \let\makejosa\@secondoftwo - \let\jong\relax - \let\jung\relax - \let\rieul\relax - \let\latinalphs\relax - \let\hangulalphs\relax - \let\hanjaalphs\relax - \let\prevfontalphs\relax - \let\latinnums\relax - \let\hangulnums\relax - \let\hanjanums\relax - \let\prevfontnums\relax - \let\latinparens\relax - \let\hangulparens\relax - \let\hanjaparens\relax - \let\prevfontparens\relax - \let\latinquotes\relax - \let\hangulquotes\relax - \let\hanjaquotes\relax - \let\prevfontquotes\relax - \let\latinpuncts\relax - \let\hangulpuncts\relax - \let\hanjapuncts\relax - \let\prevfontpuncts\relax - \let\latinmarks\relax - \let\hangulmarks\relax - \let\hanjamarks\relax - \let\prevfontmarks\relax - \let\latincolons\relax - \let\hangulcolons\relax - \let\hanjacolons\relax - \let\prevfontcolons\relax - \let\latinhyphens\relax - \let\hangulhyphens\relax - \let\hanjahyphens\relax - \let\prevfonthyphens\relax - \let\latincjksymbols\relax - \let\hangulcjksymbols\relax - \let\hanjacjksymbols\relax - \let\prevfontcjksymbols\relax - \let\disablekoreanfonts\relax - \let\disablehangulspacing\relax - \let\disablehangulspacingandlinebreak\relax - \let\disableautojosa\relax - \let\disablecjksymbolspacing\relax - \let\japanese\relax - \let\chinese\relax - \let\Tchinese\relax - \let\Schinese\relax + \let\dotemph\@firstofone + \let\makejosa\@secondoftwo + \let\jong\relax + \let\jung\relax + \let\rieul\relax + \let\latinalphs\relax + \let\hangulalphs\relax + \let\hanjaalphs\relax + \let\prevfontalphs\relax + \let\latinnums\relax + \let\hangulnums\relax + \let\hanjanums\relax + \let\prevfontnums\relax + \let\latinparens\relax + \let\hangulparens\relax + \let\hanjaparens\relax + \let\prevfontparens\relax + \let\latinquotes\relax + \let\hangulquotes\relax + \let\hanjaquotes\relax + \let\prevfontquotes\relax + \let\latinpuncts\relax + \let\hangulpuncts\relax + \let\hanjapuncts\relax + \let\prevfontpuncts\relax + \let\latinmarks\relax + \let\hangulmarks\relax + \let\hanjamarks\relax + \let\prevfontmarks\relax + \let\latincolons\relax + \let\hangulcolons\relax + \let\hanjacolons\relax + \let\prevfontcolons\relax + \let\latinhyphens\relax + \let\hangulhyphens\relax + \let\hanjahyphens\relax + \let\prevfonthyphens\relax + \let\latincjksymbols\relax + \let\hangulcjksymbols\relax + \let\hanjacjksymbols\relax + \let\prevfontcjksymbols\relax + \let\disablekoreanfonts\relax + \let\disablehangulspacing\relax + \let\disablehangulspacingandlinebreak\relax + \let\disableautojosa\relax + \let\disablecjksymbolspacing\relax + \let\japanese\relax + \let\chinese\relax + \let\Tchinese\relax + \let\Schinese\relax }}{} } |