From 588acb7430d398501af794108005cd9d326a3769 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 13 Jul 2016 22:32:08 +0000 Subject: nodetree (13jul16) git-svn-id: svn://tug.org/texlive/trunk@41684 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/luatex/nodetree/nodetree.sty | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/luatex') 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* -- cgit v1.2.3