ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: how to define an environment with key=value arguments
Date: Fri, 8 Sep 2023 17:02:50 +0200	[thread overview]
Message-ID: <4c5dc0dc-c27a-7605-a360-47c8387dc5f8@fiee.net> (raw)
In-Reply-To: <910648c2-2fe1-a0e5-9143-8bd66b34f8ff@gmail.com>

Am 08.09.23 um 16:21 schrieb Wolfgang Schuster:
> Henning Hraban Ramm schrieb am 08.09.2023 um 13:09:
>> Am 08.09.23 um 12:35 schrieb Wolfgang Schuster:
>>
>>> For images (and other content) which are placed on a separate page at 
>>> the start of a chapter
>>> you can use the pageinjection mechanism which was added for this 
>>> purpose.
>>
>> Thank you!
>> You’re right, that might be enough.
>>
>> (Documented only in https://wiki.contextgarden.net/Command/setuphead 
>> so far. Even the source browser can’t find anything.)
> https://source.contextgarden.net/tex/context/base/mkxl/page-inj.mklx

Seems like I didn’t search right (just “pageinjections“?)

>> But my “image” consists of a background color (with bleed), a 
>> transparent overlay image (with bleed), a tilted image with a shadow 
>> on top and a caption (so far) – and pageinjection looks fixed to one 
>> image. How can I hook my own placement code in there?
> We can discuss the details next week and you put the resulting template 
> on the wiki.

Ah, I guess I understand the template mechanism. Yet again glorious 
setups. Will probably manage.

Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2023-09-08 15:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-08 10:22 [NTG-context] " Henning Hraban Ramm
2023-09-08 10:35 ` [NTG-context] " Wolfgang Schuster
2023-09-08 11:09   ` Henning Hraban Ramm
2023-09-08 14:21     ` Wolfgang Schuster
2023-09-08 15:02       ` Henning Hraban Ramm [this message]
2023-09-08 17:37         ` Henning Hraban Ramm
2023-09-09 10:56           ` Henning Hraban Ramm

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=4c5dc0dc-c27a-7605-a360-47c8387dc5f8@fiee.net \
    --to=texml@fiee.net \
    --cc=ntg-context@ntg.nl \
    /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).