summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/nodetree/nodetree.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/nodetree/nodetree.sty')
-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*