texlive[60444] Master/texmf-dist: xetexko (6sep21)
commits+karl at tug.org
commits+karl at tug.org
Mon Sep 6 23:18:43 CEST 2021
Revision: 60444
http://tug.org/svn/texlive?view=revision&revision=60444
Author: karl
Date: 2021-09-06 23:18:43 +0200 (Mon, 06 Sep 2021)
Log Message:
-----------
xetexko (6sep21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/xetex/xetexko/ChangeLog
trunk/Master/texmf-dist/doc/xetex/xetexko/README
trunk/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.pdf
trunk/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex
trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty
Modified: trunk/Master/texmf-dist/doc/xetex/xetexko/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/xetex/xetexko/ChangeLog 2021-09-06 21:18:24 UTC (rev 60443)
+++ trunk/Master/texmf-dist/doc/xetex/xetexko/ChangeLog 2021-09-06 21:18:43 UTC (rev 60444)
@@ -1,3 +1,13 @@
+2021-09-06 Dohyun Kim <nomos at ktug org>
+
+ Version 4.0
+
+ * generalize the concept introduced at v3.9, that is
+ \ifx\f at encoding\UTFencname now affects inter-character spacing
+ as well as font substitution.
+ * guard against space character(catcode 12) in parsing code point
+ of next character
+
2021-08-09 Dohyun Kim <nomos at ktug org>
Version 3.9
Modified: trunk/Master/texmf-dist/doc/xetex/xetexko/README
===================================================================
--- trunk/Master/texmf-dist/doc/xetex/xetexko/README 2021-09-06 21:18:24 UTC (rev 60443)
+++ trunk/Master/texmf-dist/doc/xetex/xetexko/README 2021-09-06 21:18:43 UTC (rev 60444)
@@ -1,4 +1,4 @@
-XeTeX-ko Package version 3.9 (2021/08/09)
+XeTeX-ko Package version 4.0 (2021/09/06)
=========================================
XeTeX-ko is a macro package for Xe(La)TeX which supports typesetting
Modified: trunk/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex 2021-09-06 21:18:24 UTC (rev 60443)
+++ trunk/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex 2021-09-06 21:18:43 UTC (rev 60444)
@@ -74,7 +74,7 @@
\title{\xetexko\ 간단 매뉴얼}
\author{Dohyun Kim \normalsize <\texttt{nomos at ktug org}> \and
\normalsize <\url{http://github.com/dohyunkim/xetexko}>}
-\date{Version 3.9\quad 2021/08/09}
+\date{Version 4.0\quad 2021/09/06}
\maketitle
\begin{quote}\small
@@ -709,6 +709,12 @@
\begin{small}\linespread{1.2}\selectfont
\begin{description}\itemsep=0pt
+ \item[v4.0] 2021-09-06
+ \begin{itemize}
+ \item \xetexko 가 제공하는 대부분의 기능은 폰트 인코딩이
+ 유니코드 인코딩(\texttt{TU})이거나 플레인텍처럼 폰트 인코딩 개념이 없는
+ 경우에만 동작한다.
+ \end{itemize}
\item[v3.6] 2021-06-10
\begin{itemize}
\item \hyperref[sec:verttype]
Modified: trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty 2021-09-06 21:18:24 UTC (rev 60443)
+++ trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty 2021-09-06 21:18:43 UTC (rev 60444)
@@ -16,7 +16,7 @@
\ifdefined\ProvidesPackage
\NeedsTeXFormat{LaTeX2e}[2021/06/01]
- \ProvidesPackage{xetexko}[2021/08/09 v3.9 typesetting Korean with XeTeX]
+ \ProvidesPackage{xetexko}[2021/09/06 v4.0 typesetting Korean with XeTeX]
\else
\ifdefined\@tempcnta\else \newcount\@tempcnta \fi
\ifdefined\@sptoken \else
@@ -467,11 +467,9 @@
\expandafter\let\expandafter\XeKo at latin@font\the\font
\fi\fi
\ifdefined\XeKo at hangul@font
- \ifx\f at encoding\UTFencname
\XeKo at reset@options
\XeKo at hangul@font
\expandafter\let\expandafter\XeKo at raw@hangul at font\the\font
- \fi
\fi
}
\def\XeKo at font@CJK{%
@@ -480,11 +478,9 @@
\expandafter\let\expandafter\XeKo at latin@font\the\font
\fi\fi
\ifdefined\XeKo at hanja@font
- \ifx\f at encoding\UTFencname
\XeKo at reset@options
\XeKo at hanja@font
\expandafter\let\expandafter\XeKo at raw@hanja at font\the\font
- \fi
\fi
}
\def\XeKo at font@Latin{%
@@ -993,6 +989,7 @@
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassHG{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \XKinterhanjabreak \or \or \or \or % 1: ruby를 한자처럼 취급
@@ -1016,9 +1013,11 @@
\else\ifnum\lastnodetype=10 % mathoff
\XeKo at postmath
\fi\fi
- \XeKo at fontHG\XeKo at startHG
+ \XeKo at fontHG\expandafter\XeKo at startHG
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassID{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \XKinterhanjabreak \or \or \or \or
@@ -1042,9 +1041,11 @@
\else\ifnum\lastnodetype=10 % mathoff
\XeKo at postmath
\fi\fi
- \XeKo at fontID\XeKo at startID
+ \XeKo at fontID\expandafter\XeKo at startID
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassCJ{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \XKinterhanjabreak \XeKo at suppress@linebreak \or \or \or \or
@@ -1068,9 +1069,11 @@
\else\ifnum\lastnodetype=10 % mathoff
\XeKo at postmath
\fi\fi
- \XeKo at fontCJ\XeKo at startCJ
+ \XeKo at fontCJ\expandafter\XeKo at startCJ
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassSY{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \or \or \or \or
@@ -1094,9 +1097,11 @@
\else\ifnum\lastnodetype=10 % mathoff
\XeKo at postmath
\fi\fi
- \XeKo at fontSY\XeKo at startSY
+ \XeKo at fontSY\expandafter\XeKo at startSY
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassAA{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \XeKo at latincjk \or \or \or \or
@@ -1118,9 +1123,11 @@
\or \unkern\unkern \XeKo at quarterquarter % VC AA
\fi
\fi
- \XeKo at fontAA\XeKo at startAA
+ \XeKo at fontAA\expandafter\XeKo at startAA
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassAO{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \XeKo at latincjk \or \or \or \or
@@ -1142,9 +1149,11 @@
\or \unkern\unkern \XeKo at quarterquarter % VC AO
\fi
\fi
- \XeKo at fontAO\XeKo at startAO
+ \XeKo at fontAO\expandafter\XeKo at startAO
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassAC{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \or \or \or \or
@@ -1166,9 +1175,11 @@
\or \unkern\unkern % VC AC
\fi
\fi
- \XeKo at fontAC\XeKo at startAC
+ \XeKo at fontAC\expandafter\XeKo at startAC
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassAP{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \or \or \or \or
@@ -1190,9 +1201,11 @@
\or \unkern\unkern % VC AP
\fi
\fi
- \XeKo at fontAP\XeKo at startAP
+ \XeKo at fontAP\expandafter\XeKo at startAP
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassAM{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \XeKo at nobreak\XeKo at latincjk \or \or \or \or
@@ -1214,9 +1227,11 @@
\or \unkern\unkern % VC AM
\fi
\fi
- \XeKo at fontAM\XeKo at startAM
+ \XeKo at fontAM\expandafter\XeKo at startAM
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassAH{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \XeKo at nobreak \or \or \or \or
@@ -1238,9 +1253,11 @@
\or \unkern\unkern \XeKo at nobreak % VC AH
\fi
\fi
- \XeKo at fontAH\XeKo at startAH
+ \XeKo at fontAH\expandafter\XeKo at startAH
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassOP{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \XeKo at halfhalf \or \or \or \or
@@ -1264,9 +1281,11 @@
\else\ifnum\lastnodetype=10 % mathoff
\XeKo at halfhalf
\fi\fi
- \XeKo at fontOP\XeKo at startOP
+ \XeKo at fontOP\expandafter\XeKo at startOP
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassCL{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \or \or \or \or
@@ -1288,9 +1307,11 @@
\or \unkern\unkern % VC CL
\fi
\fi
- \XeKo at fontCL\XeKo at startCL
+ \XeKo at fontCL\expandafter\XeKo at startCL
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassMD{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \XeKo at nobreak\XeKo at quarterquarter \or \or \or \or
@@ -1314,9 +1335,11 @@
\else\ifnum\lastnodetype=10 % mathoff
\XeKo at nobreak\XeKo at quarterquarter
\fi\fi
- \XeKo at fontMD\XeKo at startMD
+ \XeKo at fontMD\expandafter\XeKo at startMD
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassFS{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \or \or \or \or
@@ -1338,9 +1361,11 @@
\or \unkern\unkern % VC FS
\fi
\fi
- \XeKo at fontFS\XeKo at startFS
+ \XeKo at fontFS\expandafter\XeKo at startFS
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassEX{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \or \or \or \or
@@ -1362,9 +1387,11 @@
\or \unkern\unkern % VC EX
\fi
\fi
- \XeKo at fontEX\XeKo at startEX
+ \XeKo at fontEX\expandafter\XeKo at startEX
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassLD{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \XKinterhanjabreak \XeKo at suppress@linebreak \or \or \or \or
@@ -1386,9 +1413,11 @@
\or \unkern\unkern \XKinterhanjabreak \XeKo at suppress@linebreak % VC LD
\fi
\fi
- \XeKo at fontLD\XeKo at startLD
+ \XeKo at fontLD\expandafter\XeKo at startLD
+ \fi
}
\XeTeXinterchartoks\XeTeXcharclassBoundary\XeTeXcharclassVC{%
+ \ifx\f at encoding\UTFencname
\ifnum\lastnodetype=12 %
\ifcase\lastkern
\or \or \or \or \or
@@ -1410,7 +1439,8 @@
\or \unkern\unkern % VC VC
\fi
\fi
- \XeKo at fontVC\XeKo at startVC
+ \XeKo at fontVC\expandafter\XeKo at startVC
+ \fi
}
\newbox\XeKo at box@
@@ -1504,7 +1534,7 @@
\catcode`A=11\relax \global\let\XeKo at catcode@letter=A
\catcode`0=12\relax \global\let\XeKo at catcode@other =0
\endgroup
-\def\XeKo at striptw@words#1 #2 #3{#3}
+\def\XeKo at striptw@words#1 #2 #3\relax{#3}
\def\XeKo at get@charslot{%
\if\noexpand\XeKo at let@token\relax
\chardef\XeKo at charslot="FFFF
@@ -1515,7 +1545,7 @@
\def\XeKo at get@charslot@{%
\ifnum 0\ifcat\XeKo at let@token\XeKo at catcode@letter 1\else
\ifcat\XeKo at let@token\XeKo at catcode@other 1\fi\fi >\z@
- \edef\@tempa{\expandafter\XeKo at striptw@words\meaning\XeKo at let@token}%
+ \edef\@tempa{\expandafter\XeKo at striptw@words\meaning\XeKo at let@token\relax}%
\expandafter\chardef\expandafter\XeKo at charslot\expandafter`\@tempa\relax
\else
\chardef\XeKo at charslot="FFFF
More information about the tex-live-commits
mailing list.