On Thu, 6 Jun 2024, Wolfgang Schuster wrote:
Aditya Mahajan schrieb am 06.06.2024 um 14:48:
Hi,
I am testing some of my old styles on latest context and find that the background key of \startbackground and \starttextbackground doesn't work (\framed is working as expected). Here is a MWE:
1. \starttextbackground isn't based on \framed and has a mp-key to assign a metapost graphic.
Thanks. I had forgotten that.
2. \startbackground needs to be fixed but it's simple, replace \defcsname with \edefcsname in pack-bck.mklx:
\appendtoks \frozen\protected\instance\defcsname\e!start\currentbackground\endcsname{\pack_backgrounds_start [\currentbackground]}% \frozen\protected\instance\defcsname\e!stop \currentbackground\endcsname{\pack_backgrounds_stop }% \frozen\protected\instance\defcsname \currentbackground\endcsname{\pack_backgrounds_direct[\currentbackground]}% \to \everydefinebackground
Thanks. I'll patch it locally. Aditya