
Am 03.04.2025 um 15:58 schrieb Pablo Rodriguez via ntg-context:
On 4/2/25 18:47, Bruce Horrocks wrote:
On 2 Apr 2025, at 15:21, Pablo Rodriguez via ntg-context wrote:
\startbuffer[x] a \stopbuffer \starttext \savebuffer[x][\jobname-temp.tex, prefix=no] whatever \stoptext
You're mixing up the syntax styles: if you want to use 'prefix=no' *and* specify a filename then use 'file=' i.e.:> \savebuffer[list=x,file=\jobname-temp.tex,prefix=no]
Many thanks for your help, Bruce.
It seems that LMTX is stricter in that particular point now.
\savebuffer get another input method which is a combination of \savebuffer[<buffer>][<filename>] and \savebuffer[list=<buffer>,file=<filename>] in the form \savebuffer[<buffer>][file=<filename>] When you now have a = in the second argument ConTeXt uses the third form which would previously result in the first form. Wolfgang