texlive[59299] Master/texmf-dist: luatexja (21may21)

commits+karl at tug.org commits+karl at tug.org
Fri May 21 23:08:21 CEST 2021


Revision: 59299
          http://tug.org/svn/texlive?view=revision&revision=59299
Author:   karl
Date:     2021-05-21 23:08:21 +0200 (Fri, 21 May 2021)
Log Message:
-----------
luatexja (21may21)

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-inputbuf.lua
    trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja-core.sty
    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	2021-05-21 21:07:48 UTC (rev 59298)
+++ trunk/Master/texmf-dist/doc/luatex/luatexja/README	2021-05-21 21:08:21 UTC (rev 59299)
@@ -1,4 +1,4 @@
-The LuaTeX-ja Package 20210517.0
+The LuaTeX-ja Package 20210521.0
 --------------------------------
 Copyright (c) 2011--2021 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 20210517.0 in the Git repository by
+      or tagged as 20210521.0 in the Git repository by
       <http://git.osdn.jp/view?p=luatex-ja/luatexja.git
-                              ;a=snapshot;h=refs/tags/20210517.0;sf=tgz>
+                              ;a=snapshot;h=refs/tags/20210521.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: Mon May 17 11:57:27 2021 +0900
+Last commit date: Fri May 21 21:07:11 2021 +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-inputbuf.lua
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua	2021-05-21 21:07:48 UTC (rev 59298)
+++ trunk/Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua	2021-05-21 21:08:21 UTC (rev 59299)
@@ -5,7 +5,6 @@
 luatexja.load_module 'base';      local ltjb = luatexja.base
 luatexja.load_module 'charrange'; local ltjc = luatexja.charrange
 
-require "unicode"
 local utflen = utf.len
 local utfbyte = utf.byte
 local utfchar = utf.char
@@ -24,12 +23,11 @@
 local function add_comment(buffer)
    start_time_measure 'inputbuf'
    local i = utflen(buffer)
-   while (i>0) and (getcatcode(utfbyte(buffer, i))==1
-         or getcatcode(utfbyte(buffer, i))==2) do
-      i=i-1
+   local c = utfbyte(buffer, i)
+   while (i>0) and (getcatcode(c)==1 or getcatcode(c)==2) do
+      i=i-1; if (i>0) then c = utfbyte(buffer, i) end;
    end
    if i>0 then
-      local c = utfbyte(buffer, i)
       if c>=0x80 then
          local te = tex.endlinechar
          -- Is the catcode of endline character is 5 (end-of-line)?

Modified: trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja-core.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja-core.sty	2021-05-21 21:07:48 UTC (rev 59298)
+++ trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja-core.sty	2021-05-21 21:08:21 UTC (rev 59299)
@@ -65,7 +65,7 @@
   \expandafter\let\csname ifltj at in@latex\expandafter\endcsname
     \csname iftrue\endcsname
   \NeedsTeXFormat{LaTeX2e}
-  \ProvidesPackage{luatexja-core}[2021-05-11 Core of LuaTeX-ja]
+  \ProvidesPackage{luatexja-core}[2021-05-21 Core of LuaTeX-ja]
 \fi                             %</LaTeX>
 
 %% Load prerequisite packages.
@@ -630,7 +630,7 @@
   t[\the\ltj@@vadjust at dirhook@inner]
     = function () luatexja.direction.set_list_direction_hook('adj') end
   t[\the\ltj@@vadjust at check@dir at inner]
-    = luatexja.direction.check_adjust_direction()
+    = luatexja.direction.check_adjust_direction
 }
 \luadef\ltj@@vadjust at dirhook\ltj@@vadjust at dirhook@inner
 \protected\luadef\ltj@@vadjust at check@dir\ltj@@vadjust at check@dir at inner

Modified: trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty
===================================================================
--- trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty	2021-05-21 21:07:48 UTC (rev 59298)
+++ trunk/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty	2021-05-21 21:08:21 UTC (rev 59299)
@@ -35,13 +35,13 @@
   \expandafter\let\csname ifltj at in@latex\expandafter\endcsname
     \csname iftrue\endcsname
   \NeedsTeXFormat{LaTeX2e}
-  \ProvidesPackage{luatexja}[2021-05-17 Japanese Typesetting with Lua(La)TeX]
+  \ProvidesPackage{luatexja}[2021-05-21 Japanese Typesetting with Lua(La)TeX]
   \DeclareOption{disablejfam}{\ltj at disablejfamtrue}
   \DeclareOption*{}
   \ProcessOptions\relax
 \fi                             %</LaTeX>
 %%%% VERSION
-\def\LuaTeXjaversion{20210517.0}
+\def\LuaTeXjaversion{20210521.0}
 
 \directlua{require('ltj-unicode-ccfix.lua')}% catcode of ideographs
 



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