ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Henning Hraban Ramm <texml@fiee.net>
Subject: [NTG-context] Re: what about "textdisplay"?
Date: Mon, 1 Apr 2024 18:21:31 +0200	[thread overview]
Message-ID: <ff09e57c-573f-802b-b697-59ca2af7e8d8@gmail.com> (raw)
In-Reply-To: <87d4a079-0963-4c86-a179-41eb49c8a928@fiee.net>

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	other threads:[~2024-04-01 16:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-01 15:19 [NTG-context] " Henning Hraban Ramm
2024-04-01 16:21 ` Wolfgang Schuster [this message]
2024-04-01 16:29   ` [NTG-context] " Henning Hraban Ramm
2024-04-01 16:54     ` Wolfgang Schuster
2024-04-02  5:44       ` Henning Hraban Ramm
2024-04-02  8:28         ` Hans Hagen via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ff09e57c-573f-802b-b697-59ca2af7e8d8@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).