texlive[74270] branches/branch2024.final/Master/texmf-dist: xetexko
commits+karl at tug.org
commits+karl at tug.org
Mon Feb 24 21:31:40 CET 2025
Revision: 74270
https://tug.org/svn/texlive?view=revision&revision=74270
Author: karl
Date: 2025-02-24 21:31:39 +0100 (Mon, 24 Feb 2025)
Log Message:
-----------
xetexko (branch) (24feb25)
Modified Paths:
--------------
branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/ChangeLog
branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/README
branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.pdf
branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex
branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty
branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty
branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty
branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty
branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty
branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty
Modified: branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/ChangeLog
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/ChangeLog 2025-02-24 20:31:31 UTC (rev 74269)
+++ branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/ChangeLog 2025-02-24 20:31:39 UTC (rev 74270)
@@ -1,3 +1,10 @@
+2025-02-24 Dohyun Kim <nomosnomos at gmail com>
+
+ Version 4.4
+
+ * change char class of some traditional chinese chars
+ * use LaTeX's build/page/before hook if available
+
2024-03-01 Dohyun Kim <nomos at ktug org>
Version 4.3
Modified: branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/README
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/README 2025-02-24 20:31:31 UTC (rev 74269)
+++ branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/README 2025-02-24 20:31:39 UTC (rev 74270)
@@ -1,4 +1,4 @@
-XeTeX-ko Package version 4.3 (2024/03/01)
+XeTeX-ko Package version 4.4 (2025/02/24)
=========================================
XeTeX-ko is a macro package for Xe(La)TeX which supports typesetting
@@ -20,7 +20,7 @@
Author
------
Please report any errors or suggestions to
- Dohyun Kim <nomos at ktug org>
+ Dohyun Kim <nomosnomos at gmail com>
or leave messages in the issue tracker at:
<http://github.com/dohyunkim/xetexko>
Modified: branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex 2025-02-24 20:31:31 UTC (rev 74269)
+++ branches/branch2024.final/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex 2025-02-24 20:31:39 UTC (rev 74270)
@@ -72,9 +72,9 @@
\latinparens
\title{\xetexko\ 간단 매뉴얼}
-\author{Dohyun Kim \normalsize <\texttt{nomos at ktug org}> \and
+\author{Dohyun Kim \normalsize <\texttt{nomosnomos at gmail com}> \and
\normalsize <\url{http://github.com/dohyunkim/xetexko}>}
-\date{Version 4.3\quad 2024/03/01}
+\date{Version 4.4\quad 2025/02/24}
\maketitle
\begin{quote}\small
@@ -152,7 +152,6 @@
\bigskip
-※ \vernote{3.4}부터 플레인텍에 주요 변경사항이 있다:
\begin{plaintex}
플레인텍에서도 기본값으로 은바탕을 한글에 사용한다. 한글폰트를 지시하는 방법은 다음과 같다.
\begin{verbatim}
@@ -227,13 +226,13 @@
종전에
라틴숫자에 적용되던 \verb|nums| 옵션과
라틴 인용부호에 적용되던 \verb|quotes| 옵션이
-\vernote{3.0}부터는
+v3.0부터는
각각 \verb|alphs| 옵션과 \verb|parens| 옵션에 통합되었음에 유의하라.
또한 en dash, em dash가 종래 \verb|colons|에 속하던 것이 이제
\verb|hyphens|에 속하게 되었다.
기본값은 다음 명령을 준 것과 동일하다.
-\vernote{3.0}부터 괄호류의 기본글꼴이 한글이 되었음도 유의하라.
+v3.0부터 괄호류의 기본글꼴이 한글이 되었음도 유의하라.
\begin{verbatim}
\xetexkofontregime {latin}%
[ puncts=prevfont, colons=prevfont,
@@ -256,7 +255,7 @@
\end{plaintex}
\section{글꼴 옵션}\label{sec:fontopts}
-\dotemph{고정폭 글꼴을 제외한} 한글·한자 글꼴 명령에 미세 간격 옵션을
+\hemph{고정폭 글꼴을 제외한} 한글·한자 글꼴 명령에 미세 간격 옵션을
쓸 수 있다. 예컨대
\begin{verbatim}
\setsanshangulfont{NanumGothic}[InterHangul=-.04em]
@@ -288,7 +287,7 @@
}
고정폭 글꼴에서도 이 옵션은 작동한다.
\end{description}
-\vernote{3.0}부터는 다음 옵션들이 아무 효과도 가져오지 않게
+v3.0부터는 다음 옵션들이 아무 효과도 가져오지 않게
변경되었음을 주의하라.
\begin{verbatim}
lowerperiod lowerquestion
@@ -316,7 +315,7 @@
종전에 한글·한자 글꼴의 옵션 기본값을 지정하던
\cs{defaulthangulfontfeatures} 및 \cs{defaulthanjafontfeatures} 명령이
-\vernote{3.0}부터는
+v3.0부터는
아무런 기능을 하지 않게 변경되었음에 유의하라.
폰트옵션의 수가 적어졌기 때문에 이 명령의 유용성도 거의 사라졌다고 판단했다.
@@ -361,7 +360,7 @@
}
\end{description}
-\vernote{3.0}부터는 종전의
+v3.0부터는 종전의
\cs{disableautojosa} 및 \cs{disablejamoautojosa} 명령이 아무 기능도 하지 않게
변경되었음을 유의하라.
@@ -416,13 +415,13 @@
\texttt{vertical} 옵션이 없어야 할 것이다.
면주 글꼴을 따로 지정하는 것은 사용자의 몫이다. }
-\vernote{3.6}부터 \verb|verticaltypesetting| 환경을 이용하여
+v3.6부터 \verb|verticaltypesetting| 환경을 이용하여
몇몇 페이지만 세로쓰기로 조판할 수 있다.
역시 면주는 가로로 조판되며, 환경의 앞뒤에서 쪽나눔이 행해진다.
문서의 일부를 세로쓰기 하려면 \verb|vertical| 환경을 이용한다.
vertical 환경에는 세로쓰기 박스의 높이를 인자로 준다.
-\vernote{3.6}부터는 만약 인자가 비어있거나 \cs{empty}이면
+v3.6부터는 만약 인자가 비어있거나 \cs{empty}이면
본문을 한 줄짜리 박스로 식자하도록 했다. 이때 높이는 natural height가 된다.
\begin{figure}
@@ -475,7 +474,7 @@
세로쓰기 도중에 문서의 일부를 가로쓰기로 삽입하려면
\verb|horizontal| 환경을 이용한다.
horizontal 환경에는 가로쓰기 박스의 너비를 인자로 준다.
-\vernote{3.6}부터는 만약 인자가 비어있거나 \cs{empty}이면
+v3.6부터는 만약 인자가 비어있거나 \cs{empty}이면
본문을 한 줄짜리 박스로 식자하도록 했다. 이때 너비는 당연히 natural width가 된다.
\begin{plaintex}
@@ -500,7 +499,7 @@
\verb|typesetclassic| 환경은 고문헌 조판에 적합한 환경이다.
불필요한 공백을 없애주는 기능은
-\vernote{3.0}부터는 자동으로 동작하지 않는다. 사용자가
+v3.0부터는 자동으로 동작하지 않는다. 사용자가
\keyword{removeclassicspaces} 명령을 주어야 CJK 글자간 공백을
제거하기 시작한다.
@@ -569,12 +568,12 @@
\section{매달린 구두점}
\hemph{하이픈을 제외한} 문장부호들를 판면 바깥에 식자하여 행 끝에 매달리게 만들 수 있다.
-\vernote{3.0}부터는 \keyword{hangingpunctuations} 명령으로 활성화한다.
+v3.0부터는 \keyword{hangingpunctuations} 명령으로 활성화한다.
\cs{hangingpunctuation}은 이 명령과 동의어이다.
당분간 xetexko-hanging.sty을 로드하는 것으로도 활성화되도록 해 두었다.
이렇게 활성화되면 기본값으로 온점, 반점, 고리점, 모점에 대해서 전부 내밀기가 작동한다.
-\vernote{3.2}부터는 사용자가 원하는 문장부호를 원하는 만큼 판면 밖으로 내밀 수 있다.
+v3.2부터는 사용자가 원하는 문장부호를 원하는 만큼 판면 밖으로 내밀 수 있다.
\begin{verbatim}
\sethangingratio"28=0.5 %
\sethangingratio"3002=1 %
@@ -616,7 +615,7 @@
\begin{quote}
\verb|$가^{나^다}$|\quad$\Rightarrow\quad가^{나^다}$
\end{quote}
-\vernote{3.0}부터는
+v3.0부터는
자동으로 수식한글을 잡아주지 않으므로 사용자가 다음과 같이 명시적으로 선언해야 한다.
\begin{verbatim}
\setmathhangulfont{Noto Sans CJK KR}[
@@ -689,7 +688,7 @@
\section{밑줄긋기}
\LaTeX 에서는 \uwave{ulem 패키지}를 로드하는 것만으로 자동 지원된다.
-\cs{xetexkoulemsupport} 명령이 \vernote{3.3}부터 부활하였으므로
+\cs{xetexkoulemsupport} 명령이 v3.3부터 부활하였으므로
플레인텍에서는 이 명령을 명시해야 할 경우가 있을 것이다.%
\footnote{%
ulem 명령어의 인자 안에서도 \cs{dotemph} 명령을 쓸 수 있다.
Modified: branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty 2025-02-24 20:31:31 UTC (rev 74269)
+++ branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty 2025-02-24 20:31:39 UTC (rev 74270)
@@ -1,6 +1,6 @@
% xetexko-font.sty
%
-% Copyright (c) 2013-2021 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2025 Dohyun Kim <nomosnomos at gmail com>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -11,7 +11,7 @@
% version 2006/05/20 or later.
\ifdefined\ProvidesPackage
- \ProvidesPackage{xetexko-font}[2021/03/20 v3.0 A deprecated addendum to XeTeX-ko]
+ \ProvidesPackage{xetexko-font}[2025/02/24 v4.4 A deprecated addendum to XeTeX-ko]
\RequirePackage{xetexko}[2021/03/20]
\else
\input xetexko.sty
Modified: branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty 2025-02-24 20:31:31 UTC (rev 74269)
+++ branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty 2025-02-24 20:31:39 UTC (rev 74270)
@@ -1,6 +1,6 @@
% xetexko-hanging.sty
%
-% Copyright (c) 2013-2021 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2025 Dohyun Kim <nomosnomos at gmail com>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -11,7 +11,7 @@
% version 2006/05/20 or later.
\ifdefined\ProvidesPackage
- \ProvidesPackage{xetexko-hanging} [2021/03/20 v3.0 A depricated addendum to XeTeX-ko]
+ \ProvidesPackage{xetexko-hanging} [2025/02/24 v4.4 A depricated addendum to XeTeX-ko]
\RequirePackage{xetexko}[2021/03/20]
\else
\input xetexko.sty
Modified: branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty 2025-02-24 20:31:31 UTC (rev 74269)
+++ branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty 2025-02-24 20:31:39 UTC (rev 74270)
@@ -1,6 +1,6 @@
% xetexko-josa.sty
%
-% Copyright (c) 2013-2021 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2025 Dohyun Kim <nomosnomos at gmail com>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -11,7 +11,7 @@
% version 2006/05/20 or later.
\ifdefined\ProvidesPackage
- \ProvidesPackage{xetexko-josa}[2021/03/20 v3.0 A deprecated addendum to XeTeX-ko]
+ \ProvidesPackage{xetexko-josa}[2025/02/24 v4.4 A deprecated addendum to XeTeX-ko]
\RequirePackage{xetexko}[2021/03/20]
\else
\input xetexko.sty
Modified: branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty 2025-02-24 20:31:31 UTC (rev 74269)
+++ branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty 2025-02-24 20:31:39 UTC (rev 74270)
@@ -1,6 +1,6 @@
% xetexko-space.sty
%
-% Copyright (c) 2013-2021 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2025 Dohyun Kim <nomosnomos at gmail com>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -11,7 +11,7 @@
% version 2006/05/20 or later.
\ifdefined\ProvidesPackage
- \ProvidesPackage{xetexko-space}[2021/03/20 v3.0 A deprecated addendum to XeTeX-ko]
+ \ProvidesPackage{xetexko-space}[2025/02/24 v4.4 A deprecated addendum to XeTeX-ko]
\RequirePackage{xetexko}[2021/03/20]
\else
\input xetexko.sty
Modified: branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty 2025-02-24 20:31:31 UTC (rev 74269)
+++ branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty 2025-02-24 20:31:39 UTC (rev 74270)
@@ -1,6 +1,6 @@
% xetexko-vertical.sty
%
-% Copyright (c) 2013-2021 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2025 Dohyun Kim <nomosnomos at gmail com>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -11,7 +11,7 @@
% version 2006/05/20 or later.
\ifdefined\ProvidesPackage
- \ProvidesPackage{xetexko-vertical}[2021/03/20 v3.0 A deprecated addendum to XeTeX-ko]
+ \ProvidesPackage{xetexko-vertical}[2025/02/24 v4.4 A deprecated addendum to XeTeX-ko]
\RequirePackage{xetexko}[2021/03/20]
\else
\input xetexko.sty
Modified: branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty 2025-02-24 20:31:31 UTC (rev 74269)
+++ branches/branch2024.final/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty 2025-02-24 20:31:39 UTC (rev 74270)
@@ -1,6 +1,6 @@
% xetexko.sty
%
-% Copyright (c) 2013-2024 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2025 Dohyun Kim <nomosnomos at gmail com>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3c
@@ -16,7 +16,7 @@
\ifdefined\ProvidesPackage
\NeedsTeXFormat{LaTeX2e}[2021/11/15]
- \ProvidesPackage{xetexko}[2024/03/01 v4.3 typesetting Korean with XeTeX]
+ \ProvidesPackage{xetexko}[2025/02/24 v4.4 typesetting Korean with XeTeX]
\else
\ifdefined\@tempcnta\else \newcount\@tempcnta \fi
\ifdefined\@sptoken \else
@@ -362,9 +362,9 @@
}
\def\XeKo at Tchinese@classes{% these glyphs in traditional chinese fonts are center-aligned
\XeTeXcharclass "3001 = \XeTeXcharclassMD % 、
- \XeTeXcharclass "3002 = \XeTeXcharclassLD % 。
+ \XeTeXcharclass "3002 = \XeTeXcharclassMD % 。
\XeTeXcharclass "FF0C = \XeTeXcharclassMD % ,
- \XeTeXcharclass "FF0E = \XeTeXcharclassLD % .
+ \XeTeXcharclass "FF0E = \XeTeXcharclassMD % .
}
\protected\def\typesetvertical{%
@@ -1980,10 +1980,17 @@
\else
\linewidth\hsize \columnwidth\hsize
\fi
- \expandafter\def\expandafter\@outputpage\expandafter{%
- \expandafter\XeKo at rotatebox\expandafter\@outputbox
- \expandafter\textwidth\expandafter\textheight
- \@outputpage
+ \IfFormatAtLeastTF{2025-06-01}{%
+ \AddToHook{build/page/before}[xetexko/beforeOR]{%
+ \XeKo at rotatebox\@outputbox
+ \textwidth\textheight
+ }%
+ }{%
+ \expandafter\def\expandafter\@outputpage\expandafter{%
+ \expandafter\XeKo at rotatebox\expandafter\@outputbox
+ \expandafter\textwidth\expandafter\textheight
+ \@outputpage
+ }%
}%
\typesetvertical
\let\verticaltypesetting\relax % prevent multiple running
@@ -1990,6 +1997,7 @@
}
\def\endverticaltypesetting{%
\clearpage
+ \IfFormatAtLeastTF{2025-06-01}{\RemoveFromHook{build/page/before}[xetexko/beforeOR]}{}%
\endgroup
\global\@colroom\textheight
\global\@colht\textheight
More information about the tex-live-commits
mailing list.