texlive[47512] Master/texmf-dist: luatexko (21apr18)
commits+karl at tug.org
commits+karl at tug.org
Mon Apr 30 19:05:15 CEST 2018
Revision: 47512
http://tug.org/svn/texlive?view=revision&revision=47512
Author: karl
Date: 2018-04-30 19:05:15 +0200 (Mon, 30 Apr 2018)
Log Message:
-----------
luatexko (21apr18)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/luatex/luatexko/ChangeLog
trunk/Master/texmf-dist/doc/luatex/luatexko/README
trunk/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.pdf
trunk/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.tex
trunk/Master/texmf-dist/tex/luatex/luatexko/luatexko-core.sty
trunk/Master/texmf-dist/tex/luatex/luatexko/luatexko.lua
trunk/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty
Modified: trunk/Master/texmf-dist/doc/luatex/luatexko/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/luatexko/ChangeLog 2018-04-30 17:04:48 UTC (rev 47511)
+++ trunk/Master/texmf-dist/doc/luatex/luatexko/ChangeLog 2018-04-30 17:05:15 UTC (rev 47512)
@@ -1,3 +1,10 @@
+2018-04-19 Dohyun Kim <nomos at ktug org>
+
+ Version 1.20
+
+ * luatexko.lua: node.tail -> node.slide: see the bug reported at
+ http://www.ktug.org/xe/index.php?document_srl=229431
+
2018-04-06 Dohyun Kim <nomos at ktug org>
Version 1.19
Modified: trunk/Master/texmf-dist/doc/luatex/luatexko/README
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/luatexko/README 2018-04-30 17:04:48 UTC (rev 47511)
+++ trunk/Master/texmf-dist/doc/luatex/luatexko/README 2018-04-30 17:05:15 UTC (rev 47512)
@@ -1,4 +1,4 @@
-LuaTeX-ko Package version 1.19 (2018/04/06)
+LuaTeX-ko Package version 1.20 (2018/04/19)
===========================================
This is a Lua(La)TeX macro package that supports typesetting Korean
Modified: trunk/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.tex 2018-04-30 17:04:48 UTC (rev 47511)
+++ trunk/Master/texmf-dist/doc/luatex/luatexko/luatexko-doc.tex 2018-04-30 17:05:15 UTC (rev 47512)
@@ -61,8 +61,8 @@
\title{\luatexko\ 간단 매뉴얼}
\author{Dohyun Kim \normalsize |<nomos at ktug org>| \and
Soojin Nam \normalsize |<jsunam at gmail com>| \and
- \normalsize \url{<http://github.com/dohyunkim/luatexko>}}
-\date{Version 1.19\quad 2018/04/06}
+ \normalsize <\url{http://github.com/dohyunkim/luatexko}>}
+\date{Version 1.20\quad 2018/04/19}
\maketitle
\begin{quote}\small
Modified: trunk/Master/texmf-dist/tex/luatex/luatexko/luatexko-core.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexko/luatexko-core.sty 2018-04-30 17:04:48 UTC (rev 47511)
+++ trunk/Master/texmf-dist/tex/luatex/luatexko/luatexko-core.sty 2018-04-30 17:05:15 UTC (rev 47512)
@@ -17,7 +17,7 @@
\ifcsname ifpdf\endcsname\else \input ifpdf.sty \fi
\catcode`@ = 11
\else
- \ProvidesPackage{luatexko-core}[2018/04/06 v1.19 Typesetting Korean with LuaTeX]
+ \ProvidesPackage{luatexko-core}[2018/04/19 v1.20 Typesetting Korean with LuaTeX]
\RequirePackage{luaotfload}[2016/04/21]
\RequirePackage{ifpdf}
\fi
Modified: trunk/Master/texmf-dist/tex/luatex/luatexko/luatexko.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexko/luatexko.lua 2018-04-30 17:04:48 UTC (rev 47511)
+++ trunk/Master/texmf-dist/tex/luatex/luatexko/luatexko.lua 2018-04-30 17:05:15 UTC (rev 47512)
@@ -13,8 +13,8 @@
luatexbase.provides_module {
name = 'luatexko',
- date = '2018/04/06',
- version = '1.19',
+ date = '2018/04/19',
+ version = '1.20',
description = 'Korean linebreaking and font-switching',
author = 'Dohyun Kim, Soojin Nam',
license = 'LPPL v1.3+',
@@ -119,10 +119,11 @@
local d_nodenew = nodedirect.new
local d_nodecount = nodedirect.count
local d_end_of_math = nodedirect.end_of_math
-local d_nodetail = nodedirect.tail
+local d_nodetail = nodedirect.slide -- tail seems to be no good
local d_nodedimensions = nodedirect.dimensions
local d_nodefree = nodedirect.free
local d_nodewrite = nodedirect.write
+local d_node_zero_glue = nodedirect.is_zero_glue
local emsize = 655360
@@ -613,28 +614,28 @@
local c,f = d_get_hlist_char_first(curr)
if c then return c,f end
elseif currid == gluenode then
- if d_getglue(curr) ~= 0 then return end
+ if not d_node_zero_glue(curr) then return end
end
curr = d_getnext(curr)
end
end
-local function d_get_hlist_char_last (hlist,prevchar,prevfont)
+local function d_get_hlist_char_last (hlist,c,f)
local curr = d_nodetail(d_getlist(hlist))
while curr do
local currid = d_getid(curr)
if currid == glyphnode then
- local c,f = d_get_unicode_char(curr), d_getfont(curr)
- if c and not is_unicode_vs(c) then return c,f end -- bypass VS
+ c, f = d_get_unicode_char(curr), d_getfont(curr)
+ if c and not is_unicode_vs(c) then break end -- bypass VS
elseif currid == hlistnode or currid == vlistnode then
- local c,f = d_get_hlist_char_last(curr)
- if c then return c,f end
+ c, f = d_get_hlist_char_last(curr)
+ if c then break end
elseif currid == gluenode then
- if d_getglue(curr) ~= 0 then return end
+ if not d_node_zero_glue(curr) then break end
end
curr = d_getprev(curr)
end
- return prevchar, prevfont
+ return c, f
end
----------------------------
Modified: trunk/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty 2018-04-30 17:04:48 UTC (rev 47511)
+++ trunk/Master/texmf-dist/tex/luatex/luatexko/luatexko.sty 2018-04-30 17:05:15 UTC (rev 47512)
@@ -23,7 +23,7 @@
\expandafter\endinput
\fi
-\ProvidesPackage{luatexko}[2018/04/06 v1.19 Typesetting Korean with LuaLaTeX]
+\ProvidesPackage{luatexko}[2018/04/19 v1.20 Typesetting Korean with LuaLaTeX]
\ifdefined\adjustspacing\else % luatex < 0.87
\let\adjustspacing\pdfadjustspacing
More information about the tex-live-commits
mailing list