On 2025-08-14 02:56, Hans Hagen via ntg-context wrote:
On 8/14/2025 1:01 AM, Rik Kabel wrote:
With the latest (2025-08-13) I get an error from the following:
\setupinteraction
[state=stop]
\definelabel[Qi]
[text={\hbox to \dimexpr +15pt\relax{}},
alternative=inright,
way=bytext,
headstyle=small,
before=,after=,
]
\starttexdefinition tolerant protected unexpanded
startBlockQuotation
\begingroup
\Qi
\vskip -2\lineheight\relax
% \blank[-2*line]
\stoptexdefinition
\starttexdefinition stopBlockQuotation
\endgroup
\stoptexdefinition
\starttexdefinition tolerant protected unexpanded startExtract
\begingroup
\grabbufferdata[Extract]
[startExtract]
[stopExtract]
\stoptexdefinition
\starttexdefinition stopExtract
\blank[back,line]
\inlinebuffer[Extract]
\endgroup
\blank[line]
\stoptexdefinition
\starttext
\startBlockQuotation
\startExtract
\samplefile klein \par
\stopExtract
\stopBlockQuotation
\samplefile klein\startendnote[]
\samplefile klein\par
\startBlockQuotation
\startExtract
\samplefile klein \par
\stopExtract
\stopBlockQuotation
\stopendnote
\samplefile klein \par
\placenotes[endnote]
\stoptext
The error can be eliminated by changing interaction to stop, but I
want interaction.
The vskip is needed here because blank does not do the job, as you
can test in the example.
Is this a side effect of the new tagging changes?
(A workaround that uses blank would be welcome.)
in supp-box.mkxl line 2792 you can try to replace \hbox by \vpack
\setbox\b_syst_boxes\vpack{\expand\everypreroll#1}%
(i'm not sure about side effects on other usage)
First, thank you for the quick fix. That indeed does the job for this
document.
I am interested to know why the problem occurred only with interaction
active.
I also am wary of using \vskip (given the warning in the wiki) and would
like to know if there is some variant of \blank that will do the job, or
some other work-around in my example that would make it unnecessary.
--
Rik
___________________________________________________________________________________
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
___________________________________________________________________________________