ai2472206...@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
___________________________________________________________________________________