diff options
Diffstat (limited to 'Master/texmf-dist/source/luatex/luatexja/tool')
3 files changed, 9 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/luatex/luatexja/tool/function_uax50.lua b/Master/texmf-dist/source/luatex/luatexja/tool/function_uax50.lua index d345284535b..ea7871a6a8c 100644 --- a/Master/texmf-dist/source/luatex/luatexja/tool/function_uax50.lua +++ b/Master/texmf-dist/source/luatex/luatexja/tool/function_uax50.lua @@ -3,7 +3,7 @@ dofile(kpse.find_file('lualibs.lua')) local function toX(a) return string.format('0x%X',a) end -local uax_revision = '12.1.0' +local uax_revision = '13.0.0' print(' -- UAX#50 for Unicode ' .. uax_revision) local fh = io.open('VerticalOrientation-' .. uax_revision .. '.txt') local t = {} diff --git a/Master/texmf-dist/source/luatex/luatexja/tool/ltj-unicode-ccfix_make2.pl b/Master/texmf-dist/source/luatex/luatexja/tool/ltj-unicode-ccfix_make2.pl index f55962956d3..9372d2a9ab2 100755 --- a/Master/texmf-dist/source/luatex/luatexja/tool/ltj-unicode-ccfix_make2.pl +++ b/Master/texmf-dist/source/luatex/luatexja/tool/ltj-unicode-ccfix_make2.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl -# create ltj-unicode-ccfix.tex by processing Unicode data file +# create ltj-unicode-ccfix.lua by processing Unicode data file # LineBreak.txt # modified from unicode-char-prep.pl (part of the XeTeX typesetting system). @@ -38,7 +38,7 @@ # authorization from the copyright holders. # \****************************************************************************/ -die "usage: perl $0 LineBreak.txt > unicode-letters.tex\n" +die "usage: perl $0 LineBreak.txt > ltj-unicode-ccfix.lua\n" unless $#ARGV == 0; sub parse_unidata { diff --git a/Master/texmf-dist/source/luatex/luatexja/tool/table_ivd_aj1.lua b/Master/texmf-dist/source/luatex/luatexja/tool/table_ivd_aj1.lua index cf898a47b21..0d8c18e5568 100644 --- a/Master/texmf-dist/source/luatex/luatexja/tool/table_ivd_aj1.lua +++ b/Master/texmf-dist/source/luatex/luatexja/tool/table_ivd_aj1.lua @@ -1,6 +1,7 @@ print([[ +local f = false return { -version = 2, +version = 3, table_ivd_aj1 = {]]) local f = io.open('IVD_Sequences.txt') @@ -22,10 +23,12 @@ while s do end f:close() +local s={} for i=1,maxcid do - print(' ' .. tostring(t[i] or false) .. ',') + s[#s+1] = t[i] and string.format('0x%x', t[i]) or 'f' + if #s==10 then print(" " .. table.concat(s, ",") .. ','); s={} end end - +print(" " .. table.concat(s, ",")) -- ( echo 'luatexja.otf.ivd_aj1 = {' ; grep 'Adobe-Japan1' IVD_Sequences.txt|sed 's/\([0-9A-F][0-9A-F]*\) \([0-9A-F][0-9A-F]*\)\;.*CID.\([0-9][0-9]*\)$/[\3]=\{0x\1,0x\2\},/' ; echo '}' ) print([[}}]]) |