texlive[70316] branches/branch2023.final/Master/texmf-dist: xetexko
commits+karl at tug.org
commits+karl at tug.org
Fri Mar 1 22:46:44 CET 2024
Revision: 70316
https://tug.org/svn/texlive?view=revision&revision=70316
Author: karl
Date: 2024-03-01 22:46:44 +0100 (Fri, 01 Mar 2024)
Log Message:
-----------
xetexko (1mar24)
Modified Paths:
--------------
branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/ChangeLog
branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/README
branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.pdf
branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex
branches/branch2023.final/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty
Modified: branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/ChangeLog
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/ChangeLog 2024-03-01 21:46:24 UTC (rev 70315)
+++ branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/ChangeLog 2024-03-01 21:46:44 UTC (rev 70316)
@@ -1,3 +1,9 @@
+2024-03-01 Dohyun Kim <nomos at ktug org>
+
+ Version 4.3
+
+ * use e-type instead of x-type in EXPL code
+
2022-11-01 Dohyun Kim <nomos at ktug org>
Version 4.2
Modified: branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/README
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/README 2024-03-01 21:46:24 UTC (rev 70315)
+++ branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/README 2024-03-01 21:46:44 UTC (rev 70316)
@@ -1,4 +1,4 @@
-XeTeX-ko Package version 4.2 (2022/11/01)
+XeTeX-ko Package version 4.3 (2024/03/01)
=========================================
XeTeX-ko is a macro package for Xe(La)TeX which supports typesetting
Modified: branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex 2024-03-01 21:46:24 UTC (rev 70315)
+++ branches/branch2023.final/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex 2024-03-01 21:46:44 UTC (rev 70316)
@@ -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 4.2\quad 2022/11/01}
+\date{Version 4.3\quad 2024/03/01}
\maketitle
\begin{quote}\small
@@ -152,7 +152,7 @@
\bigskip
-※ \vernote{3.1} 및 \vernote{3.4}부터 플레인텍에 주요 변경사항이 있다:
+※ \vernote{3.4}부터 플레인텍에 주요 변경사항이 있다:
\begin{plaintex}
플레인텍에서도 기본값으로 은바탕을 한글에 사용한다. 한글폰트를 지시하는 방법은 다음과 같다.
\begin{verbatim}
@@ -160,8 +160,6 @@
\hangulfont="[UnBatang]:mapping=tex-text" at 10pt
\hanjafont ="Naver Dictionary:mapping=tex-text" at 10pt
\end{verbatim}
- \sout{그런데 3.1 버전부터는 이렇게 하면 문서 중간에 영문글꼴을 바꾸더라도
- \cs{hangulfont} 선언시의 영문글꼴이 계속 적용되도록 바뀌었다.}
또한 다음과 같은 새로운 명령을 제공한다.
\begin{verbatim}
\sethangulfont\untaza ="[UnTaza.ttf]" at 10pt
@@ -168,8 +166,6 @@
\sethanjafont \undotum="[UnDotum.ttf]" at 10pt
\expandafter\def\expandafter\tt\expandafter{\tt\untaza\undotum}
\end{verbatim}
- \sout{이 경우 \cs{untaza}, \cs{undotum} 명령에 \cs{set...font} 실행시의 현재폰트 명령이
- 자동으로 포함된다. 뒤에서 설명할 글꼴옵션이 포함되는 것과 같은 개념이다.}
그리하여 예의 \cs{tt} 명령으로 이제 한글, 한자, 영문 글꼴을 동시에 바꿀 수 있게 된다.
\end{plaintex}
Modified: branches/branch2023.final/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty 2024-03-01 21:46:24 UTC (rev 70315)
+++ branches/branch2023.final/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty 2024-03-01 21:46:44 UTC (rev 70316)
@@ -1,6 +1,6 @@
% xetexko.sty
%
-% Copyright (c) 2013-2022 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2024 Dohyun Kim <nomos at ktug org>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -15,8 +15,8 @@
\catcode`@=11
\ifdefined\ProvidesPackage
- \NeedsTeXFormat{LaTeX2e}[2021/06/01]
- \ProvidesPackage{xetexko}[2022/11/01 v4.2 typesetting Korean with XeTeX]
+ \NeedsTeXFormat{LaTeX2e}[2021/11/15]
+ \ProvidesPackage{xetexko}[2024/03/01 v4.3 typesetting Korean with XeTeX]
\else
\ifdefined\@tempcnta\else \newcount\@tempcnta \fi
\ifdefined\@sptoken \else
@@ -1137,7 +1137,7 @@
\or \unkern\unkern \XeKo at latincjk % SY AO
\or \unkern\unkern % AA AO
\or \unkern\unkern % AO AO
- \or \unkern\unkern % AC AO
+ \or \unkern\unkern \inhibitglue % AC AO
\or \unkern\unkern % AP AO
\or \unkern\unkern % AM AO
\or \unkern\unkern % AH AO
@@ -2107,7 +2107,7 @@
\cs_new:Nn \__xtxko_assign_font_opts:n
{
\tl_clear:N \l_xtxko_font_opts_tl
- \keys_set_known:nxN { xtxko-font } {#1} \l_xtxko_rest_opts_tl
+ \keys_set_known:neN { xtxko-font } {#1} \l_xtxko_rest_opts_tl
}
\DeclareDocumentCommand \setmainhangulfont { O{} m O{} }
{
@@ -2175,7 +2175,7 @@
\fontencoding \g_fontspec_encoding_tl
\exp_args:Nc \fontfamily { xetexko_user_family_ \cs_to_str:N #1 } \XeKo at selectfont
}
- \cs_set_nopar:cpx { xetexko_user_option_ \cs_to_str:N #1 }
+ \cs_set_nopar:cpe { xetexko_user_option_ \cs_to_str:N #1 }
{
\exp_not:o { \l_xtxko_font_opts_tl }
}
@@ -2200,7 +2200,7 @@
\fontencoding \g_fontspec_encoding_tl
\fontfamily \xetexkohangulfontfamily \XeKo at selectfont
}
- \cs_set_nopar:Npx \xetexkohanguloption
+ \cs_set_nopar:Npe \xetexkohanguloption
{
\exp_not:o { \l_xtxko_font_opts_tl }
}
@@ -2213,9 +2213,9 @@
\group_begin:
\fontseries\seriesdefault\fontshape\shapedefault \xetexkohangulfont
\cs_set_eq:NN \l_xtxko_font_opts_tl \xetexkohanguloption
- \keys_set_known:nxN { xtxko-font } { #1 } \l_xtxko_rest_opts_tl
+ \keys_set_known:neN { xtxko-font } { #1 } \l_xtxko_rest_opts_tl
\addfontfeature { \l_xtxko_rest_opts_tl }
- \use:x
+ \use:e
{
\group_end:
\exp_not:N \cs_set_nopar:Npn \exp_not:N \xetexkohangulfont
@@ -2299,7 +2299,7 @@
\fontencoding \g_fontspec_encoding_tl
\exp_args:Nc \fontfamily { xetexko_user_family_ \cs_to_str:N #1 } \XeKo at selectfont
}
- \cs_set_nopar:cpx { xetexko_user_option_ \cs_to_str:N #1 }
+ \cs_set_nopar:cpe { xetexko_user_option_ \cs_to_str:N #1 }
{
\exp_not:o { \l_xtxko_font_opts_tl }
}
@@ -2324,7 +2324,7 @@
\fontencoding \g_fontspec_encoding_tl
\fontfamily \xetexkohanjafontfamily \XeKo at selectfont
}
- \cs_set_nopar:Npx \xetexkohanjaoption
+ \cs_set_nopar:Npe \xetexkohanjaoption
{
\exp_not:o { \l_xtxko_font_opts_tl }
}
@@ -2337,9 +2337,9 @@
\group_begin:
\fontseries\seriesdefault\fontshape\shapedefault \xetexkohanjafont
\cs_set_eq:NN \l_xtxko_font_opts_tl \xetexkohanjaoption
- \keys_set_known:nxN { xtxko-font } { #1 } \l_xtxko_rest_opts_tl
+ \keys_set_known:neN { xtxko-font } { #1 } \l_xtxko_rest_opts_tl
\addfontfeature { \l_xtxko_rest_opts_tl }
- \use:x
+ \use:e
{
\group_end:
\exp_not:N \cs_set_nopar:Npn \exp_not:N \xetexkohanjafont
@@ -2462,8 +2462,10 @@
\ifdefined\XeKo at hanja@font\else
\let\XeKo at hanja@font \XeKo at hangul@font
\fi
- \@ifpackageloaded{ulem}{\xetexkoulemsupport}{}
- \@ifpackageloaded{hyperref}{\pdfstringdefDisableCommands{%
+ }
+
+\AddToHook{package/ulem/after}{\xetexkoulemsupport}
+\AddToHook{package/hyperref/after}{\pdfstringdefDisableCommands{%
\let\hangulalphs\relax
\let\hangulnums\relax
\let\hangulparens\relax
@@ -2532,8 +2534,7 @@
\def\라{라}%
\def\으{으}%
\def\로{로}%
- \def\hellipsis{...}}}{}
- }
+ \def\hellipsis{...}}}
\newif\if at hangul
\newif\if at hanja
More information about the tex-live-commits
mailing list.