| 1 |
%% |
| 2 |
%% This is file `nodetree.sty', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% nodetree.dtx (with options: `package') |
| 8 |
%% |
| 9 |
%% This is a generated file. |
| 10 |
%% |
| 11 |
%% Copyright (C) 2016-2025 by Josef Friedrich <[email protected]> |
| 12 |
%% ---------------------------------------------------------------------- |
| 13 |
%% This work may be distributed and/or modified under the conditions of |
| 14 |
%% the LaTeX Project Public License, either version 1.3c of this license |
| 15 |
%% or (at your option) any later version. The latest version of this |
| 16 |
%% license is in: |
| 17 |
%% |
| 18 |
%% http://www.latex-project.org/lppl.txt |
| 19 |
%% |
| 20 |
%% and version 1.3c or later is part of all distributions of LaTeX |
| 21 |
%% version 2008/05/05 or later. |
| 22 |
%% |
| 23 |
\NeedsTeXFormat{LaTeX2e}[1999/12/01] |
| 24 |
\ProvidesPackage{nodetree} |
| 25 |
[2025/06/03 v2.4.1 Visualize node lists in a tree view] |
| 26 |
\input{nodetree} |
| 27 |
\RequirePackage{kvoptions} |
| 28 |
\SetupKeyvalOptions{ |
| 29 |
family=NT, |
| 30 |
prefix=NTK@ |
| 31 |
} |
| 32 |
\DeclareStringOption[term]{channel} |
| 33 |
\define@key{NT}{channel}[]{\NodetreeSetOption[channel]{#1}} |
| 34 |
\DeclareStringOption[postlinebreak]{callback} |
| 35 |
\define@key{NT}{callback}[]{\NodetreeSetOption[callback]{#1}} |
| 36 |
\DeclareStringOption[0]{verbosity} |
| 37 |
\define@key{NT}{verbosity}[]{\NodetreeSetOption[verbosity]{#1}} |
| 38 |
\DeclareStringOption[colored]{color} |
| 39 |
\define@key{NT}{color}[]{\NodetreeSetOption[color]{#1}} |
| 40 |
\DeclareStringOption[1]{unit} |
| 41 |
\define@key{NT}{unit}[]{\NodetreeSetOption[unit]{#1}} |
| 42 |
\DeclareStringOption[1]{decimalplaces} |
| 43 |
\define@key{NT}{decimalplaces}[]{\NodetreeSetOption[decimalplaces]{#1}} |
| 44 |
\ProcessKeyvalOptions{NT} |
| 45 |
\directlua{ |
| 46 |
nodetree.register_callbacks() |
| 47 |
} |
| 48 |
\newcommand{\NodetreeSet}[1]{% |
| 49 |
\setkeys{NT}{#1}% |
| 50 |
} |
| 51 |
\let\nodetreeset\NodetreeSet |
| 52 |
\endinput |
| 53 |
%% |
| 54 |
%% End of file `nodetree.sty'. |