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)

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 via email to