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>,
	ai2472206007@yeah.net
Subject: [NTG-context] Re: It seems that command “fillintext” is broken.
Date: Fri, 18 Oct 2024 18:38:03 +0200	[thread overview]
Message-ID: <166d2392-2976-ec9b-5c56-f89d16e3991b@gmail.com> (raw)
In-Reply-To: <172926242946.1601626.15358192492647349620@cgl.ntg.nl>

ai2472206007@yeah.net schrieb am 18.10.2024 um 16:40:
> hi,
> 
> It seems that command “fillintext” is broken.
> (ConTeXt  ver: 2024.09.25 11:53 LMTX)
> here is a MWE:
> 
> %%%
> \starttext
> \fillintext[width=3cm]{start of field}{extra argument}
> \stoptext
> %%%%

1. The \fillintext commands expects a paragraph as argument.

2. The command description in setup-en.pdf is wrong because I missed this.

3. You get a working example when you add \par at the end of the text 
but a blank line doesn't work.

%%%% begin example
\starttext

\fillintext[width=3cm]{start of field}{extra argument} 
\samplefile{lorem} \par

\stoptext
%%%% end example

4. Below is a simplified version of the problem.

%%%% begin example
\def\test
   {\dowithnextbox{\unhbox\nextbox\blank}%
    \hbox\bgroup\let\par\egroup}

\starttext

% this doesn't work
\test xxx

% this works
%\test xxx\par

\stoptext
%%%% end example

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-10-18 16:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-18 14:40 [NTG-context] " ai2472206007
2024-10-18 16:38 ` Wolfgang Schuster [this message]
2024-10-18 17:11   ` [NTG-context] " ai2472206007

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=166d2392-2976-ec9b-5c56-f89d16e3991b@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ai2472206007@yeah.net \
    --cc=ntg-context@ntg.nl \
    /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).