3

Is there the draft mode in ConTeXt (to highlight overfull/underfull boxes and stuff)? If not, how can I re-create its features?

I've searched through ConTeXt wiki and all I found is --draft commandline option which doesn't seem suitable for ConTeXt Mark IV.

1 Answers1

3

There is a new feature in ConTeXt to show overfull and underfull boxes!

\enabletrackers[visualizers.justification] % overfull/underfull
\enabletrackers[typesetters.suspects] % suspicious spacing


\setuppapersize[A8]
\setuplayout[width=3mm] \showframe

\starttext

\hsize 3mm

xxxxxxxxxxxxxxxxxxxxxxx
xxxx
x

$x$x

x:$x$

\stoptext

With just the visualizers.justification, you get:

enter image description here

With just typesetters.suspects, you get:

enter image description here

And with both, you get:

enter image description here

Aditya
  • 62,301