texlive[65267] Master/texmf-dist: luatexja (13dec22)

commits+karl at tug.org commits+karl at tug.org
Tue Dec 13 22:09:26 CET 2022


Revision: 65267
          http://tug.org/svn/texlive?view=revision&revision=65267
Author:   karl
Date:     2022-12-13 22:09:26 +0100 (Tue, 13 Dec 2022)
Log Message:
-----------
luatexja (13dec22)

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-latex.sty
    trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua
    trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty
    trunk/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-siunitx.sty

Modified: trunk/Master/texmf-dist/doc/luatex/luatexja/README
===================================================================
--- trunk/Master/texmf-dist/doc/luatex/luatexja/README	2022-12-13 21:08:56 UTC (rev 65266)
+++ trunk/Master/texmf-dist/doc/luatex/luatexja/README	2022-12-13 21:09:26 UTC (rev 65267)
@@ -1,4 +1,4 @@
-The LuaTeX-ja Package 20221006.0
+The LuaTeX-ja Package 20221213.0
 --------------------------------
 Copyright (c) 2011--2022 The LuaTeX-ja project
 License: modified BSD (see COPYING)
@@ -42,9 +42,9 @@
 2. If you must/want to install manually:
 
    a. Download the source archive from CTAN,
-      or tagged as 20221006.0 in the Git repository by
+      or tagged as 20221213.0 in the Git repository by
       <http://git.osdn.jp/view?p=luatex-ja/luatexja.git
-                              ;a=snapshot;h=refs/tags/20221006.0;sf=tgz>
+                              ;a=snapshot;h=refs/tags/20221213.0;sf=tgz>
 
    b. Extract the archive and process following three files by LuaLaTeX
       to generate classes for Japanese typesetting:
@@ -93,4 +93,4 @@
   This file and ltj-kinsoku.lua are not used anymore.
   (Do not remove ltj-kinsoku.tex.)
 
-Last commit date: Thu Oct 6 19:16:48 2022 +0900
+Last commit date: Tue Dec 13 21:57:47 2022 +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-latex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexja/ltj-latex.sty	2022-12-13 21:08:56 UTC (rev 65266)
+++ trunk/Master/texmf-dist/tex/luatex/luatexja/ltj-latex.sty	2022-12-13 21:09:26 UTC (rev 65267)
@@ -12,7 +12,7 @@
 \def\luatexjalatexLoaded{\endinput}
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ltj-latex}[2021-10-24 LaTeX support of LuaTeX-ja]
+\ProvidesPackage{ltj-latex}[2022-10-15 LaTeX support of LuaTeX-ja]
 
 \endlinechar=13
 
@@ -135,6 +135,15 @@
 
 \RequirePackage{lltjp-geometry}
 
+\ltj at ExecuteBeforePackage{breqn}{%
+  \let\ltj@@vadjust at breqn\vadjust \let\ltj@@insert at breqn\insert
+  \let\vadjust\ltj@@orig at vadjust  \let\insert\ltj@@orig at insert
+}
+\ltj at ExecuteAfterPackage{breqn}{%
+  \let\vadjust\ltj@@vadjust at breqn   \let\insert\ltj@@insert at breqn
+  \let\ltj@@vadjust at breqn\undefined \let\ltj@@insert at breqn\undefined
+}
+
 \def\ltj@@q at stop{\ltj@@q at stop}
 \ifdefined\ltj at stop@overwrite at primitive
   \begingroup

Modified: trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua	2022-12-13 21:08:56 UTC (rev 65266)
+++ trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.lua	2022-12-13 21:09:26 UTC (rev 65267)
@@ -175,7 +175,7 @@
 
 -- EXT: print parameters that don't need arguments
 do
-   local tex_getattr = tex.getattribute
+   local tex_getattr, getnest = tex.getattribute, tex.getnest
    local function getattr(a, d)
       local r = tex_getattr(a); d = d or 0
       return (r==-0x7FFFFFFF) and d or r
@@ -222,7 +222,7 @@
       end,
       direction = function()
          local v = ltjd.get_dir_count()
-         if math.abs(tex.getnest().mode) == ltjs.mmode and v == dir_table.dir_tate then
+         if math.abs(getnest().mode) == ltjs.mmode and v == dir_table.dir_tate then
             v = dir_table.dir_utod
          end
          return v
@@ -353,7 +353,7 @@
    local getnest = tex.getnest
    local id_glyph = node.id 'glyph'
    function luatexja.pltx_composite_last_node_char()
-      local n = getnest()
+      local n = getnest().tail
       local r = '-1'
       if n then
          if n.id==id_glyph then

Modified: trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty	2022-12-13 21:08:56 UTC (rev 65266)
+++ trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty	2022-12-13 21:09:26 UTC (rev 65267)
@@ -27,7 +27,7 @@
 \newif\ifltj at disablejfam
 
 %%%% VERSION
-\def\LuaTeXjaversion{20221006.0}
+\def\LuaTeXjaversion{20221213.0}
 
 %% Check if LaTeX is used.
 \begingroup\expandafter\expandafter\expandafter\endgroup

Modified: trunk/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-siunitx.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-siunitx.sty	2022-12-13 21:08:56 UTC (rev 65266)
+++ trunk/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-siunitx.sty	2022-12-13 21:09:26 UTC (rev 65267)
@@ -1,5 +1,5 @@
 %
-% lltjp-siunitx.sty 2021-10-31
+% lltjp-siunitx.sty 2022-12-12
 %
 
 \NeedsTeXFormat{LaTeX2e}
@@ -34,6 +34,18 @@
 \cs_set_eq:NN \ltj_orig__siunitx_table_collect_begin:w \__siunitx_table_collect_begin:w
 \cs_set_protected:Npn \__siunitx_table_collect_begin:w #1 \relax
   { \ltj_orig__siunitx_table_collect_begin:w }
+\AtBeginDocument{
+    \cs_if_exist:NT \TblrNum
+    { \RenewDocumentCommand \TblrNum { m }
+      {
+        \__tblr_siunitx_process:Nn
+          { \cs_set_eq:NN \__siunitx_table_collect_begin:w
+                          \ltj_orig__siunitx_table_collect_begin:w
+            \tablenum}
+          {#1}
+      }
+    }
+  }
 }% siunitx v3.00 end
 {% siunitx v2.xx
 \cs_generate_variant:Nn \tl_if_in:NnT { coT }



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