diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-21 21:08:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-21 21:08:21 +0000 |
commit | 59d0218f96260081a783b6924cf577e07a7c486d (patch) | |
tree | c550fb63acf79b9e618fd08862b56a0009dc59df /Master | |
parent | e0843bcbd8aca384ac293fa563b5133a037f45be (diff) |
luatexja (21may21)
git-svn-id: svn://tug.org/texlive/trunk@59299 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/luatex/luatexja/README | 8 | ||||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luatexja/luatexja-en.pdf | bin | 693538 -> 693535 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luatexja/luatexja-ja.pdf | bin | 1130313 -> 1130307 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/luatexja-core.sty | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/luatexja.sty | 4 |
6 files changed, 11 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/luatex/luatexja/README b/Master/texmf-dist/doc/luatex/luatexja/README index e0f26c370c5..3a433c20d48 100644 --- a/Master/texmf-dist/doc/luatex/luatexja/README +++ b/Master/texmf-dist/doc/luatex/luatexja/README @@ -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 @@ Installation 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 @@ Notes 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 diff --git a/Master/texmf-dist/doc/luatex/luatexja/luatexja-en.pdf b/Master/texmf-dist/doc/luatex/luatexja/luatexja-en.pdf Binary files differindex 12aada4965f..4a31080cc15 100644 --- a/Master/texmf-dist/doc/luatex/luatexja/luatexja-en.pdf +++ b/Master/texmf-dist/doc/luatex/luatexja/luatexja-en.pdf diff --git a/Master/texmf-dist/doc/luatex/luatexja/luatexja-ja.pdf b/Master/texmf-dist/doc/luatex/luatexja/luatexja-ja.pdf Binary files differindex 8799ab20c8f..ba8dad35868 100644 --- a/Master/texmf-dist/doc/luatex/luatexja/luatexja-ja.pdf +++ b/Master/texmf-dist/doc/luatex/luatexja/luatexja-ja.pdf diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua b/Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua index 6423f8817a5..e1623199e4f 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua +++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-inputbuf.lua @@ -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 start_time_measure, stop_time_measure 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)? diff --git a/Master/texmf-dist/tex/luatex/luatexja/luatexja-core.sty b/Master/texmf-dist/tex/luatex/luatexja/luatexja-core.sty index 5f596574e26..fb58eaf31d8 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/luatexja-core.sty +++ b/Master/texmf-dist/tex/luatex/luatexja/luatexja-core.sty @@ -65,7 +65,7 @@ \expandafter\let\csname ifltj@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@dirhook@inner] = function () luatexja.direction.set_list_direction_hook('adj') end t[\the\ltj@@vadjust@check@dir@inner] - = luatexja.direction.check_adjust_direction() + = luatexja.direction.check_adjust_direction } \luadef\ltj@@vadjust@dirhook\ltj@@vadjust@dirhook@inner \protected\luadef\ltj@@vadjust@check@dir\ltj@@vadjust@check@dir@inner diff --git a/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty b/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty index 28b139d95eb..0eec4c94c0f 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty +++ b/Master/texmf-dist/tex/luatex/luatexja/luatexja.sty @@ -35,13 +35,13 @@ \expandafter\let\csname ifltj@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@disablejfamtrue} \DeclareOption*{} \ProcessOptions\relax \fi %</LaTeX> %%%% VERSION -\def\LuaTeXjaversion{20210517.0} +\def\LuaTeXjaversion{20210521.0} \directlua{require('ltj-unicode-ccfix.lua')}% catcode of ideographs |