issue with \savebuffer in LMTX

Dear list, I have the following sample: \startbuffer[x] a \stopbuffer \starttext \savebuffer[x][\jobname-temp.tex, prefix=no] whatever \stoptext Compiling it with current latest (2025.04.01 12:45) LMTX, the saved file name is "x". With current latest MkIV, the saved file name is \jobname-temp.tex. I think this may be a bug. Could anyone confirm this? Many thanks for your help, Pablo

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] Which works for me on latest build. — Bruce Horrocks Hampshire, UK

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. Pablo
participants (2)
-
Bruce Horrocks
-
Pablo Rodriguez