texlive[55207] Master/texmf-dist: luatexja (18may20)

commits+karl at tug.org commits+karl at tug.org
Mon May 18 22:41:36 CEST 2020


Revision: 55207
          http://tug.org/svn/texlive?view=revision&revision=55207
Author:   karl
Date:     2020-05-18 22:41:36 +0200 (Mon, 18 May 2020)
Log Message:
-----------
luatexja (18may20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/luatex/luatexja/README
    trunk/Master/texmf-dist/doc/luatex/luatexja/luatexja-en.pdf
    trunk/Master/texmf-dist/doc/luatex/luatexja/luatexja-ja.pdf
    trunk/Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua
    trunk/Master/texmf-dist/tex/luatex/luatexja/ltj-jfont.lua
    trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua
    trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty

Modified: trunk/Master/texmf-dist/doc/luatex/luatexja/README
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/luatexja/README	2020-05-18 20:40:58 UTC (rev 55206)
+++ trunk/Master/texmf-dist/doc/luatex/luatexja/README	2020-05-18 20:41:36 UTC (rev 55207)
@@ -1,4 +1,4 @@
-The LuaTeX-ja Package 20200517.0
+The LuaTeX-ja Package 20200518.0
 --------------------------------
 Copyright (c) 2011--2020 The LuaTeX-ja project
 License: modified BSD (see COPYING)
@@ -45,9 +45,9 @@
 2. If you must/want to install manually:
 
    a. Download the source archive from CTAN,
-      or tagged as 20200517.0 in the Git repository by
+      or tagged as 20200518.0 in the Git repository by
       <http://git.osdn.jp/view?p=luatex-ja/luatexja.git
-                              ;a=snapshot;h=refs/tags/20200517.0;sf=tgz>
+                              ;a=snapshot;h=refs/tags/20200518.0;sf=tgz>
 
    b. Extract the archive and process following three files by LuaLaTeX
       to generate classes for Japanese typesetting:
@@ -95,4 +95,4 @@
 
 * src/*.{ins.dtx} and src/ltj-kinsoku_make.tex are not needed in regular use.
 
-Last commit date: Sun May 17 10:43:32 2020 +0900
+Last commit date: Mon May 18 05:28:24 2020 +0900

Modified: trunk/Master/texmf-dist/doc/luatex/luatexja/luatexja-en.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/luatex/luatexja/luatexja-ja.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua	2020-05-18 20:40:58 UTC (rev 55206)
+++ trunk/Master/texmf-dist/tex/luatex/luatexja/ltj-direction.lua	2020-05-18 20:41:36 UTC (rev 55207)
@@ -139,6 +139,7 @@
    local STCK = luatexja.userid_table.STCK
    local IHB = luatexja.userid_table.IHB
    local id_local = node.id('local_par')
+   local id_dir = node.id('dir')
 
    local function test_list(h, lv)
       if not h then
@@ -157,7 +158,7 @@
 		     flag = 0; break -- error
 		  end
 	       end
-	    elseif p.id~=id_local then
+	    elseif p.id~=id_local and p.id~=id_dir then
 	       flag = 0; break
 	    end
 	 end
@@ -220,6 +221,9 @@
 	    if lv==0 and not page_direction then
 	       page_direction = v -- for first call of \yoko (in luatexja-core.sty)
 	    else
+              if luatexja.debug then
+                luatexja.ext_show_node_list(node.direct.tonode(h),'>> ', texio.write_nl)
+              end
               ltjb.package_error(
                  'luatexja',
                  "Use `\\" .. tostring(name) .. "' at top of list",

Modified: trunk/Master/texmf-dist/tex/luatex/luatexja/ltj-jfont.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexja/ltj-jfont.lua	2020-05-18 20:40:58 UTC (rev 55206)
+++ trunk/Master/texmf-dist/tex/luatex/luatexja/ltj-jfont.lua	2020-05-18 20:41:36 UTC (rev 55207)
@@ -188,7 +188,7 @@
    local function myround(a) return floor(a+0.5) end
    local mult_ignore_key = {
      round_threshold=true, kanjiskip_natural=true, kanjiskip_stretch=true, kanjiskip_shrink=true,
-     raio=true, priority=true
+     ratio=true, priority=true
    }
    local function mult_table(old,scale) -- modified from table.fastcopy
       if old then
@@ -226,7 +226,7 @@
                   kanjiskip_stretch = w.kanjiskip_stretch,
                   kanjiskip_shrink =  w.kanjiskip_shrink,
                   round_threshold = w.round_threshold,
-               }
+		  }
             end
             for k,w in pairs(v.kern) do
                local g = node_new(id_kern, 1)

Modified: trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua	2020-05-18 20:40:58 UTC (rev 55206)
+++ trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua	2020-05-18 20:41:36 UTC (rev 55207)
@@ -516,6 +516,9 @@
 	 s = s .. ' (for kinsoku)'
       end
       print_fn(s)
+   elseif pt == 'dir' then
+      s = base .. ' ' .. tostring(p.dir) .. ' (level ' .. tostring(p.level) .. ')'
+      print_fn(s)
    elseif pt == 'whatsit' then
       s = base
       if p.subtype==sid_user then

Modified: trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty	2020-05-18 20:40:58 UTC (rev 55206)
+++ trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty	2020-05-18 20:41:36 UTC (rev 55207)
@@ -41,7 +41,7 @@
   \ProcessOptions\relax
 \fi                             %</LaTeX>
 %%%% VERSION
-\def\LuaTeXjaversion{20200517.0}
+\def\LuaTeXjaversion{20200518.0}
 
 \directlua{require('ltj-unicode-ccfix.lua')}% catcode of ideographs
 



More information about the tex-live-commits mailing list.