blob: ec8dfda1bbf3ec49a3c72621bbfdc4869181b3a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
%%
%% 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/18 v1.2 Visualize node lists in a tree view]
\input{nodetree}
\directlua{
nodetree.set_option('engine', 'lualatex')
}
\RequirePackage{kvoptions}
\SetupKeyvalOptions{
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*
\directlua{
nodetree.set_default_options()
nodetree.register_callbacks()
}
\newcommand{\nodetreeset}[1]{\setkeys{nodetree}{#1}}
\endinput
%%
%% End of file `nodetree.sty'.
|