Of old I have found the wolf fence tactics useful: Put for example an X at the beginning of a suspected section and somewhat further a Y. OIf they bracket the culprit the offending space will be between them. Otherwise narrow the fence. dr. Hans van der Meer > On 29 Sep 2020, at 14:26, Denis Maier wrote: > > Hi, > > I have ended up with unwanted whitespace at the beginning of my document. The environment definition is already quite complex, so I cannot easily tell where the whitespace is coming from. Any advice how I could track that down? Are there some tricks for this? > > Best, > Denis > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________