CTAN Comprehensive TeX Archive Network

Directory macros/luatex/generic/lua-visual-debug

README.md

Visual debugging for Lua

The Lua package lua-visual-debug shows boxes, glues, kerns and penalties in the PDF output.

Usage:

:

\usepackage{lua-visual-debug}

or plain:

\input lua-visual-debug.sty

or Op:

\load[lua-visual-debug]

Requirements: The package has only been tested with Lua and the formats plain and . Other formats might work as well, but other engines only show a warning message.

Copyright 2012–2025 Patrick Gundlach (<patrick@gundla.ch>) and others (see Git information)

Package version: 2025-12-29 v1.0

Public repository: https://github.com/Udi-Fogiel/lvdebug

Licensed under the MIT license. See the Lua file for details.

The idea is heavily inspired by Hans Hagen's https://www.pragma-ade.com/articles/art-visi.pdf

Example output

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

lua-visual-debug – Visual debugging with Lua

The package uses lua code to provide visible indications of boxes, glues, kerns and penalties in the PDF output.

The package is known to work in and Plain documents.

Packagelua-visual-debug
Repositoryhttps://github.com/Udi-Fogiel/lvdebug
Version1.0 2025-12-29
LicensesMIT License
Copyright2012–2023 Patrick Gundlach
2025 Udi Fogiel
MaintainerUdi Fogiel
Patrick Gundlach (inactive)
Contained inTeX Live as lua-visual-debug
MiKTeX as lua-visual-debug
TopicsGeneric Macros
Debug supp
Lua
...
Guest Book Sitemap Contact Contact Author