diff options
-rw-r--r-- | Master/texmf-dist/doc/xetex/xetexko/ChangeLog | 23 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xetex/xetexko/README | 96 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.pdf | bin | 287841 -> 223347 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex | 217 | ||||
-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 |
9 files changed, 989 insertions, 934 deletions
diff --git a/Master/texmf-dist/doc/xetex/xetexko/ChangeLog b/Master/texmf-dist/doc/xetex/xetexko/ChangeLog index 8937d083ca1..e0797371d48 100644 --- a/Master/texmf-dist/doc/xetex/xetexko/ChangeLog +++ b/Master/texmf-dist/doc/xetex/xetexko/ChangeLog @@ -1,12 +1,27 @@ +2013-12-06 Dohyun Kim <nomos at ktug org> + + Version 2.2 + + * xetexko-space.sty: \latinhyphens is now the default + * xetexko-hanging.sty: \hangingpunctuations is not needed any more + * xetexko-space.sty: assign missing kana chars including U+30FC to + smallkana class + * xetexko-space.sty: assign compatibility jamo chars to hangulsyllable + class + * xetexko-space.sty: new macros \everyhangul and \everyhanja + * xetexko-space.sty: same stretch/shrink value for inter-hangul and + inter-hanja skip + * xetexko-font.sty xetexko-space.sty: new font option `charraise' + * xetexko-space.sty: \fallbackhanjafont as a final fallback font + * xetexko-josa.sty: fix a bug regarding non-BMP chars + 2013-07-03 Dohyun Kim <nomos at ktug org> Version 2.1 * xetexko.sty: move Hangul caption setting to AtBeginDocument - - * xetexko-space.sty, xetexko-doc.tex: new macro - \disablejamoautojosa, needed for teckit mapping of Jamos. - + * xetexko-space.sty: new macro \disablejamoautojosa, needed for teckit + mapping of Jamos. * xetexko-vertical.sty: \verticaltypesetting for plain tex was missing. diff --git a/Master/texmf-dist/doc/xetex/xetexko/README b/Master/texmf-dist/doc/xetex/xetexko/README index a8b0b584f33..fa5b1067e5f 100644 --- a/Master/texmf-dist/doc/xetex/xetexko/README +++ b/Master/texmf-dist/doc/xetex/xetexko/README @@ -1,5 +1,5 @@ -XeTeX-ko Package version 2.1 (2013/07/03) +XeTeX-ko Package version 2.2 (2013/12/06) ========================================= XeTeX-ko is a macro package for Xe(La)TeX which supports typesetting @@ -24,9 +24,9 @@ See each file for details. Author ------ Please report any errors or suggestions to - Dohyun Kim <nomos at ktug org> + Dohyun Kim <nomos at ktug org> or leave messages in the issue tracker at: - <http://github.com/dohyunkim/xetexko> + <http://github.com/dohyunkim/xetexko> Files @@ -34,51 +34,51 @@ Files ### TeXinputs - xetexko.sty -> tex/xetex/xetexko/ - xetexko-font.sty -> tex/xetex/xetexko/ - xetexko-hanging.sty -> tex/xetex/xetexko/ - xetexko-josa.sty -> tex/xetex/xetexko/ - xetexko-space.sty -> tex/xetex/xetexko/ - xetexko-vertical.sty -> tex/xetex/xetexko/ - hanja_hangul.tab -> tex/xetex/xetexko/ - hanjacom_hangul.tab -> tex/xetex/xetexko/ - hanjaexa_hangul.tab -> tex/xetex/xetexko/ + xetexko.sty -> tex/xetex/xetexko/ + xetexko-font.sty -> tex/xetex/xetexko/ + xetexko-hanging.sty -> tex/xetex/xetexko/ + xetexko-josa.sty -> tex/xetex/xetexko/ + xetexko-space.sty -> tex/xetex/xetexko/ + xetexko-vertical.sty -> tex/xetex/xetexko/ + hanja_hangul.tab -> tex/xetex/xetexko/ + hanjacom_hangul.tab -> tex/xetex/xetexko/ + hanjaexa_hangul.tab -> tex/xetex/xetexko/ ### Documents - xetexko-doc.pdf -> doc/xetex/xetexko/ - xetexko-doc.tex -> doc/xetex/xetexko/ - README (this file) -> doc/xetex/xetexko/ - ChangeLog -> doc/xetex/xetexko/ + xetexko-doc.pdf -> doc/xetex/xetexko/ + xetexko-doc.tex -> doc/xetex/xetexko/ + README (this file) -> doc/xetex/xetexko/ + ChangeLog -> doc/xetex/xetexko/ Loading ------- If you are a LaTeX user, declaring - \usepackage{xetexko} + \usepackage{xetexko} or - \usepackage{kotex} + \usepackage{kotex} is sufficient to load the package, which will load fontspec package as well. Notice that kotex.sty is a file provided by cjk-ko package. Under plain TeX: - \input xetexko.sty + \input xetexko.sty Package Options --------------- - [hangul] -Load Hangul captions. Besides, this option also adjusts interword -and interline spacing. + [hangul] +Load Hangul captions. Besides, this option also adjusts interline +spacing. - [hanja] + [hanja] Load Hanja captions. Also adjusts spacing as [hangul] option does. - [unfonts] + [unfonts] Load font setting predefined for Un TrueType fonts available at http://kldp.net/projects/unfonts/. @@ -86,44 +86,46 @@ http://kldp.net/projects/unfonts/. Hangul Font Commands -------------------- - \setmainhangulfont - \setsanshangulfont - \setmonohangulfont + \setmainhangulfont + \setsanshangulfont + \setmonohangulfont Same as \setmainfont et. al. provided by fontspec package, except that these affect only Hangul characters and related symbols. - \setmainhanjafont - \setsanshanjafont - \setmonohanjafont + \setmainhanjafont + \setsanshanjafont + \setmonohanjafont Same as \setmainfont et. al., except that these affect only Hanja characters. In like manner, these commands are available as well: - \hangulfontspec - \hanjafontspec - \newhangulfontfamily - \newhanjafontfamily - \addhangulfontfeature - \addhanjafontfeature + \hangulfontspec + \hanjafontspec + \newhangulfontfamily + \newhanjafontfamily + \addhangulfontfeature + \addhanjafontfeature + +If \fallbackhanjafont is defined, it is used as a final fallback font. Hangul Font Options ------------------- - [hu=<dimen>] + [hu=<dimen>] Set spacing between Hangul and Latin characters. - [interhchar=<dimen>] + [interhchar=<dimen>] Set spacing between Hangul characters. - [lowerperiod=<dimen>] + [lowerperiod=<dimen>] Lower latin fullstop after Hangul character. - [quoteraise=<dimen>] + [quoteraise=<dimen>] Raise latin quotation marks. - [postmathskip=<dimen>] + [postmathskip=<dimen>] Set spacing after inline math and before Hangul. See xetexko-doc.pdf for more options. @@ -132,21 +134,21 @@ See xetexko-doc.pdf for more options. Other User Commands ------------------- - \dotemph{...} + \dotemph{...} Emphasise Hangul or Hanja by putting dot above. - \begin{vertical}{<dimen>} - \end{vertical} + \begin{vertical}{<dimen>} + \end{vertical} This environment makes a vbox vertically typeset. <dimen> is an argument required to indicate the box height. For vertical typesetting of entire document, use the command \verticaltypesetting instead. - \은 \는 \이 \가 \을 \를 \와 \과 \로 \으로 \라 \이라 + \은 \는 \이 \가 \을 \를 \와 \과 \로 \으로 \라 \이라 Commands for automatic Josa selection. Unlike those of cjk-ko package, these commands work correctly even after Hangul or Hanja. - \jaso \gana \ojaso \ogana \pjaso \pgana \onum \pnum \oeng - \peng \hnum \Hnum \hroman \hRoman \hNum \hanjanum + \jaso \gana \ojaso \ogana \pjaso \pgana \onum \pnum \oeng + \peng \hnum \Hnum \hroman \hRoman \hNum \hanjanum Hangul counters provided by cjk-ko package. diff --git a/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.pdf b/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.pdf Binary files differindex 824848268fa..d15e0d938e6 100644 --- a/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.pdf +++ b/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.pdf diff --git a/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex b/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex index 1886d9df545..09eed9fcb6f 100644 --- a/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex +++ b/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex @@ -5,59 +5,72 @@ %% This file is in the public domain \documentclass[a4paper]{article} -\usepackage{typearea} +\usepackage[hmargin=3.8cm]{geometry} \usepackage[hangul]{xetexko} -%\usepackage{xetexko-hanging} -\setmainhangulfont[Ligatures=TeX,quoteraise=.1em]{NanumMyeongjo} -\setmainhanjafont[Path,BoldFont=*Bold]{UnBatang} -\setsanshangulfont[Ligatures=TeX]{NanumGothic} -\usepackage{metalogo,xcolor,ulem} +\setmainhangulfont[Ligatures=TeX]{KoPubBatang_Pro} +\setsanshangulfont[Ligatures=TeX]{KoPubDotum_Pro} +\usepackage{xetexko-hanging} +\usepackage{hologo,xcolor,ulem} \usepackage[bookmarksnumbered]{hyperref} -\def\dotemphraise{0.2em} \edef\verbatim{\unexpanded\expandafter{\verbatim - \linespread{1.1}\selectfont\color{blue!50!black}}} -\def\logoko{\textsf{k}\kern-.1em\textit{o}} + \linespread{1.1}\selectfont }} +\def\logoko{\textsf{k}\kern-.2ex\textit{o}} +\def\XeTeX{\hologo{XeTeX}} \def\xetexko{\XeTeX\kern-.1ex -\logoko} -\def\kotex{\logoko\kern-.1ex .\kern-.1667em \TeX} -\pdfstringdefDisableCommands{\def\XeTeX{XeTeX}\def\xetexko{XeTeX-ko}} +\def\kotex{\logoko\kern-.1ex .\kern-.1667em \hologo{TeX}} +\pdfstringdefDisableCommands{\def\xetexko{XeTeX-ko}} \renewcommand*\descriptionlabel[1]{\hspace\labelsep\ttfamily\bfseries \color{blue!50!black}#1} -\def\grayhrule{\color{white!80!black}\hrule height2pt\color{black}} -\def\grayvrule{\color{white!80!black}\vrule width2pt\color{black}} +\def\grayhrule{{\color{white!80!black}\hrule height2pt}} +\def\grayvrule{{\color{white!80!black}\vrule width 2pt}} \newenvironment{plaintex} - {\par\medskip\leavevmode\hbox\bgroup\grayvrule\kern1em - \vbox\bgroup\hsize=\dimexpr\textwidth-12pt\relax\small - }{\egroup\egroup\par\medskip} + {\setbox0=\vbox\bgroup\hsize=\dimexpr\textwidth-12pt\relax\kern10pt\par\small} + {\par\vskip-\lastskip\kern10pt\egroup \par\medskip\par + \dimen0=\dimexpr\pagegoal-\pagetotal\relax + \ifdim\ht0<\dimen0 + \hbox{\grayvrule\kern10pt\box0}% + \else + \lineskip=0pt \splittopskip=10pt + \setbox2=\vsplit0 to\dimen0 + \ifvoid2 \else\hbox{\grayvrule\kern10pt\box2}\fi + \ifvoid0 \else\hbox{\grayvrule\kern10pt\box0}\fi + \fi \par\medskip\par } \newenvironment{example} - {\leavevmode\hbox\bgroup\grayvrule + {\hbox\bgroup\grayvrule \vbox\bgroup\hsize\dimexpr\textwidth-4pt\relax \grayhrule\kern1em\leftskip1em\rightskip1em }{\par\kern1em\grayhrule\egroup\grayvrule\egroup} -\def\cs#1{\texttt{\color{blue!50!black}\textbackslash #1}} +\def\cs#1{\texttt{\textbackslash #1}} \def\hemph#1{\textsf{\bfseries #1}} +\def\hparen#1{{\small\hangulparens(#1)}} +\def\hparens#1{\leavevmode\unskip---{\small #1}---\ignorespaces} \parindent0pt - \begin{document} \title{\xetexko\ 간단 매뉴얼} \author{Dohyun Kim \normalsize <\texttt{nomos at ktug org}> \and \normalsize <\url{http://github.com/dohyunkim/xetexko}>} -\date{Version 2.1\quad\today} +\date{Version 2.2\quad\today} \maketitle \begin{quote}\small - For summary introduction in English, + For a summary introduction in English, please see \verb+README+ file in this package. 주요 변경 사항 \begin{itemize}\itemsep=0pt - \item 플레인텍에서 xetexko.tex이 아니라 xetexko.sty를 불러야 한다. - \item 은글꼴을 자동으로 부르지 않는다. \verb+[unfonts]+ 옵션이 없으면 - 사용자가 한글 글꼴을 지시해야 할 수 있다. - \item CJK 기호문자를 한글글꼴에서 찾아 식자하는 것이 기본값이 되었다. - 과거에는 한자글꼴에서 찾았다. - \item \verb|interpunctskern| 글꼴 옵션을 없애고 - \verb|quoteraise|를 추가했다. + \item 플레인텍에서 xetexko.tex이 아니라 xetexko.sty를 불러야 한다. + \item \verb+[unfonts]+ 옵션이 없으면 은글꼴을 자동으로 부르지 않는다. + \item CJK 기호문자를 \hparen{한자가 아니라} 한글 글꼴에서 찾는 것이 + 기본값이 되었다. + \item \verb|interpunctskern| 글꼴 옵션을 없애고 \verb|quoteraise|를 + 추가했다. + \item[2.2]--- + \item 글꼴 옵션 \verb|charraise|를 추가했다. + \item \verb|\fallbackhanjafont| 명령을 인식한다. + \item \verb|\everyhangul|, \verb|\everyhanja| 명령이 추가되었다. + \item 하이픈 문자를 \hparen{직전 글꼴이 아니라} 라틴 글꼴에서 찾는 + 것이 기본값이 되었다. \end{itemize} \end{quote} @@ -90,7 +103,7 @@ EUC-KR이나 CP949 입력도 지원하는데, 다음과 같은 선언이 있으 \xetexko\ 로드하기: \cs{usepackage\{xetexko\}}. 이 명령은 fontspec 및 xunicode 패키지도 불러온다. -종전과 달리 \hemph{xltxtra 패키지를 함께 부르지 않음}을 주의할 것. +종전과 달리 xltxtra 패키지를 함께 부르지 않음을 주의할 것. \begin{plaintex} 플레인텍이라면 \verb|\input xetexko.sty| 명령으로 로드한다. @@ -105,22 +118,20 @@ EUC-KR이나 CP949 입력도 지원하는데, 다음과 같은 선언이 있으 절 제목 이하에는 한자 표제가 붙지 않고 숫자로만 표현된다. 한글이 주된 언어라고 인식하여 줄간격 조정도 수행한다. \item[ unfonts ] 은글꼴을 불러온다. \hemph{이 옵션이 없으면 - 사용자가 한글 글꼴을 지정해야} 할 수 있다.\footnote{\texttt{[unfonts]} - 옵션이 없더라도 \texttt{\string\setmainfont}로 지시한 글꼴에 - 한글 글리프가 들어있으면 따로 한글 글꼴을 지정한 필요가 없다.} + 사용자가 한글 글꼴을 지정해야} 할 수 있다. \end{description} \section{글꼴 명령} \begin{verbatim} \setmainfont [Ligatures=TeX]{Linux Libertine} - \setmainhangulfont[Ligatures=TeX]{나눔명조} - \setmainhanjafont [Ligatures=TeX]{은 바탕} + \setmainhangulfont[Ligatures=TeX]{NanumMyeongjo} + \setmainhanjafont [Ligatures=TeX]{UnBatang} \end{verbatim} 각 명령의 의미는 이름이 뜻하는 그대로이며, fontspec 매뉴얼에 따라 -설정한다. 한글폰트를 지정하지 않더라도 경고만 내보낼 뿐 -에러를 발생시키지 않는다. -한자폰트를 따로 지정하지 않으면 한글폰트가 적용된다. +설정한다. 한글폰트를 따로 지정하지 않으면 영문폰트가 한글에도 사용된다. +한자폰트를 따로 지정하지 않으면 한글폰트가 한자에도 적용된다. + 마찬가지로 다음 명령들도 제공한다. \begin{verbatim} \setsansfont \setsanshangulfont \setsanshanjafont @@ -137,17 +148,17 @@ EUC-KR이나 CP949 입력도 지원하는데, 다음과 같은 선언이 있으 \end{plaintex} \begin{verbatim} - \hangulfontspec[Ligatures=TeX]{나눔고딕} + \hangulfontspec[Ligatures=TeX]{NanumGothic} \hanjafontspec [Ligatures=TeX]{UnGungseo} \end{verbatim} 임시로 사용할 한글·한자 글꼴을 지시한다. \cs{adhochangulfont}와 \cs{adhochanjafont}는 이들 명령의 다른 이름이다. \begin{verbatim} - \newhangulfontfamily\secthangul[Ligatures=TeX]{나눔고딕} - \newhanjafontfamily \secthanja [Ligatures=TeX]{UnGungseo} - \newhangulfontface \secthangul[Ligatures=TeX]{나눔고딕Bold} - \newhanjafontface \secthanja [Ligatures=TeX]{UnDotumBold} + \newhangulfontfamily\myhangul[Ligatures=TeX]{NanumGothic} + \newhanjafontfamily \myhanja [Ligatures=TeX]{UnGungseo} + \newhangulfontface \myhangul[Ligatures=TeX]{NanumGothic Bold} + \newhanjafontface \myhanja [Ligatures=TeX]{UnDotumBold} \end{verbatim} fontspec 패키지의 \verb+\newfontfamily+ \verb+\newfontface+ 명령을 수정한 것이다. @@ -157,32 +168,37 @@ fontspec 패키지의 \verb+\newfontfamily+ \verb+\newfontface+ 명령을 \addhanjafontfeature {Color=00FF00} \end{verbatim} fontspec의 \verb+\addfontfeature+ 명령을 구현한 것이다. -\cs{addhangulfontfeatures}와\\ \cs{addhanjafontfeatures}는 -이들 명령의 다른 이름이다. +fontspec과 마찬가지로 각 명령의 끝에 `s'를 붙여도 된다. \smallskip 참고로, 한자와 한글을 같은 글꼴로 식자하고 싶을 때 글꼴 설정을 번거롭게 두 번 할 필요 없이 한글 글꼴만 설정한 뒤 간단히 \cs{hanjabyhangulfont}를 선언하면 된다. +한편 버전 2.2부터는 \cs{fallbackhanjafont}를 정의해두면 +\hemph{한자 글꼴에도 없는 한자}를 +이 글꼴에서 찾아 식자한다. \verb|\newfontfamily| 명령으로 정의한다. + + \section{기호 글꼴 명령} 라틴 문자나 CJK 기호를 어떤 폰트로 식자할 것인가를 사용자가 지정할 수 있다. \begin{verbatim} \xetexkofontregime[quotes=latin, puncts=prevfont]{hangul} \end{verbatim} 모든 라틴 문자와 CJK 기호들을 원칙적으로 한글 폰트로 식자하되, -따옴표는 라틴 폰트로 찍고 마침표 따위는 직전 문자의 폰트를 따라간다는 의미이다. +따옴표는 라틴 폰트로 찍고 마침표 따위는 현재 폰트를 따라간다는 의미이다. 옵션은 생략할 수 있다. 명령의 인자에는 latin, hangul, hanja, prevfont 중 하나가 올 수 있어서 각각 라틴 폰트, 한글 폰트, 한자 폰트로 식자하라는 뜻이며 -마지막의 prevfont는 직전 문자의 폰트를 그대로 이어받도록 지시한다. +마지막의 prevfont는 \hemph{현재 활성화된 폰트를 그대로 받도록} 지시한다. +현재 폰트가 직전 문자의 폰트가 아닐 수 있음에 주의할 것. 옵션 키의 종류와 의미는 다음과 같으며 각 키 값은 인자와 마찬가지로 latin, hangul, hanja, prevfont 가운데 하나를 허용한다. -\begin{description}\itemsep0pt +\begin{description}\itemsep0pt\hangulparens \item[alphs] 라틴 알파벳 및 아래에 해당하지 않는 모든 라틴 문자 -\item[nums] 라틴 숫자(수식 제외) +\item[nums] 라틴 숫자 \hparen{수식 제외} \item[parens] 라틴 괄호, 중괄호, 대괄호, 꺽쇠 \item[quotes] accent grave, apostrophy 및 이들의 리거쳐 \item[colons] 라틴 콜론, 세미콜론, endash, emdash @@ -191,12 +207,13 @@ latin, hangul, hanja, prevfont 가운데 하나를 허용한다. \item[cjksymbols] CJK 구두점, 괄호 및 상징기호 \end{description} -기본값은 다음 명령을 준 것과 동일하다. \hemph{CJK 기호가 한글폰트로 식자되게 -기본값이 변경되었음}에 유의할 것. +기본값은 다음 명령을 준 것과 동일하다. \hemph{CJK 기호가 한글폰트}로, +\hemph{하이픈은 라틴폰트}로 +식자되게 기본값이 변경되었음에 유의할 것. \begin{verbatim} - \xetexkofontregime [ - puncts=prevfont, hyphens=prevfont, colons=prevfont, cjksymbols=hangul - ]{latin} + \xetexkofontregime + [ puncts=prevfont, colons=prevfont, cjksymbols=hangul ] + {latin} \end{verbatim} \begin{plaintex} @@ -220,7 +237,7 @@ latin, hangul, hanja, prevfont 가운데 하나를 허용한다. \section{간격 조정} 한글 관련 미세 간격 조정은 다음과 같이 폰트 옵션으로 지시한다. \begin{verbatim} - \setsanshangulfont[interhchar=-.04em]{나눔고딕} + \setsanshangulfont[interhchar=-.04em]{NanumGothic} \end{verbatim} 이 때 나눔고딕 글꼴에만 한글 마이너스 자간이 작동한다. \dotemph{고정폭 글꼴을 제외한} 한글·한자 글꼴 @@ -228,45 +245,50 @@ latin, hangul, hanja, prevfont 가운데 하나를 허용한다. 허용되는 옵션은 다음과 같다. 각 항목의 길이값은 기본값을 뜻한다. \begin{description}\itemsep0pt \item[hu] -영문자와 한글 사이 간격. 영문 괄호와 한글 사이 간격은 그 두 배이다. 0.06em. + 영문자와 한글 사이 간격. 영문 괄호와 한글 사이 간격은 그 두 배이다. 0.06em. \item[interhchar] -한글 자간.\footnote{한자 자간 옵션은 제공하지 않는다. - 혹시 한자 자간을 조절하고 싶다면 - \texttt{\string\XKinterhanjabreak}을 재정의하라. - 참고로 한글 자간을 조절하는 저수준 명령은 - \texttt{\string\XKinterhangulbreak} 이다.} -0pt. + {\addhangulfontfeature{interhchar=0.3em} 한글 자간.}% + \footnote{한자 자간 옵션은 제공하지 않는다. + 혹시 한자 자간을 조절하고 싶다면 \cs{XKinterhanjabreak}을 재정의하라. + 참고로 한글 자간을 조절하는 저수준 명령은 \cs{XKinterhangulbreak} 이다.} + 0pt. +\item[charraise] 버전 2.2의 새로운 옵션으로 + 글자의 \hemph{\addhangulfontfeature{charraise=.5ex}수직 위치}를 조절한다. + 다른 글꼴 관련 효과와 충돌할 수 있어 주의를 요한다. 0pt. \item[lowerperiod] -CJK 문자 직후의 마침표를 아래로 끌어내리는 정도. 0pt. + CJK 문자 직후의 마침표를 아래로 끌어내리는 + {\addhangulfontfeature{lowerperiod=.5ex}정도. 0pt.} \item[lowerquestion] -CJK 문자 직후의 물음표를 아래로 끌어내리는 정도. 0pt. + CJK 문자 직후의 물음표를 아래로 끌어내리는 정도. 0pt. \item[lowerexclamation] -CJK 문자 직후의 느낌표를 아래로 끌어내리는 정도. 0pt. + CJK 문자 직후의 느낌표를 아래로 끌어내리는 정도. 0pt. \item[lowercomma] -CJK 문자 직후의 쉼표를 아래로 끌어내리는 정도. 0pt. + CJK 문자 직후의 쉼표를 아래로 끌어내리는 정도. 0pt. \item[preperiodkern] -CJK 문자 직후의 마침표 앞에 들어가는 간격. 0pt. + {\addhangulfontfeature{preperiodkern=1ex}CJK 문자 직후의 마침표 앞에 + 들어가는 간격. 0pt.} \item[postperiodkern] -CJK 문자 직후의 마침표 뒤에 들어가는 간격. 0pt. + {\addhangulfontfeature{postperiodkern=1ex}CJK 문자 직후의 마침표 뒤에 + 들어가는 간격. 0pt.} \item[prequestionkern] -CJK 문자 직후의 물음표 앞에 들어가는 간격. 0pt. + CJK 문자 직후의 물음표 앞에 들어가는 간격. 0pt. \item[postquestionkern] -CJK 문자 직후의 물음표 뒤에 들어가는 간격. 0pt. + CJK 문자 직후의 물음표 뒤에 들어가는 간격. 0pt. \item[preexclamationkern] -CJK 문자 직후의 느낌표 앞에 들어가는 간격. 0pt. + CJK 문자 직후의 느낌표 앞에 들어가는 간격. 0pt. \item[postexclamationkern] -CJK 문자 직후의 느낌표 뒤에 들어가는 간격. 0pt. + CJK 문자 직후의 느낌표 뒤에 들어가는 간격. 0pt. \item[precommakern] -CJK 문자 직후의 쉼표 앞에 들어가는 간격. 0pt. + CJK 문자 직후의 쉼표 앞에 들어가는 간격. 0pt. \item[postcommakern] -CJK 문자 직후의 쉼표 뒤에 들어가는 간격. 0pt. + CJK 문자 직후의 쉼표 뒤에 들어가는 간격. 0pt. \item[quoteraise] -영문 인용부호{\small(grave accent나 apostrophe로 입력하는 것을 말함)}를 -위로 끌어올리는 정도. 0pt. + 영문 인용부호\hparens{아스키문자로 입력하는 것을 말함}를 + 위로 끌어올리는 정도. 0pt. \item[quotewidth] -영문 인용부호의 폭. 기본값은 natural width. + 영문 인용부호의 폭. 기본값은 natural width. \item[postmathskip] -수식과 CJK 문자 사이의 간격. 기본값은 위 hu 값의 두 배. + 수식과 CJK 문자 사이의 간격. 기본값은 위 hu 값의 두 배. \end{description} \begin{plaintex} @@ -274,6 +296,7 @@ CJK 문자 직후의 쉼표 뒤에 들어가는 간격. 0pt. \begin{verbatim} \def\xetexkohu{0.06em } \def\xetexkointerhchar{-0.04em } + \def\xetexkocharraise{-0.1ex } \def\xetexkolowerperiod{0.15ex } \def\xetexkolowerquestion{0.15ex } \def\xetexkolowerexclamation{0.15ex } @@ -294,13 +317,20 @@ CJK 문자 직후의 쉼표 뒤에 들어가는 간격. 0pt. \section{그밖의 명령들} \begin{description} + \item[\cs{everyhangul}, \cs{everyhanja}] + 한글 또는 한자에 대해 글자마다 지시한 명령을 수행한다. 예컨대 + \verb|\everyhangul{\fbox{#1}}| 명령은 모든 + {\everyhangul{\fbox{#1}}\fboxsep=0.4pt 한글 주위에 박스}를 + 두른다. 2.2 버전의 새로운 명령. 다른 글꼴 옵션과 충돌할 수 있으므로 + 주의를 요한다. + \item[\cs{disablekoreanfonts}] 한글폰트를 따로 설정하지 않고 영문 폰트를 따라간다. 이 때 \verb|\setmainfont| 따위가 한글과 한자에도 적용된다. \item[\cs{disableautojosa}] 혹시 있을지 모를 예기치 못한 기능간 충돌에 대비하여 자동조사 기능을 -끄는 명령을 제공하고 있다. +끄는 명령을 제공한다. \item[\cs{disablejamoautojosa}] 옛한글 자모에 한해서 자동조사 기능을 끈다. @@ -314,7 +344,7 @@ CJK 문자 직후의 쉼표 뒤에 들어가는 간격. 0pt. 버전 2.1에서 새롭게 추가된 명령이다. \item[\cs{disablecjksymbolspacing}] -CJK 구두점이나 괄호의 폭을 0.5em으로 강제설정하는 것을 방지한다. +CJK 구두점의 폭을 0.5em으로 강제설정하는 것을 방지한다. \xetexko는 낡은 고정폭 한글 폰트들을 고려하여 이 기능을 구현하였으나 현대적인 한글 폰트는 이러한 과잉친절이 오히려 성가실 경우가 있다. @@ -381,6 +411,7 @@ CJK 구두점이나 괄호의 폭을 0.5em으로 강제설정하는 것을 방 \hfil\begin{vertical}{16em} \hangulfontspec[Vertical=RotatedGlyphs]{Adobe Myungjo Std} \hangulmarks \hanjabyhangulfont \parindent-1em\leftskip1em + \disablecjksymbolspacing \noindent 님의 침묵 {\small(The Silent Beloved)} \smallbreak \hfil\hfil 한 용 운\hfil @@ -401,7 +432,7 @@ CJK 구두점이나 괄호의 폭을 0.5em으로 강제설정하는 것을 방 역시 고급 오픈타입 기능을 이용하는 것이므로 폰트가 이를 지원해야 한다. \begin{verbatim} - \setmainhangulfont[ Vertical=RotatedGlyphs ]{Adobe 명조 Std} + \setmainhangulfont[ Vertical=RotatedGlyphs ]{Adobe Myungjo Std} \end{verbatim} 문서 전체를 세로쓰기할 때 \cs{verticaltypesetting}을 선언하면 면주는 그대로 두고 본문만 세로쓰기한다.\footnote{당연히 면주의 글꼴은 @@ -412,11 +443,11 @@ vertical 환경의 인자는 세로쓰기 박스의 세로 길이이다. 보통 그 뒤에 세로쓰기에 사용할 글꼴 명령이 온다. \begin{verbatim} \begin{vertical}{12em} - \hangulfontspec[ Vertical=RotatedGlyphs ]{Adobe 명조 Std} + \hangulfontspec[ Vertical=RotatedGlyphs ]{Adobe Myungjo Std} 세로쓰기로 식자할 부분 \end{vertical} \end{verbatim} -만일 세로쓰기의 EM 박스 크기가 가로쓰기와 다르다면 +만일 세로쓰기의 em 박스 크기가 가로쓰기와 다르다면 \cs{verticalem=1.05em}과 같은 선언을 미리 해두는 것이 좋다. 혹시 세로로 식자되지 않는 라틴문자 부분이 있다면 @@ -427,9 +458,9 @@ vertical 환경의 인자는 세로쓰기 박스의 세로 길이이다. \begin{plaintex} 플레인텍이라면, \begin{verbatim} - \vertical{16em}\hangulfont="Adobe 명조 Std:vertical" - 세로쓰기로 식자할 부분 - \endvertical + \vertical{16em}\hangulfont="Adobe Myungjo Std:vertical" + 세로쓰기로 식자할 부분 + \endvertical \end{verbatim} \end{plaintex} @@ -437,7 +468,7 @@ vertical 환경의 인자는 세로쓰기 박스의 세로 길이이다. \begin{figure} \begin{example} - \setmainhanjafont{STFangsong}\chinese + \hanjafontspec{STFangsong}\chinese 子曰:「學而時習之,不亦說乎?有朋自遠方來,不亦樂乎?人不知而不慍,不亦君子乎?」 有子曰:「其為人也孝弟,而好犯上者,鮮矣!不好犯上,而好作亂者,未之有也!君子務本,本立而道生;孝弟也者,其為仁之本歟?」 @@ -465,10 +496,8 @@ Tchinese도 제공하는데 중국어 번체 글꼴을 사용한다면 이 환 마침표, 쉼표, 인용부호를 판면 바깥에 식자하여 행 끝에 매달리게 만든다. \begin{verbatim} \usepackage{xetexko-hanging} - \hangingpunctuation \end{verbatim} -\cs{hangingpunctuation} 명령은 글꼴 설정이 완료된 이후에 내려야 -원하는 결과를 얻을 수 있다. +\cs{hangingpunctuation} 명령은 버전 2.2 이후 불필요해졌다. %\begin{figure} %\Large @@ -489,7 +518,7 @@ Tchinese도 제공하는데 중국어 번체 글꼴을 사용한다면 이 환 %\end{figure} \section{수식 한글} -수식 모드에서도 한글을 {\small(hbox로 감싸지 않고)} 직접 입력할 수 있다. +수식 모드에서도 한글을 \hparens{hbox로 감싸지 않고} 직접 입력할 수 있다. \begin{quote} \verb|$가^{나^다}$|\quad$\Rightarrow\quad가^{나^다}$ \end{quote} @@ -548,16 +577,12 @@ Tchinese도 제공하는데 중국어 번체 글꼴을 사용한다면 이 환 \section{밑줄긋기} \LaTeX에서는 \uline{ulem 패키지}를 로드하는 것만으로 자동 지원된다. \begin{plaintex} -플레인텍에서는 패키지 로드 후 사용자가 \verb|\xetexkoulemsupport| +플레인텍에서는 패키지 로드 후 사용자가 \cs{xetexkoulemsupport} 명령을 내려주어야 한다. \end{plaintex} \section{hyperref} hyperref 패키지는 \verb+[unicode]+ 옵션 없이 쓴다. - -\begin{flushright} - \fboxsep=-\fboxrule - \fbox{\vbox to1em{\hbox to1em{\hss}\vss}} -\end{flushright} +\hfill \fboxsep=-\fboxrule \fbox{\vbox to1em{\hbox to1em{\hss}\vss}} \end{document} 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 }}{} } |