By meaning it is a minimum working example, it demonstrates the problem, but not in all situations I use. Basically at the start of a chapter or section, I have tons of metadata. This is information in \index{} (and some custom index like \dateis that generates a time line), information placed in registers, some information loaded from an entire passage sometimes \include passage.tex (though not displayed, cuz it contains indexes, registers, etc.), and its always leaving this gap after the section title. I've used \starteffect[hidden] as one attempt to hide it, but it only makes it basically invisible, but still present. How to make it invisible and take up no space? Or can I hide all that information inside some part of the section title?
On Monday, July 29, 2024 at 02:22:09 PM MDT, Hans Hagen via ntg-context
Okay, it took me a while, but I finally found what I believe is a minimum working example:
\starttext
\chapter{test}\starteffect[hidden]\footnote{here is footnote text}\stopeffect \input knuth
\input knuth
\stoptext
In this case, something that should not be displayed (the footnote mark), is not displayed, but it still creates an extra vertical space. If you highlight the text, you can see there is a blank text space created there.
Throwing % signs everywhere doesn't help at all:
\starttext% % \chapter{test}\starteffect[hidden]\footnote{here is footnote text}\stopeffect% \input knuth % % \input knuth % \stoptext% you anyway have to put such a note reference inside the title otherwise you create an insert node that for sure will mess up spacing
here's a trick .. i suppose that we can have a setting that supresses notes completely \setupnotes [location=none] \setupnotations [state=stop] \starttext \chapter{test\footnote{here is footnote text}} \input knuth \input knuth \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________