summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-10-23 20:59:58 +0000
committerKarl Berry <karl@freefriends.org>2020-10-23 20:59:58 +0000
commitc16785fbd9d5dcd0b1a9a76465c2bdd8549e9668 (patch)
tree15745a73d7d39864831cc8d281b7a61ab84610cf /Master/texmf-dist
parentb52b26451f1ea255bf34fc2cb66127ca94f09135 (diff)
nodetree (23oct20)
git-svn-id: svn://tug.org/texlive/trunk@56739 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/luatex/nodetree/nodetree.pdfbin361618 -> 281887 bytes
-rw-r--r--Master/texmf-dist/source/luatex/nodetree/nodetree.dtx7
-rw-r--r--Master/texmf-dist/tex/luatex/nodetree/nodetree-embed.sty2
-rw-r--r--Master/texmf-dist/tex/luatex/nodetree/nodetree.lua5
-rw-r--r--Master/texmf-dist/tex/luatex/nodetree/nodetree.sty2
5 files changed, 11 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/luatex/nodetree/nodetree.pdf b/Master/texmf-dist/doc/luatex/nodetree/nodetree.pdf
index ab7b6c9539c..5cc4c59c1d3 100644
--- a/Master/texmf-dist/doc/luatex/nodetree/nodetree.pdf
+++ b/Master/texmf-dist/doc/luatex/nodetree/nodetree.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/luatex/nodetree/nodetree.dtx b/Master/texmf-dist/source/luatex/nodetree/nodetree.dtx
index 30eb6bea9e9..4b7784a6637 100644
--- a/Master/texmf-dist/source/luatex/nodetree/nodetree.dtx
+++ b/Master/texmf-dist/source/luatex/nodetree/nodetree.dtx
@@ -28,7 +28,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{nodetree}
%<*package>
- [2020/10/03 v2.1 Visualize node lists in a tree view]
+ [2020/10/23 v2.2 Visualize node lists in a tree view]
%</package>
% \fi
%
@@ -69,6 +69,9 @@
% * Make the package compatible with the Harfbuzz mode of the luaotfload fontloader.
% * Print node properties of copied nodes.
% }
+% \changes{v2.2}{2020/10/23}{
+% * Fix unavailable library error (utf8 not in Lua5.1)
+% }
% \DoNotIndex{\newcommand,\newenvironment,\def,\directlua}
%
% \StopEventually{}
@@ -231,7 +234,7 @@
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{nodetree-embed}
- [2020/10/03 v2.1 Embed node trees into a LaTeX document]
+ [2020/10/23 v2.2 Embed node trees into a LaTeX document]
% \end{macrocode}
%
% \begin{macrocode}
diff --git a/Master/texmf-dist/tex/luatex/nodetree/nodetree-embed.sty b/Master/texmf-dist/tex/luatex/nodetree/nodetree-embed.sty
index 5f3e244c826..a8007155c8d 100644
--- a/Master/texmf-dist/tex/luatex/nodetree/nodetree-embed.sty
+++ b/Master/texmf-dist/tex/luatex/nodetree/nodetree-embed.sty
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{nodetree-embed}
- [2020/10/03 v2.1 Embed node trees into a LaTeX document]
+ [2020/10/23 v2.2 Embed node trees into a LaTeX document]
\RequirePackage{xcolor,mdframed,expl3,xparse,fontspec}
\input{nodetree}
\RequirePackage{kvoptions}
diff --git a/Master/texmf-dist/tex/luatex/nodetree/nodetree.lua b/Master/texmf-dist/tex/luatex/nodetree/nodetree.lua
index 880f1895446..9931eb27805 100644
--- a/Master/texmf-dist/tex/luatex/nodetree/nodetree.lua
+++ b/Master/texmf-dist/tex/luatex/nodetree/nodetree.lua
@@ -16,7 +16,7 @@
-- luacheck: globals node tex luatexbase lfs callback os unicode status modules
if not modules then modules = { } end modules ['nodetree'] = {
- version = '2.1',
+ version = '2.2',
comment = 'nodetree',
author = 'Josef Friedrich',
copyright = 'Josef Friedrich',
@@ -26,6 +26,9 @@ if not modules then modules = { } end modules ['nodetree'] = {
local direct = node.direct
local todirect = direct.todirect
local getchar = direct.getchar
+--- Lua 5.1 does not have the utf8 library (Lua 5.1 is the default
+-- version in LuajitTeX). LuaJitTeX does include the slnunicode library.
+local utf8 = utf8 or unicode.utf8
local utfchar = utf8.char
local properties = direct.get_properties_table()
diff --git a/Master/texmf-dist/tex/luatex/nodetree/nodetree.sty b/Master/texmf-dist/tex/luatex/nodetree/nodetree.sty
index 1aa1f300d46..883f8bbe2f6 100644
--- a/Master/texmf-dist/tex/luatex/nodetree/nodetree.sty
+++ b/Master/texmf-dist/tex/luatex/nodetree/nodetree.sty
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{nodetree}
- [2020/10/03 v2.1 Visualize node lists in a tree view]
+ [2020/10/23 v2.2 Visualize node lists in a tree view]
\input{nodetree}
\RequirePackage{kvoptions}
\SetupKeyvalOptions{