CTAN Comprehensive TeX Archive Network

Directory macros/luatex/generic/nodetree

README.md
nodetree

Abstract

nodetree is a development package that visualizes the structure of node lists. nodetree shows its debug informations in the consoles’ output when you compile a Lua file. It uses a similar visual representation for node lists as the UNIX tree command uses for a folder structure.

Node lists are the main building blocks of each document generated by the engine Lua. The package nodetree doesn‘t change the rendered document. The tree view can only be seen when using a terminal to generate the document.

nodetree is inspired by a gist from Patrick Gundlach.

License

Copyright (C) 2016 by Josef Friedrich <josef@friedrich.rocks>

This work may be distributed and/or modified under the conditions of the Project Public License, either version 1.3 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.3 or later is part of all distributions of version 2005/12/01 or later.

CTAN

Since July 2016 the cloze package is included in the Comprehensive Archive Network (CTAN).

Repository

https://github.com/Josef-Friedrich/nodetree

Installation

Get source:

git clone git@github.com:Josef-Friedrich/nodetree.git
cd nodetree

Compile:

make

or manually:

luatex nodetree.ins
lualatex nodetree.dtx
makeindex -s gglo.ist -o nodetree.gls nodetree.glo
makeindex -s gind.ist -o nodetree.ind nodetree.idx
lualatex nodetree.dtx

Examples

The node list of the package name

\documentclass{article}
\usepackage{nodetree}
\begin{document}
nodetree
\end{document}
nodetree

The node list of a mathematical formula

\documentclass{article}
\usepackage[callback={mhlist}]{nodetree}
\begin{document}
\[\left(a\right)\left[\frac{b}{a}\right]=a\,\]
\end{document}
nodetree

The node list of the word 'Office'

The characters 'ffi' are deeply nested in a discretionary node.

\documentclass{article}
\usepackage{nodetree}
\begin{document}
Office
\end{document}
nodetree

Download the contents of this package in one zip archive (374.4k).

nodetree – Visualize node lists in a tree view

nodetree is a development package that visualizes the structure of node lists. nodetree shows its debug informations in the console output when you compile a Lua file. It uses a similar visual representation for node lists as the UNIX tree command for a folder structure.

Packagenodetree
Repositoryhttps://github.com/Josef-Friedrich/nodetree
Version1.2 2016-07-18
LicensesThe Project Public License 1.3
Copyright2016 Josef Friedrich
MaintainerJosef Friedrich
Contained inTeX Live as nodetree
MiKTeX as nodetree
TopicsLua supp
...
Guest Book Sitemap Contact Contact Author