summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-07-07 21:43:46 +0000
committerKarl Berry <karl@freefriends.org>2016-07-07 21:43:46 +0000
commit987855a4e842cf939ab6754f025f26728c21de8e (patch)
treec3b1ab2d310ea4b97ecab71fc413e868e4d228d0 /Master/texmf-dist/tex/luatex
parentb61d8f5659da3efee7a202e8aece733d38b071e3 (diff)
nodetree (7jul16)
git-svn-id: svn://tug.org/texlive/trunk@41654 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex')
-rw-r--r--Master/texmf-dist/tex/luatex/nodetree/nodetree.sty51
1 files changed, 51 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/nodetree/nodetree.sty b/Master/texmf-dist/tex/luatex/nodetree/nodetree.sty
new file mode 100644
index 00000000000..ebaa2facc26
--- /dev/null
+++ b/Master/texmf-dist/tex/luatex/nodetree/nodetree.sty
@@ -0,0 +1,51 @@
+%%
+%% This is file `nodetree.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% nodetree.dtx (with options: `package')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2016 by Josef Friedrich <josef@friedrich.rocks>
+%% ----------------------------------------------------------------------
+%% This work may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3c of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2008/05/05 or later.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{nodetree}
+ [2016/07/07 Package to visualize node lists in a tree view]
+\input{nodetree.tex}
+\directlua{
+ nodetree.set_option('engine', 'lualatex')
+}
+\RequirePackage{kvoptions}
+\SetupKeyvalOptions{
+ family=NT,
+ prefix=NT@
+}
+\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]{decimalplaces}
+\define@key{NT}{decimalplaces}[]{\nodetreeoption[decimalplaces]{#1}}
+\ProcessKeyvalOptions*
+\directlua{
+ nodetree.set_default_options()
+ nodetree.register_callbacks()
+}
+\newcommand{\nodetreeset}[1]{\setkeys{nodetree}{#1}}
+\endinput
+%%
+%% End of file `nodetree.sty'.