summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-07-13 22:32:08 +0000
committerKarl Berry <karl@freefriends.org>2016-07-13 22:32:08 +0000
commit588acb7430d398501af794108005cd9d326a3769 (patch)
treea9b14cb6a55108938cfd9ccd9e79fae79c3dd4d3 /Master/texmf-dist/tex/luatex
parent0b8f35b425fc6748f9b8503315068e72fb65cd48 (diff)
nodetree (13jul16)
git-svn-id: svn://tug.org/texlive/trunk@41684 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex')
-rw-r--r--Master/texmf-dist/tex/luatex/nodetree/nodetree.sty8
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/luatex/nodetree/nodetree.sty b/Master/texmf-dist/tex/luatex/nodetree/nodetree.sty
index ebaa2facc26..c95fcd74a54 100644
--- a/Master/texmf-dist/tex/luatex/nodetree/nodetree.sty
+++ b/Master/texmf-dist/tex/luatex/nodetree/nodetree.sty
@@ -22,8 +22,8 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{nodetree}
- [2016/07/07 Package to visualize node lists in a tree view]
-\input{nodetree.tex}
+ [2016/07/13 Package to visualize node lists in a tree view]
+\input{nodetree}
\directlua{
nodetree.set_option('engine', 'lualatex')
}
@@ -32,12 +32,16 @@
family=NT,
prefix=NT@
}
+\DeclareStringOption[term]{channel}
+\define@key{NT}{channel}[]{\nodetreeoption[channel]{#1}}
\DeclareStringOption[postlinebreak]{callback}
\define@key{NT}{callback}[]{\nodetreeoption[callback]{#1}}
\DeclareStringOption[1]{verbosity}
\define@key{NT}{verbosity}[]{\nodetreeoption[verbosity]{#1}}
\DeclareStringOption[colored]{color}
\define@key{NT}{color}[]{\nodetreeoption[color]{#1}}
+\DeclareStringOption[1]{unit}
+\define@key{NT}{unit}[]{\nodetreeoption[unit]{#1}}
\DeclareStringOption[1]{decimalplaces}
\define@key{NT}{decimalplaces}[]{\nodetreeoption[decimalplaces]{#1}}
\ProcessKeyvalOptions*