texlive[63689] Master: kotex-plain (22jun22)
commits+karl at tug.org
commits+karl at tug.org
Wed Jun 22 22:49:57 CEST 2022
Revision: 63689
http://tug.org/svn/texlive?view=revision&revision=63689
Author: karl
Date: 2022-06-22 22:49:57 +0200 (Wed, 22 Jun 2022)
Log Message:
-----------
kotex-plain (22jun22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/plain/kotex-plain/ChangeLog
trunk/Master/texmf-dist/tex/plain/kotex-plain/kotexplain.tex
trunk/Master/texmf-dist/tex/plain/kotex-plain/kotexutf-core.tex
trunk/Master/texmf-dist/tex/plain/kotex-plain/kotexutf.tex
trunk/Master/tlpkg/libexec/ctan2tds
Modified: trunk/Master/texmf-dist/doc/plain/kotex-plain/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/plain/kotex-plain/ChangeLog 2022-06-22 20:48:42 UTC (rev 63688)
+++ trunk/Master/texmf-dist/doc/plain/kotex-plain/ChangeLog 2022-06-22 20:49:57 UTC (rev 63689)
@@ -1,3 +1,16 @@
+2022-06-22 Kangsoo Kim
+
+ * Upload to CTAN
+
+2022-06-22 Dohyun Kim <nomos at ktug org>
+
+ Version 3.0.0
+
+ * kotexutf-core.tex: allow non-ascii characters in labels;
+ catcodes of UTF-8 trailing tokens ("80 to "BF) are now 13 (active);
+ UTF-8 first-byte token commands are now expandable (not protected);
+ adapt to hyperref update.
+
2015-10-13 Kangsoo Kim <karnes at ktug org>
Version 2.1.1a
Modified: trunk/Master/texmf-dist/tex/plain/kotex-plain/kotexplain.tex
===================================================================
--- trunk/Master/texmf-dist/tex/plain/kotex-plain/kotexplain.tex 2022-06-22 20:48:42 UTC (rev 63688)
+++ trunk/Master/texmf-dist/tex/plain/kotex-plain/kotexplain.tex 2022-06-22 20:49:57 UTC (rev 63689)
@@ -24,7 +24,7 @@
%% 2007/06/24 1.0.2 lower multiple punctuations.
%% 2007/06/14 1.0.1 \hu was too normal a CS. use \dhucs at hu intead.
%%
-\ifx가가\else
+\ifx 가가\else
\input kotexutf
\expandafter\endinput
\fi
Modified: trunk/Master/texmf-dist/tex/plain/kotex-plain/kotexutf-core.tex
===================================================================
--- trunk/Master/texmf-dist/tex/plain/kotex-plain/kotexutf-core.tex 2022-06-22 20:48:42 UTC (rev 63688)
+++ trunk/Master/texmf-dist/tex/plain/kotex-plain/kotexutf-core.tex 2022-06-22 20:49:57 UTC (rev 63689)
@@ -1,7 +1,7 @@
%% File `kotexutf-core.tex`
%%
-%% Copyright (C) 2009-2015 Dohyun Kim <nomos at ktug org>
-%% Copyright (C) 2015 Kangsoo Kim <karnes at ktug org>
+%% Copyright (C) 2009-2022 Dohyun Kim <nomos at ktug org>
+%% Copyright (C) 2015-2022 Kangsoo Kim <karnes at ktug org>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -23,71 +23,116 @@
\def\unihangul at two@octets#1#2{%
\expandafter\unihangulchar\expandafter{%
\number\numexpr
- (`#1 - 192) * 64 +
- (`#2 - 128) \relax}}
+ (`#1 - 192) * 64 +
+ (`#2 - 128) \relax}}
\def\unihangul at three@octets#1#2#3{%
\expandafter\unihangulchar\expandafter{%
\number\numexpr
- (`#1 - 224) * 4096 +
- (`#2 - 128) * 64 +
- (`#3 - 128) \relax}}
+ (`#1 - 224) * 4096 +
+ (`#2 - 128) * 64 +
+ (`#3 - 128) \relax}}
\def\unihangul at four@octets#1#2#3#4{%
\expandafter\unihangulchar\expandafter{%
\number\numexpr
- (`#1 - 240) * 262144 +
- (`#2 - 128) * 4096 +
- (`#3 - 128) * 64 +
- (`#4 - 128) \relax}}
+ (`#1 - 240) * 262144 +
+ (`#2 - 128) * 4096 +
+ (`#3 - 128) * 64 +
+ (`#4 - 128) \relax}}
+\def\unihangul at ii@octs#1#2{%
+ \ifincsname
+ \string#1\string#2%
+ \else
+ \ifx\protect\relax
+ \ifcsname u8:\string#1\string#2\endcsname
+ \csname u8:\string#1\string#2\endcsname
+ \else
+ \expandafter\expandafter\expandafter\expandafter
+ \expandafter\expandafter\expandafter\unihangul at two@octets
+ \expandafter\expandafter\expandafter\expandafter
+ \expandafter\expandafter\expandafter#1%
+ \expandafter\expandafter\expandafter\expandafter
+ \expandafter\expandafter\expandafter#2%
+ \fi
+ \else
+ \noexpand#1\noexpand#2%
+ \fi
+ \fi
+}
+\def\unihangul at iii@octs#1#2#3{%
+ \ifincsname
+ \string#1\string#2\string#3%
+ \else
+ \ifx\protect\relax
+ \ifcsname u8:\string#1\string#2\string#3\endcsname
+ \csname u8:\string#1\string#2\string#3\endcsname
+ \else
+ \expandafter\expandafter\expandafter\expandafter
+ \expandafter\expandafter\expandafter\unihangul at three@octets
+ \expandafter\expandafter\expandafter\expandafter
+ \expandafter\expandafter\expandafter#1%
+ \expandafter\expandafter\expandafter\expandafter
+ \expandafter\expandafter\expandafter#2%
+ \expandafter\expandafter\expandafter\expandafter
+ \expandafter\expandafter\expandafter#3%
+ \fi
+ \else
+ \noexpand#1\noexpand#2\noexpand#3%
+ \fi
+ \fi
+}
+\def\unihangul at iv@octs#1#2#3#4{%
+ \ifincsname
+ \string#1\string#2\string#3\string#4%
+ \else
+ \ifx\protect\relax
+ \ifcsname u8:\string#1\string#2\string#3\string#4\endcsname
+ \csname U8:\string#1\string#2\string#3\string#4\endcsname
+ \else
+ \expandafter\expandafter\expandafter\expandafter
+ \expandafter\expandafter\expandafter\unihangul at four@octets
+ \expandafter\expandafter\expandafter\expandafter
+ \expandafter\expandafter\expandafter#1%
+ \expandafter\expandafter\expandafter\expandafter
+ \expandafter\expandafter\expandafter#2%
+ \expandafter\expandafter\expandafter\expandafter
+ \expandafter\expandafter\expandafter#3%
+ \expandafter\expandafter\expandafter\expandafter
+ \expandafter\expandafter\expandafter#4%
+ \fi
+ \else
+ \noexpand#1\noexpand#2\noexpand#3\noexpand#4%
+ \fi
+ \fi
+}
+
\count@"80 \loop
- \uccode\count@\z@
- \lccode\count@\z@
- \catcode\count@=12
+ \uccode\count@\count@
+ \lccode\count@\count@
\ifnum\count@<"BF \advance\count@\@ne \repeat
\count@"C2 \loop
- \uccode\count@\z@
- \lccode\count@\z@
+ \uccode\count@\count@
+ \lccode\count@\count@
\begingroup
\lccode`\~\count@
- \lowercase{\endgroup
- \protected\def~##1{%
- \ifcsname U8:\string~\string##1\endcsname
- \csname U8:\string~\string##1\expandafter\endcsname
- \else
- \expandafter\unihangul at two@octets
- \expandafter~\expandafter##1%
- \fi }}
+ \lowercase{\endgroup \def~{\unihangul at ii@octs~}}
\ifnum\count@<"DF \advance\count@\@ne \repeat
\count@"E0 \loop
- \uccode\count@\z@
- \lccode\count@\z@
+ \uccode\count@\count@
+ \lccode\count@\count@
\begingroup
\lccode`\~\count@
- \lowercase{\endgroup
- \protected\def~##1##2{%
- \ifcsname U8:\string~\string##1\string##2\endcsname
- \csname U8:\string~\string##1\string##2\expandafter\endcsname
- \else
- \expandafter\unihangul at three@octets
- \expandafter~\expandafter##1\expandafter##2%
- \fi }}
+ \lowercase{\endgroup \def~{\unihangul at iii@octs~}}
\ifnum\count@<"EF \advance\count@\@ne \repeat
\count@"F0 \loop
- \uccode\count@\z@
- \lccode\count@\z@
+ \uccode\count@\count@
+ \lccode\count@\count@
\begingroup
\lccode`\~\count@
- \lowercase{\endgroup
- \protected\def~##1##2##3{%
- \ifcsname U8:\string~\string##1\string##2\string##3\endcsname
- \csname U8:\string~\string##1\string##2\string##3\expandafter\endcsname
- \else
- \expandafter\unihangul at four@octets
- \expandafter~\expandafter##1\expandafter##2\expandafter##3%
- \fi }}
+ \lowercase{\endgroup \def~{\unihangul at iv@octs~}}
\ifnum\count@<"F4 \advance\count@\@ne \repeat
%% subfont plane and char slot
Modified: trunk/Master/texmf-dist/tex/plain/kotex-plain/kotexutf.tex
===================================================================
--- trunk/Master/texmf-dist/tex/plain/kotex-plain/kotexutf.tex 2022-06-22 20:48:42 UTC (rev 63688)
+++ trunk/Master/texmf-dist/tex/plain/kotex-plain/kotexutf.tex 2022-06-22 20:49:57 UTC (rev 63689)
@@ -1,8 +1,9 @@
%% File `kotexutf.tex`
%%
+%% 2022.06.22 v3.0
%% 2010.01.04 v1.1
%%
-%% Copyright (C) 2010-2013 Dohyun Kim <nomos at ktug org>
+%% Copyright (C) 2010-2022 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
@@ -23,6 +24,7 @@
\makeatletter
+\unless\ifdefined\@gobble \long\def\@gobble#1{}\fi
\unless\ifdefined\@tempcnta \newcount\@tempcnta\fi
\unless\ifdefined\@tempcntb \newcount\@tempcntb\fi
\unless\ifdefined\@empty \let\@empty\empty\fi
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2022-06-22 20:48:42 UTC (rev 63688)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2022-06-22 20:49:57 UTC (rev 63689)
@@ -720,6 +720,7 @@
'koma-script-examples-3', "die 'skipping, just have koma-script-examples'",
'koma-script-examples-4', "die 'skipping, just have koma-script-examples'",
'koma-script-obsolete', "die 'skipping, obsolete on CTAN'",
+ 'kotex-plain', "&MAKEflatten",
'kpfonts', "&MAKEflatten",
'kpfonts-otf', "&MAKEflatten",
'ktv-texdata', "&MAKEflatten",
More information about the tex-live-commits
mailing list.