[NTG-context] Different behavior of \clf_lastypos vs \clf_lastxpos

2023-09-16 Thread Aditya Mahajan
Hi, I am trying to debug an unexpected behavior with tikz reported on tex.se: https://tex.stackexchange.com/q/696136/323 The attached file shows what is going wrong (without using tikz). For some reason, there is an extra \relax written to file after `\the\numexp\clf_lastypos\relax` (there is

[NTG-context] Framed Text with Chapter Numbers as Counter

2023-09-16 Thread Jeroen
This MWE has a framed text for some verbatim text (code) with as title ref. a counter 1, 2, etc.. Is there a way to change this frame text title as following with the chapter number and a sequential number and the title. Code Fragment 1.1 (The First Title) Code Fragment 1.2 (The Second Title)

[NTG-context] stream sync (or \pushoutputstream)

2023-09-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \showgrid \setuplayout[grid=yes] \starttext \startoutputstream[one] \startcolor[red] \dorecurse{4}{\input knuth\par\pushoutputstream} \stopcolor \stopoutputstream \startoutputstream[two]

[NTG-context] rotation weirdness

2023-09-16 Thread Hans van der Meer via ntg-context
I encountered something weird, that I cannot explain. It could be an error, but I was not able to pinpoint this.It seems as if the \rotate macro plays havoc with the macro definitions used to set the color of the frame and an outside title.Placing the outside title before the rotate proves that