summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex
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/tex/luatex
parentb52b26451f1ea255bf34fc2cb66127ca94f09135 (diff)
nodetree (23oct20)
git-svn-id: svn://tug.org/texlive/trunk@56739 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex')
-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
3 files changed, 6 insertions, 3 deletions
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{