texlive[53002] Master/texmf-dist: xetexko (2dec19)
commits+karl at tug.org
commits+karl at tug.org
Mon Dec 2 22:59:16 CET 2019
Revision: 53002
http://tug.org/svn/texlive?view=revision&revision=53002
Author: karl
Date: 2019-12-02 22:59:15 +0100 (Mon, 02 Dec 2019)
Log Message:
-----------
xetexko (2dec19)
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-font.sty
trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty
trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty
trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty
trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty
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 2019-12-02 21:59:03 UTC (rev 53001)
+++ trunk/Master/texmf-dist/doc/xetex/xetexko/ChangeLog 2019-12-02 21:59:15 UTC (rev 53002)
@@ -1,3 +1,9 @@
+2019-12-01 Dohyun Kim <nomos at ktug org>
+
+ Version 2.22
+
+ * xetexko-font.sty: expl3 deprecation removals
+
2018-08-08 Dohyun Kim <nomos at ktug org>
Version 2.21
Modified: trunk/Master/texmf-dist/doc/xetex/xetexko/README
===================================================================
--- trunk/Master/texmf-dist/doc/xetex/xetexko/README 2019-12-02 21:59:03 UTC (rev 53001)
+++ trunk/Master/texmf-dist/doc/xetex/xetexko/README 2019-12-02 21:59:15 UTC (rev 53002)
@@ -1,4 +1,4 @@
-XeTeX-ko Package version 2.21 (2018/08/08)
+XeTeX-ko Package version 2.22 (2019/12/01)
=========================================
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 2019-12-02 21:59:03 UTC (rev 53001)
+++ trunk/Master/texmf-dist/doc/xetex/xetexko/xetexko-doc.tex 2019-12-02 21:59:15 UTC (rev 53002)
@@ -7,15 +7,20 @@
\documentclass[a4paper]{article}
\usepackage[hmargin=3.8cm]{geometry}
\usepackage[hangul]{xetexko}
+\defaultfontfeatures+{Script=Hangul, Language=Korean}
\setmainhangulfont{Noto Serif CJK KR}[
- Script=Hangul, Language=Korean,
- UprightFont=* Light,
- BoldFont=* Bold,
+ UprightFont=* Light, BoldFont=* Bold,
]
\setsanshangulfont{Noto Sans CJK KR}[
- Script=Hangul, Language=Korean,
UprightFont=* DemiLight,
]
+\setmathhangulfont{Noto Sans CJK KR}[
+ SizeFeatures={
+ {Size=-6, Font=* Medium},
+ {Size=6-9, Font=*},
+ {Size=9-, Font=* DemiLight},
+ },
+]
\usepackage{xetexko-hanging, hologo, xcolor, ulem}
\usepackage[bookmarksnumbered,hidelinks]{hyperref}
@@ -54,12 +59,13 @@
\def\hemph#1{\textsf{\bfseries #1}}
\def\hparen#1{{\small\hangulparens(#1)}}
\def\hparens#1{\leavevmode\unskip---{\small #1}---\ignorespaces}
+\def\keyword#1{\leavevmode\marginpar{\hfuzz\maxdimen\footnotesize\cs{#1}}}
\begin{document}
\title{\xetexko\ 간단 매뉴얼}
\author{Dohyun Kim \normalsize <\texttt{nomos at ktug org}> \and
\normalsize <\url{http://github.com/dohyunkim/xetexko}>}
-\date{Version 2.21\quad 2018/08/08}
+\date{Version 2.22\quad 2019/12/01}
\maketitle
\begin{quote}\small
@@ -186,6 +192,7 @@
\end{verbatim}
\end{plaintex}
+\keyword{fallbackhanjafont}%
\cs{fallbackhanjafont}를 정의해두면 \hemph{한자 글꼴에도 없는 한자}를
이 글꼴에서 찾아 식자한다. \verb|\newfontfamily| 명령 등으로 정의한다.
@@ -214,6 +221,7 @@
참고로, 한자와 한글을 같은 글꼴로 식자하고 싶을 때 글꼴 설정을
번거롭게 두 번 할 필요 없이 한글 글꼴만 설정한 뒤 간단히
+\keyword{hanjabyhangulfont}%
\cs{hanjabyhangulfont}를 선언하면 된다.%
\footnote{앞 절의 main/sans 글꼴 명령들과 달리 한글 폰트가 자동으로
한자에도 적용되지 않는다는 말이다. 어쨌든 이미 한자 폰트가 지정돼 있는
@@ -442,24 +450,25 @@
\section{세로쓰기}\label{sec:verttype}
세로쓰기를 위한 글꼴 지정은 다음과 같다.
-역시 고급 오픈타입 기능을 이용하는 것이므로
-폰트가 이를 지원해야 한다.%
-\footnote{만일 폰트의 세로쓰기 글자폭이 가로쓰기와 다르다면
+역시 고급 오픈타입 기능을 이용하는 것이므로 폰트가 이를 지원해야 한다.%
+\footnote{폰트의 세로쓰기 글자폭이 가로쓰기와 다르다면
\cs{verticalem=1.05em} 같은 선언을 미리 해두는 게 좋다.}
\begin{verbatim}
- \setmainhangulfont{Adobe Myungjo Std}[ Vertical=RotatedGlyphs ]
+ \setmainhangulfont{Noto Sans CJK KR}[
+ Vertical=Alternates, RawFeature=vertical ]
\end{verbatim}
+\keyword{verticaltypesetting}%
문서 전체를 세로쓰기할 때 \cs{verticaltypesetting}을 선언하면
-면주는 그대로 두고 본문만 세로쓰기한다.\footnote{당연히 면주의 글꼴에는
+면주는 그대로 두고 본문만 세로쓰기한다.\footnote{면주의 글꼴에는
\texttt{Vertical} 옵션이 없어야 할 것이다.
면주 글꼴을 따로 지정하는 것은 사용자의 몫이다. }
-문서의 일부를 세로쓰기 하려면 vertical 환경을 이용한다.
+문서의 일부를 세로쓰기 하려면 \verb|vertical| 환경을 이용한다.
vertical 환경의 인자는 세로쓰기 박스의 세로 길이이다.
보통 그 뒤에 세로쓰기에 사용할 글꼴 명령이 온다.
\begin{figure}
\begin{example}
\hfil\begin{vertical}{16em}
- \sffamily\addhangulfontfeatures{Vertical=RotatedGlyphs,CharRaise=.5ex,
+ \sffamily\addhangulfontfeatures{Vertical=Alternates,CharRaise=.5ex,
RawFeature=vertical}
\hanjabyhangulfont \parindent-1em\leftskip1em
\noindent 님의 침묵 (The Silent Beloved)
@@ -480,7 +489,8 @@
\begin{verbatim}
\begin{vertical}{12em}
- \hangulfontspec{Adobe Myungjo Std}[ Vertical=RotatedGlyphs ]
+ \hangulfontspec{Noto Sans CJK KR}[
+ Vertical=Alternates, RawFeature=vertical ]
세로쓰기로 식자할 부분
\end{vertical}
\end{verbatim}
@@ -493,12 +503,13 @@
\begin{plaintex}
플레인텍이라면,
\begin{verbatim}
- \vertical{16em}\hangulfont="Adobe Myungjo Std:vertical"
+ \vertical{16em}\hangulfont="Noto Sans CJK KR:vertical;+vert"
세로쓰기로 식자할 부분
\endvertical
\end{verbatim}
\end{plaintex}
-세로쓰기 도중에 문서의 일부를 가로쓰기하려면 horizontal 환경을 이용하라.
+세로쓰기 도중에 문서의 일부를 가로쓰기로 삽입하려면
+\verb|horizontal| 환경을 이용한다.
horizontal 환경에는 가로쓰기 박스의 너비를 인자로 주어야 한다.
가로쓰기 영역의 폰트 설정은 사용자의 몫이다.
@@ -505,12 +516,12 @@
\section{고문헌·일본어·중국어}
띄어쓰기가 없는 옛문헌이나 일본어 단락 따위를 삽입할 때
-japanese 혹은 chinese 환경을 선언하는 것이 좋다.
+\verb|japanese| 혹은 \verb|chinese| 환경을 선언하는 것이 좋다.
들여쓰기\footnote {들여쓰기 기본값은 japanese는 1em 이고 chinese는 2em 이다.}
및 자간 조절이 자동으로 이루어지며
사용자가 입력한 불필요한 공백도 없애준다.
-Schinese 환경은 chinese의 다른 이름이다.
-Tchinese도 제공하는데 중국어 번체 글꼴을 사용한다면 이 환경을 이용하라.
+\verb|Schinese| 환경은 chinese의 다른 이름이다.
+\verb|Tchinese|도 제공하는데 중국어 번체 글꼴을 사용한다면 이 환경을 이용하라.
일반적으로 우리 고문헌 조판에는 japanese 환경이 더 적합하다.
\begin{figure}
@@ -526,9 +537,9 @@
\caption{고문헌 조판 보기. japanese 환경을 이용했다.}\label{fig:ancientdoc}
\end{figure}
+\keyword{inhibitglue}%
\cs{inhibitglue} 명령은 일본어 등 환경에서 가끔 유용한데,
-해당 지점에 자동 삽입되는 공백을 영(zero)으로
-만들어준다.
+해당 지점에 자동 삽입되는 공백을 영(zero)으로 만들어준다.
\section{매달린 구두점}
마침표, 쉼표, 인용부호를 판면 바깥에 식자하여 행 끝에 매달리게 만든다.
@@ -565,7 +576,11 @@
수식 한글은 따로 설정하지 않으면 문서의 기본 글꼴을 따라가지만
굳이 설정하려면 다음과 같이 한다. 이 명령은 플레인텍에서도 쓸 수 있다.
\begin{verbatim}
- \setmathhangulfont{NanumGothic}
+ \setmathhangulfont{Noto Sans CJK KR}[
+ SizeFeatures={ {Size=-6, Font=* Medium},
+ {Size=6-9, Font=*},
+ {Size=9-, Font=* DemiLight} }
+ ]
\end{verbatim}
현재 한글만 쓸 수 있게 설정되어 있다.
한자도 수식에 직접 입력하려면 사용자는
@@ -588,6 +603,7 @@
\end{verbatim}
\section{드러냄표}
+\keyword{dotemph}%
\dotemph{드러냄표} 강조도 \kotex 과 대동소이하다.
기본은 글자 위에 점을 찍는 형태이나 다음 명령을 이용해 개인적으로 선호하는
기호를 드러냄표로 쓸 수 있다.
@@ -620,7 +636,8 @@
플레인텍에서는 패키지 로드 후 사용자가 \cs{xetexkoulemsupport}
명령을 내려주어야 한다.
\end{plaintex}
-%\hfill \fboxsep=-\fboxrule \fbox{\vbox to1em{\hbox to1em{\hss}\vss}}
+\hfill \fboxsep=-\fboxrule \fbox{\vbox to1em{\hbox to1em{\hss}\vss}}
+
\end{document}
Modified: trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty 2019-12-02 21:59:03 UTC (rev 53001)
+++ trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-font.sty 2019-12-02 21:59:15 UTC (rev 53002)
@@ -1,6 +1,6 @@
% xetexko-font.sty
%
-% Copyright (c) 2013-2018 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2019 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
@@ -10,7 +10,7 @@
% and version 1.3c or later is part of all distributions of LaTeX
% version 2006/05/20 or later.
-\ProvidesPackage{xetexko-font}[2018/08/08 v2.21 LaTeX Font commands for XeTeX-ko]
+\ProvidesPackage{xetexko-font}[2019/12/01 v2.22 LaTeX Font commands for XeTeX-ko]
\let\xetexko at f@size\f at size
\RequirePackage{fontspec}[2018/07/30]
@@ -25,30 +25,35 @@
% hangul font options
\tl_new:N \l_xtxko_font_opts_tl
\tl_new:N \l_xtxko_font_opts_init_tl
+\tl_new:N \l_xtxko_hangul_font_opts_init_tl
+\tl_new:N \l_xtxko_hanja_font_opts_init_tl
+\tl_new:N \l_xtxko_rem_tl
+\int_const:Nn \c__xtxko_one_int { 1 }
+\int_const:Nn \c__xtxko_two_int { 2 }
\tl_set:Nn \l_xtxko_font_opts_init_tl
{
- \tl_clear:N \xetexkointerhchar
- \tl_clear:N \xetexkolowerexclamation
- \tl_clear:N \xetexkolowerperiod
- \tl_clear:N \xetexkolowercomma
- \tl_clear:N \xetexkolowerquestion
- \tl_clear:N \xetexkopostexclamationkern
- \tl_clear:N \xetexkopostperiodkern
- \tl_clear:N \xetexkopostcommakern
- \tl_clear:N \xetexkopostquestionkern
- \tl_clear:N \xetexkopreexclamationkern
- \tl_clear:N \xetexkopreperiodkern
- \tl_clear:N \xetexkoprecommakern
- \tl_clear:N \xetexkoprequestionkern
- \tl_clear:N \xetexkoquoteraise
- \tl_clear:N \xetexkoquotewidth
- \tl_clear:N \xetexkocharraise
- \tl_set:Nn \xetexkohu {0.05em}
- \tl_set:Nn \xetexkopostmathskip {\dim_eval:n {\xetexkohu*2}}
+ \cs_set_eq:NN \xetexkointerhchar \c_empty_tl
+ \cs_set_eq:NN \xetexkolowerexclamation \c_empty_tl
+ \cs_set_eq:NN \xetexkolowerperiod \c_empty_tl
+ \cs_set_eq:NN \xetexkolowercomma \c_empty_tl
+ \cs_set_eq:NN \xetexkolowerquestion \c_empty_tl
+ \cs_set_eq:NN \xetexkopostexclamationkern \c_empty_tl
+ \cs_set_eq:NN \xetexkopostperiodkern \c_empty_tl
+ \cs_set_eq:NN \xetexkopostcommakern \c_empty_tl
+ \cs_set_eq:NN \xetexkopostquestionkern \c_empty_tl
+ \cs_set_eq:NN \xetexkopreexclamationkern \c_empty_tl
+ \cs_set_eq:NN \xetexkopreperiodkern \c_empty_tl
+ \cs_set_eq:NN \xetexkoprecommakern \c_empty_tl
+ \cs_set_eq:NN \xetexkoprequestionkern \c_empty_tl
+ \cs_set_eq:NN \xetexkoquoteraise \c_empty_tl
+ \cs_set_eq:NN \xetexkoquotewidth \c_empty_tl
+ \cs_set_eq:NN \xetexkocharraise \c_empty_tl
+ \cs_set_nopar:Npn \xetexkohu {0.05em}
+ \cs_set_nopar:Npn \xetexkopostmathskip {\dim_eval:n {\xetexkohu*2}}
}
\cs_new:Nn \__xtxko_add_font_opt:Nn
{
- \tl_put_right:Nn \l_xtxko_font_opts_tl { \tl_set:Nn #1 {#2} }
+ \tl_put_right:Nn \l_xtxko_font_opts_tl { \cs_set_nopar:Npn #1 {#2} }
}
\keys_define:nn { xtxko-font }
{
@@ -93,7 +98,6 @@
PunctRaise .meta:n = { lowerperiod = { \dim_eval:n {-#1} } } ,
CharRaise .meta:n = { charraise = {#1} } ,
}
-\tl_new:N \l_xtxko_rem_tl
\tl_set_eq:NN \l_xtxko_hangul_font_opts_init_tl \l_xtxko_font_opts_init_tl
\cs_new:Nn \__xtxko_hangul_assign_font_opts:n
{
@@ -108,24 +112,24 @@
}
\cs_new:Nn \__xtxko_def_XKhan__fonts:nnn
{
- \tl_if_eq:NNF #1 \relax
+ \cs_if_eq:NNF #1 \relax
{
- \tl_if_eq:ccT \familydefault #2
+ \str_if_eq:eeT \familydefault #2
{
- \tl_if_eq:NNTF \XKhangulfont #1
+ \cs_if_eq:NNTF \XKhangulfont #1
{
- \tl_set:Nn #1
+ \cs_set_nopar:Npn #1
{
\XK at storeltnfont
- \chardef\XKcurrentfont \c_one #3
+ \chardef\XKcurrentfont \c__xtxko_one_int #3
\XK at storecjkfont
}
}
{
- \tl_set:Nn #1
+ \cs_set_nopar:Npn #1
{
\XK at storeltnfont
- \chardef\XKcurrentfont \c_two #3
+ \chardef\XKcurrentfont \c__xtxko_two_int #3
\XK at storecjkfont
}
}
@@ -184,10 +188,10 @@
\__xtxko_hangul_assign_font_opts:n {#1,#3}
\setfontfamily \XK at adhoc@hangul at font [\l_xtxko_rem_tl] {#2}
\tl_put_right:NV \XK at adhoc@hangul at font \l_xtxko_font_opts_tl
- \tl_set:Nn \XKhangulfont
+ \cs_set_nopar:Npn \XKhangulfont
{
\XK at storeltnfont
- \tl_set_eq:NN \XKcurrentfont \c_one
+ \cs_set_eq:NN \XKcurrentfont \c__xtxko_one_int
\XK at adhoc@hangul at font
\XK at storecjkfont
}
@@ -199,10 +203,10 @@
\__xtxko_hanja_assign_font_opts:n {#1,#3}
\setfontfamily \XK at adhoc@hanja at font [\l_xtxko_rem_tl] {#2}
\tl_put_right:NV \XK at adhoc@hanja at font \l_xtxko_font_opts_tl
- \tl_set:Nn \XKhanjafont
+ \cs_set_nopar:Npn \XKhanjafont
{
\XK at storeltnfont
- \tl_set_eq:NN \XKcurrentfont \c_two
+ \cs_set_eq:NN \XKcurrentfont \c__xtxko_two_int
\XK at adhoc@hanja at font
\XK at storecjkfont
}
@@ -213,16 +217,14 @@
\DeclareDocumentCommand \newhangulfontfamily { m O{} m O{} }
{
\__xtxko_hangul_assign_font_opts:n {#2,#4}
- \exp_args:Nc \setfontfamily { XK at newfont@family \token_to_str:N #1 }
- [\l_xtxko_rem_tl] {#3}
- \tl_put_right:cV { XK at newfont@family \token_to_str:N #1 }
- \l_xtxko_font_opts_tl
+ \exp_args:Nc \setfontfamily { XK at newfont@family \token_to_str:N #1 } [\l_xtxko_rem_tl] {#3}
+ \tl_put_right:cV { XK at newfont@family \token_to_str:N #1 } \l_xtxko_font_opts_tl
\DeclareRobustCommand #1
{
- \tl_set:Nn \XKhangulfont
+ \cs_set_nopar:Npn \XKhangulfont
{
\XK at storeltnfont
- \tl_set_eq:NN \XKcurrentfont \c_one
+ \cs_set_eq:NN \XKcurrentfont \c__xtxko_one_int
\use:c { XK at newfont@family \token_to_str:N #1 }
\XK at storecjkfont
}
@@ -231,16 +233,14 @@
\DeclareDocumentCommand \newhanjafontfamily { m O{} m O{} }
{
\__xtxko_hanja_assign_font_opts:n {#2,#4}
- \exp_args:Nc \setfontfamily { XK at newfont@family \token_to_str:N #1 }
- [\l_xtxko_rem_tl] {#3}
- \tl_put_right:cV { XK at newfont@family \token_to_str:N #1 }
- \l_xtxko_font_opts_tl
+ \exp_args:Nc \setfontfamily { XK at newfont@family \token_to_str:N #1 } [\l_xtxko_rem_tl] {#3}
+ \tl_put_right:cV { XK at newfont@family \token_to_str:N #1 } \l_xtxko_font_opts_tl
\DeclareRobustCommand #1
{
- \tl_set:Nn \XKhanjafont
+ \cs_set_nopar:Npn \XKhanjafont
{
\XK at storeltnfont
- \tl_set_eq:NN \XKcurrentfont \c_two
+ \cs_set_eq:NN \XKcurrentfont \c__xtxko_two_int
\use:c { XK at newfont@family \token_to_str:N #1 }
\XK at storecjkfont
}
@@ -249,16 +249,14 @@
\DeclareDocumentCommand \newhangulfontface { m O{} m O{} }
{
\__xtxko_hangul_assign_font_opts:n {#2,#4}
- \exp_args:Nc \newfontface { XK at newfont@family \token_to_str:N #1 }
- [\l_xtxko_rem_tl] {#3}
- \tl_put_right:cV { XK at newfont@family \token_to_str:N #1 }
- \l_xtxko_font_opts_tl
+ \exp_args:Nc \newfontface { XK at newfont@family \token_to_str:N #1 } [\l_xtxko_rem_tl] {#3}
+ \tl_put_right:cV { XK at newfont@family \token_to_str:N #1 } \l_xtxko_font_opts_tl
\DeclareRobustCommand #1
{
- \tl_set:Nn \XKhangulfont
+ \cs_set_nopar:Npn \XKhangulfont
{
\XK at storeltnfont
- \tl_set_eq:NN \XKcurrentfont \c_one
+ \cs_set_eq:NN \XKcurrentfont \c__xtxko_one_int
\use:c { XK at newfont@family \token_to_str:N #1 }
\XK at storecjkfont
}
@@ -267,16 +265,14 @@
\DeclareDocumentCommand \newhanjafontface { m O{} m O{} }
{
\__xtxko_hanja_assign_font_opts:n {#2,#4}
- \exp_args:Nc \newfontface { XK at newfont@family \token_to_str:N #1 }
- [\l_xtxko_rem_tl] {#3}
- \tl_put_right:cV { XK at newfont@family \token_to_str:N #1 }
- \l_xtxko_font_opts_tl
+ \exp_args:Nc \newfontface { XK at newfont@family \token_to_str:N #1 } [\l_xtxko_rem_tl] {#3}
+ \tl_put_right:cV { XK at newfont@family \token_to_str:N #1 } \l_xtxko_font_opts_tl
\DeclareRobustCommand #1
{
- \tl_set:Nn \XKhanjafont
+ \cs_set_nopar:Npn \XKhanjafont
{
\XK at storeltnfont
- \tl_set_eq:NN \XKcurrentfont \c_two
+ \cs_set_eq:NN \XKcurrentfont \c__xtxko_two_int
\use:c { XK at newfont@family \token_to_str:N #1 }
\XK at storecjkfont
}
@@ -293,7 +289,7 @@
\use:x
{
\group_end:
- \exp_not:N \tl_set:Nn \exp_not:N \XKhangulfont
+ \exp_not:N \cs_set_nopar:Npn \exp_not:N \XKhangulfont
{
\exp_not:V \XKhangulfont
\exp_not:N \fontfamily { \f at family } \exp_not:N \selectfont
@@ -314,7 +310,7 @@
\use:x
{
\group_end:
- \exp_not:N \tl_set:Nn \exp_not:N \XKhanjafont
+ \exp_not:N \cs_set_nopar:Npn \exp_not:N \XKhanjafont
{
\exp_not:V \XKhanjafont
\exp_not:N \fontfamily { \f at family } \exp_not:N \selectfont
@@ -382,20 +378,32 @@
\RenewDocumentCommand \setmainfont { O{} m O{} }
{
\__fontspec_main_setmainfont:nn {#1,#3} {#2}
- \protected\edef\rmfamily{\unexpanded\expandafter{\rmfamily\XK at rm@korean at font}}
+ \cs_set_protected_nopar:Npx \rmfamily
+ {
+ \exp_not:V \rmfamily
+ \exp_not:N \XK at rm@korean at font
+ }
\ignorespaces
}
\RenewDocumentCommand \setsansfont { O{} m O{} }
{
\__fontspec_main_setsansfont:nn {#1,#3} {#2}
- \protected\edef\sffamily{\unexpanded\expandafter{\sffamily\XK at sf@korean at font}}
+ \cs_set_protected_nopar:Npx \sffamily
+ {
+ \exp_not:V \sffamily
+ \exp_not:N \XK at sf@korean at font
+ }
\ignorespaces
}
\RenewDocumentCommand \setmonofont { O{} m O{} }
{
\__fontspec_main_setmonofont:nn {#1,#3} {#2}
- \protected\edef\ttfamily{\unexpanded\expandafter{\ttfamily\XK at tt@korean at font
- \disablehangulspacing}}
+ \cs_set_protected_nopar:Npx \ttfamily
+ {
+ \exp_not:V \ttfamily
+ \exp_not:N \XK at tt@korean at font
+ \exp_not:N \disablehangulspacing
+ }
\ignorespaces
}
\cs_set_eq:NN \setromanfont \setmainfont
Modified: trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty 2019-12-02 21:59:03 UTC (rev 53001)
+++ trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-hanging.sty 2019-12-02 21:59:15 UTC (rev 53002)
@@ -1,6 +1,6 @@
% xetexko-hanging.sty
%
-% Copyright (c) 2013-2018 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2019 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
@@ -13,7 +13,7 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
\ProvidesPackage{xetexko-hanging}
- [2018/04/06 v2.18 Hanging punctuations for XeTeX-ko]
+ [2019/12/01 v2.22 Hanging punctuations for XeTeX-ko]
\fi
\chardef\catcodeofATcharacter\catcode`@
Modified: trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty 2019-12-02 21:59:03 UTC (rev 53001)
+++ trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-josa.sty 2019-12-02 21:59:15 UTC (rev 53002)
@@ -1,6 +1,6 @@
% xetexko-josa.sty
%
-% Copyright (c) 2013-2018 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2019 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
@@ -12,7 +12,7 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
- \ProvidesPackage{xetexko-josa}[2018/04/06 v2.18 Auto-josa for XeTeX-ko]
+ \ProvidesPackage{xetexko-josa}[2019/12/01 v2.22 Auto-josa for XeTeX-ko]
\fi
\unless\ifcsname @tempcnta\endcsname
Modified: trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty 2019-12-02 21:59:03 UTC (rev 53001)
+++ trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-space.sty 2019-12-02 21:59:15 UTC (rev 53002)
@@ -1,6 +1,6 @@
% xetexko-space.sty
%
-% Copyright (c) 2013-2018 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2019 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
@@ -13,7 +13,7 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
\ProvidesPackage{xetexko-space}
- [2018/04/19 v2.19 Spacings and fonts for XeTeX-ko]
+ [2019/12/01 v2.22 Spacings and fonts for XeTeX-ko]
\fi
%%% we need XeTeX > 0.997
Modified: trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty 2019-12-02 21:59:03 UTC (rev 53001)
+++ trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko-vertical.sty 2019-12-02 21:59:15 UTC (rev 53002)
@@ -1,6 +1,6 @@
% xetexko-vertical.sty
%
-% Copyright (c) 2013-2018 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2019 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
@@ -13,7 +13,7 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
\ProvidesPackage{xetexko-vertical}
- [2018/04/06 v2.18 Vertical environment for XeTeX-ko]
+ [2019/12/01 v2.22 Vertical environment for XeTeX-ko]
\fi
% do not veticalize headline/footline
Modified: trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty
===================================================================
--- trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty 2019-12-02 21:59:03 UTC (rev 53001)
+++ trunk/Master/texmf-dist/tex/xetex/xetexko/xetexko.sty 2019-12-02 21:59:15 UTC (rev 53002)
@@ -1,6 +1,6 @@
% xetexko.sty
%
-% Copyright (c) 2013-2018 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2019 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
@@ -12,7 +12,7 @@
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname ProvidesPackage\endcsname\relax\else
- \ProvidesPackage{xetexko}[2018/04/19 v2.19 Typesetting Korean with XeTeX]
+ \ProvidesPackage{xetexko}[2019/12/01 v2.22 Typesetting Korean with XeTeX]
\fi
\begingroup\expandafter\expandafter\expandafter\endgroup
More information about the tex-live-commits
mailing list