From: Aditya Mahajan <adityam@umich.edu>
To: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: background= key not working in \startbackground and \starttextbackground
Date: Thu, 6 Jun 2024 21:44:45 +0200 (CEST) [thread overview]
Message-ID: <50n5q662-qp3n-6pn9-o953-75sn3r5qr47o@hzvpu.rqh> (raw)
In-Reply-To: <69abcef5-ab9a-d8ff-cd60-242cbd569042@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]
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
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2024-06-06 19:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-06 12:48 [NTG-context] " Aditya Mahajan
2024-06-06 14:14 ` [NTG-context] " Wolfgang Schuster
2024-06-06 19:44 ` Aditya Mahajan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50n5q662-qp3n-6pn9-o953-75sn3r5qr47o@hzvpu.rqh \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
--cc=wolfgang.schuster.lists@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).