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/doc/luatex/nodetree/nodetree.pdf | Bin 361618 -> 281887 bytes .../texmf-dist/source/luatex/nodetree/nodetree.dtx | 7 +++++-- .../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 +- Master/tlpkg/libexec/ctan2tds | 1 + 6 files changed, 12 insertions(+), 5 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/luatex/nodetree/nodetree.pdf b/Master/texmf-dist/doc/luatex/nodetree/nodetree.pdf index ab7b6c9539c..5cc4c59c1d3 100644 Binary files a/Master/texmf-dist/doc/luatex/nodetree/nodetree.pdf and b/Master/texmf-dist/doc/luatex/nodetree/nodetree.pdf 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 @@ %\NeedsTeXFormat{LaTeX2e}[1999/12/01] %\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] % % \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{ diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 68429c4e005..4606166ed06 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -768,6 +768,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'lshort-zh-cn', "die 'skipping, use lshort-chinese'", 'ltnews', "die 'skipping, nonfree doc'", 'ltt', "&MAKEltt", + 'ltx2mathml', "die 'skipping, compiled C++'", 'ltx4yt', "die 'skipping, per author (dps) request'", 'ltximg', "&MAKEflatten", 'ltxindex', "die 'skipping, obsolete on CTAN'", -- cgit v1.2.3