Henning Hraban Ramm schrieb am 01.04.2024 um 17:19:
A while ago, I was pointed (by Wolfgang or Hans, I guess) to \start/stoptextdisplay to enhance whitespace handling around images.

My guess is Mikael because I saw the command the first time in the source of a presentation from him.

I wanted to document it, but can’t find it in the sources:

The definition is in spac-ver.mkxl.

$ context --find=textdisplay
[...]

These two documents use it and compile flawlessly.

%%%% begin \definetextdisplay
                     1     2         3
\definetextdisplay [...] [...] [..,..=..,..]
                          OPT       OPT

1  NAME
2  NAME
3  inherits: \setuptextdisplay
%%%% end \definetextdisplay

%%%% begin \setuptextdisplay
                      1           2
\setuptextdisplay [...,...] [..,..=..,..]
                     OPT

1  NAME
2  before = COMMAND
   after  = COMMAND
   factor = NUMBER
%%%% end \setuptextdisplay

%%%% begin \starttextdisplay
                        *
\starttextdisplay [..,..=..,..] ... \stoptextdisplay
                       OPT

*  inherits: \setuptextdisplay
%%%% end \starttextdisplay

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to