diff options
author | Karl Berry <karl@freefriends.org> | 2024-03-01 21:39:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-03-01 21:39:03 +0000 |
commit | f4af93f173c369f2b78c7e0ade07c5766e9f01bd (patch) | |
tree | 48f4cd290a5086296a4f7aa820244de785abfb3e | |
parent | 8499fd001092b7f9d2f9f092cb080e9afe648ae8 (diff) |
cjk-ko (1mar24)
git-svn-id: svn://tug.org/texlive/trunk@70300 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/cjk-ko/ChangeLog | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/cjk-ko/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdf | bin | 174357 -> 174340 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.tex | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-josa.sty | 57 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty | 6 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-nanummjhanja.sty | 8 |
7 files changed, 43 insertions, 40 deletions
diff --git a/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog b/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog index 108a648a873..8bbc4f13f63 100644 --- a/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog +++ b/Master/texmf-dist/doc/latex/cjk-ko/ChangeLog @@ -1,3 +1,9 @@ +2024-03-01 Dohyun Kim <nomos at ktug org> + + Version 2.5 + + * cjkutf8-*.sty: use LaTeX's hook mechanism + 2023-05-31 Dohyun Kim <nomos at ktug org> Version 2.4 diff --git a/Master/texmf-dist/doc/latex/cjk-ko/README b/Master/texmf-dist/doc/latex/cjk-ko/README index c44acf7170e..e74d109e65b 100644 --- a/Master/texmf-dist/doc/latex/cjk-ko/README +++ b/Master/texmf-dist/doc/latex/cjk-ko/README @@ -1,4 +1,4 @@ -CJK-ko package version 2.4 (2023/05/31) +CJK-ko package version 2.5 (2024/03/01) ======================================= This package supports typesetting of modern Korean documents with the help diff --git a/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdf b/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdf Binary files differindex ebee2e80183..fbb488ed48b 100644 --- a/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdf +++ b/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.pdf diff --git a/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.tex b/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.tex index c5a38e4905b..6203c094494 100644 --- a/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.tex +++ b/Master/texmf-dist/doc/latex/cjk-ko/cjk-ko-doc.tex @@ -25,7 +25,7 @@ \title{\cjkko\ 간단 매뉴얼} \author{Dohyun Kim \normalsize $<$\texttt{nomos at ktug org}$>$ \and \normalsize $<$\url{http://github.com/dohyunkim/cjk-ko}$>$} -\date{Version 2.4\quad \today} +\date{Version 2.5\quad \today} \begin{document} \maketitle @@ -124,7 +124,7 @@ \item \koTeX 과 마찬가지로 \cs{은} \cs{는} \cs{이} \cs{가} \cs{을} \cs{를} \cs{와} \cs{과} \cs{로} \cs{으로} \cs{라} \cs{이라}\,를 쓸 수 있다. - \item \cs{ref} \cs{pageref} \cs{cite} 뒤에서만 정상 동작 + \item \cs{ref} \cs{pageref} \cs{nameref} \cs{cite} 뒤에서만 정상 동작 \item 아스키문자와 한글 뒤에서만 정상 동작 \item 사용자가 \cs{jong} \cs{jung} \cs{rieul} 명령을 첨가해 조사 선택을 바로잡을 수 있다.\par diff --git a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-josa.sty b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-josa.sty index f96f1db2a55..e89e9cffe26 100644 --- a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-josa.sty +++ b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-josa.sty @@ -1,6 +1,6 @@ % cjkutf8-josa.sty % -% Copyright (c) 2016-2023 Dohyun Kim <nomos at ktug org> +% Copyright (c) 2016-2024 Dohyun Kim <nomos at ktug org> % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by @@ -17,17 +17,16 @@ % Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, % MA 02110-1301 USA -\ProvidesPackage{cjkutf8-josa}[2023/05/31 v2.4 Automatic Josa selection for cjk-ko] +\ProvidesPackage{cjkutf8-josa}[2024/03/01 v2.5 Automatic Josa selection for cjk-ko] -\AtBeginDocument{ - \ifx\use@josa\undefined\else - % redefine \@setref - \let\CJKKO@orig@setref\@setref - \def\@setref#1#2#3{\CJKKO@orig@setref{#1}{#2}{#3}% - \ifx#1\relax\else - \cjkko@prepare@josa@str{\expandafter#2#1}% - \fi } - % redefine \@cite@ofmt +\ifx\use@josa\undefined\else + % redefine \@setref + \AddToHookWithArguments{cmd/@setref/after}{% + \ifx#1\relax\else + \cjkko@prepare@josa@str{\expandafter#2#1}% + \fi } + % redefine \@cite@ofmt + \AtBeginDocument{ \let\CJKKO@orig@cite@ofmt\@cite@ofmt \def\@cite@ofmt#1{\CJKKO@orig@cite@ofmt{#1}% \bgroup @@ -36,10 +35,10 @@ \def\beamer@sort##1##2{}% \def\hyperlink##1##2{##2}% for beamer: not from kotexutf \cjkko@prepare@josa@str{#1}% - \egroup} - % partially support biblatex's \cite - \@ifpackageloaded{biblatex}{% - \renewrobustcmd*{\blx@imc@printfield}[2][]{% + \egroup}} + % partially support biblatex's \cite + \AddToHook{package/biblatex/after}{% + \renewrobustcmd*{\blx@imc@printfield}[2][]{% \blx@imc@iffieldundef{#2} {\blx@nounit} {\blx@getformat\blx@theformat{ffd}{#1}{#2}% @@ -52,17 +51,17 @@ \expandafter\expandafter \expandafter{\csname abx@field@#2\endcsname}% \cjkko@prepare@josa@str{\csname abx@field@#2\endcsname}% - \blx@endunit}}}}{} - \fi - \@ifpackageloaded{hyperref}{\g@addto@macro\pdfstringdefPreHook{% - \let\jong\relax - \let\rieul\relax - \let\jung\relax - \def\^^ea{^^ea}% - \def\^^eb{^^eb}% - \def\^^ec{^^ec}% - }}{} -} + \blx@endunit}}}} +\fi + +\AddToHook{package/hyperref/after}{\g@addto@macro\pdfstringdefPreHook{% + \let\jong\relax + \let\rieul\relax + \let\jung\relax + \def\^^ea{^^ea}% + \def\^^eb{^^eb}% + \def\^^ec{^^ec}% +}} % support hangul syllables (0xAC00..0xD7A3) \def\cjkko@josa@ea{\cjkko@josa@hangul@syllableS{"EA}} @@ -99,9 +98,9 @@ } %%% user commands: \jong \jung \rieul -\protected\def\jong {\let\josa@str\empty\chardef\@josa\z@ } -\protected\def\rieul{\let\josa@str\empty\chardef\@josa\@ne} -\protected\def\jung {\let\josa@str\empty\chardef\@josa\tw@} +\protected\def\jong {\global\let\josa@str\empty\global\chardef\@josa\z@ } +\protected\def\rieul{\global\let\josa@str\empty\global\chardef\@josa\@ne} +\protected\def\jung {\global\let\josa@str\empty\global\chardef\@josa\tw@} \jung \def\cjkko@josa@str@end{cjkko@josa@str@end} diff --git a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty index f93d6c7c9ca..20476f99c76 100644 --- a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty +++ b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-ko.sty @@ -1,6 +1,6 @@ % cjkutf8-ko.sty % -% Copyright (c) 2016-2023 Dohyun Kim <nomos at ktug org> +% Copyright (c) 2016-2024 Dohyun Kim <nomos at ktug org> % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by @@ -17,8 +17,8 @@ % Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, % MA 02110-1301 USA -\NeedsTeXFormat{LaTeX2e}[2022/06/01] -\ProvidesPackage{cjkutf8-ko}[2023/05/31 v2.4 Hangul typesetting on CJKutf8] +\NeedsTeXFormat{LaTeX2e}[2023/06/01] +\ProvidesPackage{cjkutf8-ko}[2024/03/01 v2.5 Hangul typesetting on CJKutf8] \newif\if@hangul \newif\if@hanja diff --git a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-nanummjhanja.sty b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-nanummjhanja.sty index ee66406ffb8..534484272d9 100644 --- a/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-nanummjhanja.sty +++ b/Master/texmf-dist/tex/latex/cjk-ko/cjkutf8-nanummjhanja.sty @@ -1,6 +1,6 @@ % cjkutf8-nanummjhanja.sty % -% Copyright (c) 2016-2023 Dohyun Kim <nomos at ktug org> +% Copyright (c) 2016-2024 Dohyun Kim <nomos at ktug org> % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by @@ -18,15 +18,13 @@ % MA 02110-1301 USA \ProvidesPackage{cjkutf8-nanummjhanja} - [2023/05/31 v2.4 UHC hanja for Nanum Myeongjo] + [2024/03/01 v2.5 UHC hanja for Nanum Myeongjo] \def\CJKKO@mjdefault{nanummj} \def\CJKKO@mjhanjafamily{\def\CJK@family{uhcmj}} % redefine CJK@numbToHex -\let\CJKKO@orig@numbToHex\CJK@numbToHex -\def\CJK@numbToHex#1#2{% - \CJKKO@orig@numbToHex{#1}{#2}% +\AddToHookWithArguments{cmd/CJK@numbToHex/after}{% \ifx\CJK@family\CJKKO@mjdefault \expandafter\CJKKO@checkhanjaplane#1\fi} |