From c16785fbd9d5dcd0b1a9a76465c2bdd8549e9668 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 23 Oct 2020 20:59:58 +0000 Subject: nodetree (23oct20) git-svn-id: svn://tug.org/texlive/trunk@56739 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/luatex/nodetree/nodetree-embed.sty | 2 +- Master/texmf-dist/tex/luatex/nodetree/nodetree.lua | 5 ++++- Master/texmf-dist/tex/luatex/nodetree/nodetree.sty | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/luatex') 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{ -- cgit v1.2.3