vm via ntg-context schrieb am 21.05.2024 um 16:07:
On 21/05/2024 15:54, Wolfgang Schuster wrote:
\setupmarginblocks[inbetween=]
\starttext
\dorecurse{100} {\bold{#1:} \samplefile{ward}% \startmarginblock Note #1\stopmarginblock \par}
\stoptext
when I compile this, i get per page with \par 1..10 -> the notes 1..11 \par 11..20 -> the notes 12..21 \par 21..30 -> the notes 32..31
...
is this expected standard?
i'd expect \par and notes synced on page. 1..10 -> 1..10
TeX was still on page 1 to collect text when it put note 11 into the buffer for the margin and the decision to make the break after block 10 happened afterwards. You can control page breaks to a certain degree with the \testpage command between paragraphs. \starttext \dorecurse{100} {\testpage[3] \bold{#1:} \samplefile{ward}% \startmarginblock Note #1\stopmarginblock \par} \stoptext Wolfgang