* [NTG-context] It seems that command “fillintext” is broken.
@ 2024-10-18 14:40 ai2472206007
2024-10-18 16:38 ` [NTG-context] " Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: ai2472206007 @ 2024-10-18 14:40 UTC (permalink / raw)
To: ntg-context
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
%%%%
Muyik
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: It seems that command “fillintext” is broken.
2024-10-18 14:40 [NTG-context] It seems that command “fillintext” is broken ai2472206007
@ 2024-10-18 16:38 ` Wolfgang Schuster
2024-10-18 17:11 ` ai2472206007
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2024-10-18 16:38 UTC (permalink / raw)
To: mailing list for ConTeXt users, ai2472206007
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: It seems that command “fillintext” is broken.
2024-10-18 16:38 ` [NTG-context] " Wolfgang Schuster
@ 2024-10-18 17:11 ` ai2472206007
0 siblings, 0 replies; 3+ messages in thread
From: ai2472206007 @ 2024-10-18 17:11 UTC (permalink / raw)
To: ntg-context
Thanks for the detailed explanation, I learned the usage of this command.
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-10-18 17:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-18 14:40 [NTG-context] It seems that command “fillintext” is broken ai2472206007
2024-10-18 16:38 ` [NTG-context] " Wolfgang Schuster
2024-10-18 17:11 ` ai2472206007
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).