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
    Does \overfullrule 5pt\relax do what you want?
    – Aditya
    Commented Jan 20, 2016 at 18:43
  • @Aditya: for overfull boxes - pretty much) But what about underfull ones? In the wake of your answer I've found this question. Does this have to be some large extra routine too?
    – The_Keeper
    Commented Jan 21, 2016 at 6:30
  • LaTeX doesn't show underful boxes either :-). I don't know TeX internals well enough to understand the link that you posted. So I don't know how to translate it to ConTeXt
    – Aditya
    Commented Jan 21, 2016 at 14:38
  • @Aditya: well, neither do I) thanks for your help... again ^^
    – The_Keeper
    Commented Jan 22, 2016 at 9:25

1 Answer 1


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

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

\setuplayout[width=3mm] \showframe


\hsize 3mm





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

  • that's pretty neat! and I guess that solves the problem... but it gives a lot of false positives (perhaps caused by hanging punctuation)... is there a way to set some visibility threshold?)
    – The_Keeper
    Commented Feb 15, 2016 at 20:58
  • Not sure. You can ask on the mailing list where this was announced
    – Aditya
    Commented Feb 15, 2016 at 23:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .