From 987855a4e842cf939ab6754f025f26728c21de8e Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 7 Jul 2016 21:43:46 +0000 Subject: nodetree (7jul16) git-svn-id: svn://tug.org/texlive/trunk@41654 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/luatex/nodetree/nodetree.sty | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Master/texmf-dist/tex/luatex/nodetree/nodetree.sty (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 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 +%% ---------------------------------------------------------------------- +%% 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'. -- cgit v1.2.3