I'm trying to use the package for the first time, and I'm not having any success. Here's my input (hello.tex):
\documentclass{article}
\usepackage{lua-visual-debug}
\begin{document}
Hello, World!
\end{document}
And I'm compiling via lualatex hello.
Here's the console output:
$ lualatex hello
This is LuaTeX, Version 0.95.0 (TeX Live 2016)
restricted system commands enabled.
(./hello.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 1 language(s) loaded.
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2016/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debu
g.sty (/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/atbegshi.sty
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ifpdf.sty)))
No file hello.aux.
...mf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.lua:139: attempt to com
pare nil with number
stack traceback:
...mf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.lua:139: in function '
show_page_elements'
[\directlua]:1: in main chunk.
<argument> ...ow_page_elements(tex.box["AtBeginShipoutBox"])}
l.5 \end{document}
?
The copy of lua-visual-debug.lua that ships with MacTeX 2016 appears to be 0.4.