texlive[74269] branches/branch2024.final/Master/texmf-dist: luatexko
commits+karl at tug.org
commits+karl at tug.org
Mon Feb 24 21:31:31 CET 2025
Revision: 74269
https://tug.org/svn/texlive?view=revision&revision=74269
Author: karl
Date: 2025-02-24 21:31:31 +0100 (Mon, 24 Feb 2025)
Log Message:
-----------
luatexko (branch) (24feb25)
Modified Paths:
--------------
branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/ChangeLog
branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/README
branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.pdf
branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.tex
branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko-normalize.lua
branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko-uhc2utf8.lua
branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko.lua
branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty
Modified: branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/ChangeLog
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/ChangeLog 2025-02-24 20:31:20 UTC (rev 74268)
+++ branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/ChangeLog 2025-02-24 20:31:31 UTC (rev 74269)
@@ -1,3 +1,13 @@
+2025-02-24 Dohyun Kim <nomosnomos at gmail com>
+
+ Version 3.7
+
+ * luatexko.sty:
+ - prevent garbages in dvi mode
+ - use LaTeX's build/page/before hook if available
+
+ * luatexko.lua: change char class of some chinese chars
+
2023-09-11 Dohyun Kim <nomos at ktug org>
Version 3.6
Modified: branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/README
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/README 2025-02-24 20:31:20 UTC (rev 74268)
+++ branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/README 2025-02-24 20:31:31 UTC (rev 74269)
@@ -1,4 +1,4 @@
-LuaTeX-ko Package version 3.6 (2023/09/11)
+LuaTeX-ko Package version 3.7 (2025/02/24)
===========================================
This is a Lua(La)TeX macro package that supports typesetting Korean
@@ -25,10 +25,11 @@
Author
------
- Dohyun Kim <nomos at ktug org>
+ Dohyun Kim <nomosnomos at gmail com>
Soojin Nam <jsunam at gmail com>
Please report any errors or suggestions to
+ Dohyun Kim <nomosnomos at gmail com> (current maintainer)
or leave messages in the issue tracker at:
<http://github.com/dohyunkim/luatexko>
Modified: branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.tex
===================================================================
--- branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.tex 2025-02-24 20:31:20 UTC (rev 74268)
+++ branches/branch2024.final/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.tex 2025-02-24 20:31:31 UTC (rev 74269)
@@ -3,7 +3,7 @@
%%
%% luatexko-doc.tex
%%
-%% written by Dohyun Kim <nomos at ktug org>
+%% written by Dohyun Kim <nomosnomos at gmail com>
%% Soojin Nam <jsunam at gmail com>
%%
%% public domain
@@ -139,10 +139,10 @@
\begin{document}
\title{\luatexko\ 간단 매뉴얼}
-\author{Dohyun Kim \normalsize |<nomos at ktug org>| \and
+\author{Dohyun Kim \normalsize |<nomosnomos at gmail com>| \and
Soojin Nam \normalsize |<jsunam at gmail com>| \and
\normalsize <\url{http://github.com/dohyunkim/luatexko}>}
-\date{Version 3.6\quad 2023/09/11}
+\date{Version 3.7\quad 2025/02/24}
\maketitle
\begin{quote}
Modified: branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko-normalize.lua
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko-normalize.lua 2025-02-24 20:31:20 UTC (rev 74268)
+++ branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko-normalize.lua 2025-02-24 20:31:31 UTC (rev 74269)
@@ -1,6 +1,6 @@
-- luatexko-normalize.lua
--
--- Copyright (c) 2013-2023 Dohyun Kim <nomos at ktug org>
+-- Copyright (c) 2013-2025 Dohyun Kim <nomosnomos at gmail com>
-- Soojin Nam <jsunam at gmail com>
--
-- This work may be distributed and/or modified under the
@@ -13,8 +13,8 @@
luatexbase.provides_module({
name = "luatexko-normalize",
- version = "3.6",
- date = "2023/09/11",
+ version = "3.7",
+ date = "2025/02/24",
author = "Dohyun Kim, Soojin Nam",
description = "Hangul normalization",
license = "LPPL v1.3+",
Modified: branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko-uhc2utf8.lua
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko-uhc2utf8.lua 2025-02-24 20:31:20 UTC (rev 74268)
+++ branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko-uhc2utf8.lua 2025-02-24 20:31:31 UTC (rev 74269)
@@ -1,6 +1,6 @@
-- luatexko-uhc2utf8.lua
--
--- Copyright (c) 2013-2023 Dohyun Kim <nomos at ktug org>
+-- Copyright (c) 2013-2025 Dohyun Kim <nomosnomos at gmail com>
-- Soojin Nam <jsunam at gmail com>
--
-- This work may be distributed and/or modified under the
@@ -13,8 +13,8 @@
luatexbase.provides_module({
name = "luatexko-uhc2utf8",
- version = "3.6",
- date = "2023/09/11",
+ version = "3.7",
+ date = "2025/02/24",
author = "Dohyun Kim, Soojin Nam",
description = "UHC (CP949) input encoding",
license = "LPPL v1.3+",
Modified: branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko.lua
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko.lua 2025-02-24 20:31:20 UTC (rev 74268)
+++ branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko.lua 2025-02-24 20:31:31 UTC (rev 74269)
@@ -1,6 +1,6 @@
-- luatexko.lua
--
--- Copyright (c) 2013-2023 Dohyun Kim <nomos at ktug org>
+-- Copyright (c) 2013-2025 Dohyun Kim <nomosnomos at gmail com>
-- Soojin Nam <jsunam at gmail com>
--
-- This work may be distributed and/or modified under the
@@ -13,8 +13,8 @@
luatexbase.provides_module {
name = 'luatexko',
- date = '2023/09/11',
- version = '3.6',
+ date = '2025/02/24',
+ version = '3.7',
description = 'typesetting Korean with LuaTeX',
author = 'Dohyun Kim, Soojin Nam',
license = 'LPPL v1.3+',
@@ -548,10 +548,10 @@
[0xFF01] = 4, [0xFF1A] = 2, [0xFF1B] = 2, [0xFF1F] = 4,
}, { __index = charclass }),
setmetatable({ -- TC
- [0x3001] = 3, [0x3002] = 5, [0xFF0C] = 3, [0xFF0E] = 5,
+ [0x3001] = 3, [0x3002] = 3, [0xFF0C] = 3, [0xFF0E] = 3,
}, { __index = charclass }),
setmetatable({ -- TC vert
- [0x3001] = 3, [0x3002] = 5, [0xFF0C] = 3, [0xFF0E] = 5,
+ [0x3001] = 3, [0x3002] = 3, [0xFF0C] = 3, [0xFF0E] = 3,
[0xFF1A] = 7, [0xFF1B] = 7, -- 0xFE13, 0xFE14
}, { __index = charclass }),
setmetatable({ -- JP vert
Modified: branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty 2025-02-24 20:31:20 UTC (rev 74268)
+++ branches/branch2024.final/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty 2025-02-24 20:31:31 UTC (rev 74269)
@@ -1,6 +1,6 @@
% luatexko.sty
%
-% Copyright (c) 2013-2023 Dohyun Kim <nomos at ktug org>
+% Copyright (c) 2013-2025 Dohyun Kim <nomosnomos at gmail com>
% Soojin Nam <jsunam at gmail com>
%
% This work may be distributed and/or modified under the
@@ -14,7 +14,7 @@
\ifdefined\luatexkohangulfontattr \endinput\fi
\ifdefined\ProvidesPackage
\NeedsTeXFormat{LaTeX2e}[2021/11/15]
- \ProvidesPackage{luatexko}[2023/09/11 v3.6 typesetting Korean with LuaTeX]
+ \ProvidesPackage{luatexko}[2025/02/24 v3.7 typesetting Korean with LuaTeX]
\RequirePackage{luatexbase}
\RequirePackage{fontspec}[2020/02/03]
\let\luatexkoselectfont\selectfont
@@ -365,11 +365,19 @@
\hfil
\vbox to\wd#1\bgroup
\wd#1\z@
- \pdfextension save\relax
- \pdfextension setmatrix{0 -1 1 0}\relax
+ \ifnum\outputmode > 0
+ \pdfextension save\relax
+ \pdfextension setmatrix{0 -1 1 0}\relax
+ \else
+ \special{pdf:btrans rotate -90}\relax
+ \fi
\box#1\relax
\kern-\dimen@
- \pdfextension restore\relax
+ \ifnum\outputmode > 0
+ \pdfextension restore\relax
+ \else
+ \special{pdf:etrans}\relax
+ \fi
\vfil
\egroup
\egroup
@@ -397,11 +405,19 @@
\lower.5\wd#1\vbox to\wd#1\bgroup
\vfil
\wd#1\z@
- \pdfextension save\relax
- \pdfextension setmatrix{0 1 -1 0}\relax
+ \ifnum\outputmode > 0
+ \pdfextension save\relax
+ \pdfextension setmatrix{0 1 -1 0}\relax
+ \else
+ \special{pdf:btrans rotate 90}\relax
+ \fi
\box#1\relax
\kern-\dimen@
- \pdfextension restore\relax
+ \ifnum\outputmode > 0
+ \pdfextension restore\relax
+ \else
+ \special{pdf:etrans}\relax
+ \fi
\egroup
\hfil
\egroup
@@ -540,10 +556,17 @@
\else
\linewidth\hsize \columnwidth\hsize
\fi
- \expandafter\def\expandafter\@outputpage\expandafter{%
- \expandafter\luatexkorotatebox\expandafter\@outputbox
- \expandafter\textwidth\expandafter\textheight
- \@outputpage
+ \IfFormatAtLeastTF{2025-06-01}{%
+ \AddToHook{build/page/before}[luatexko/beforeOR]{%
+ \luatexkorotatebox\@outputbox
+ \textwidth\textheight
+ }%
+ }{%
+ \expandafter\def\expandafter\@outputpage\expandafter{%
+ \expandafter\luatexkorotatebox\expandafter\@outputbox
+ \expandafter\textwidth\expandafter\textheight
+ \@outputpage
+ }%
}%
\typesetvertical
\let\verticaltypesetting\relax % prevent multiple running
@@ -550,6 +573,7 @@
}
\def\endverticaltypesetting{%
\clearpage
+ \IfFormatAtLeastTF{2025-06-01}{\RemoveFromHook{build/page/before}[luatexko/beforeOR]}{}%
\endgroup
\global\@colroom\textheight
\global\@colht\textheight
More information about the tex-live-commits
mailing list.