Re: [NTG-context] help with facing page image

2022-03-11 Thread jbf via ntg-context
Thanks Wolfgang. This version is the 'icing on the cake' I think, a further refined version of the suggestion put forward by Sreeram. Grateful as always, Julian On 11/3/22 23:36, Wolfgang Schuster wrote: \definepageinjectionalternative   [chapter:image]  

Re: [NTG-context] help with facing page image

2022-03-11 Thread Wolfgang Schuster via ntg-context
jbf schrieb am 09.03.2022 um 23:02: Am endeavouring to explore Wolfgang's very 'elegant' solution to this facing page challenge. The exploration has included a look at base/mkxl/page-inj.mklx (thanks Sreeram for reminding me of this) where I see immediately that the approach is experimental

Re: [NTG-context] help with facing page image

2022-03-10 Thread jbf via ntg-context
Using your example, Sreeram, but adapting it to my own set of images (which are not cows or spiders!) I can now see clearly how to make use of all the essential information that had initially been provided by Wolfgang, and also the important hint, which I had clumsily and unsuccessfully been

Re: [NTG-context] help with facing page image

2022-03-09 Thread śrīrāma via ntg-context
On Thursday, March 10, 2022 3:32 AM jbf via ntg-context wrote: > Am endeavouring to explore Wolfgang's very 'elegant' solution to this > facing page challenge. The exploration has included a look at > base/mkxl/page-inj.mklx (thanks Sreeram for reminding me of this) where > I see immediately

Re: [NTG-context] help with facing page image

2022-03-09 Thread jbf via ntg-context
If you mean \setuphead [chapter] [beforesection={\pageinjection[chapter:start]}, insidesection={\pageinjection[chapter:insert][name=\structureuservariable{image}][name=\structureuservariable{scale}]}] \starttext \startchapter[title={My title}] [image=Chapter1.jpg][scale=500]

Re: [NTG-context] help with facing page image

2022-03-09 Thread Aditya Mahajan via ntg-context
On Thu, 10 Mar 2022, jbf via ntg-context wrote: > Am endeavouring to explore Wolfgang's very 'elegant' solution to this > facing page challenge. The exploration has included a look at > base/mkxl/page-inj.mklx (thanks Sreeram for reminding me of this) where > I see immediately that the

Re: [NTG-context] help with facing page image

2022-03-09 Thread jbf via ntg-context
Am endeavouring to explore Wolfgang's very 'elegant' solution to this facing page challenge. The exploration has included a look at base/mkxl/page-inj.mklx (thanks Sreeram for reminding me of this) where I see immediately that the approach is experimental and where it says also that 'probably

Re: [NTG-context] help with facing page image

2022-03-07 Thread śrīrāma via ntg-context
On Tuesday, March 8, 2022 8:21 AM śrīrāma wrote: > However, I was not able to get the preview PDF correctly, only the first page > is visible. Someone who knows how to fix this, please point me in the right > direction and I will edit it as needed. Fixed now using \setuppaper. Sreeram

Re: [NTG-context] help with facing page image

2022-03-07 Thread śrīrāma via ntg-context
On Tuesday, March 8, 2022 12:05 AM Wolfgang Schuster wrote: > The example below uses a different mechanism to add images at the start > of a chapter. In the example you have to pass the name of image as > userdata argument of \startchapter but in the commented \setuphead > setting you can see

Re: [NTG-context] help with facing page image

2022-03-07 Thread jbf via ntg-context
Special thanks to Sreeram, Wolfgang, Bruce, Hraban for help with this issue, ranging from the simplest 'manual' approach (Bruce) to one that I must confess I could never have thought of using: definepageinjection (Wolfgang). Needless to say, all contributions work, with a bit of adjustment in

Re: [NTG-context] help with facing page image

2022-03-07 Thread Henning Hraban Ramm via ntg-context
Am 07.03.22 um 21:08 schrieb Bruce Horrocks via ntg-context: On 7 Mar 2022, at 03:49, jbf via ntg-context wrote: I wonder if someone can help me untangle the current little mess I seem to be creating! Author wants an image on facing page to each of 10 chapters in the bodypart of the

Re: [NTG-context] help with facing page image

2022-03-07 Thread Bruce Horrocks via ntg-context
> On 7 Mar 2022, at 03:49, jbf via ntg-context wrote: > > I wonder if someone can help me untangle the current little mess I seem to be > creating! > > Author wants an image on facing page to each of 10 chapters in the bodypart > of the document. Assume that everything else is working

Re: [NTG-context] help with facing page image

2022-03-07 Thread Wolfgang Schuster via ntg-context
jbf via ntg-context schrieb am 07.03.2022 um 09:27: Appreciate your assistance. I'll do my best with what you offer here. Of course, I've always said these images are at the beginning, not "the end of their respective chapters" and I've already indicated how the images are named, simply as

Re: [NTG-context] help with facing page image

2022-03-07 Thread jbf via ntg-context
Appreciate your assistance. I'll do my best with what you offer here. Of course, I've always said these images are at the beginning, not "the end of their respective chapters" and I've already indicated how the images are named, simply as Chapter1.jpg  and so on, so I'll need to work around

Re: [NTG-context] help with facing page image

2022-03-06 Thread śrīrāma via ntg-context
On Monday, March 7, 2022 11:50 AM jbf wrote: > All ten images are different, though, in my case (Chapter1.jpg, > Chapter2.jpg... Chapter10.jpg all in a pics directory, so I'd point > \setupexternalfigures to that). I wonder if there is a way to list them > so that they get called in order as

Re: [NTG-context] help with facing page image

2022-03-06 Thread jbf via ntg-context
I can see how that works, Sreeram, especially the chapter:after to cope with the chapters ending on an even page. Though I will have to try it now on a copy of the real document to test it there. All ten images are different, though, in my case (Chapter1.jpg, Chapter2.jpg... Chapter10.jpg all

Re: [NTG-context] help with facing page image

2022-03-06 Thread śrīrāma via ntg-context
On Monday, March 7, 2022 11:08 AM śrīrāma wrote: > > From what I understood from your explanation, I have this: > A formatted version below – %%% SOF % for 'mill' \setupexternalfigures[location={default}] \setuppagenumbering[alternative=doublesided] \definelayer [mill]

Re: [NTG-context] help with facing page image

2022-03-06 Thread śrīrāma via ntg-context
On Monday, March 7, 2022 9:19 AM jbf via ntg-context wrote: > Author wants an image on facing page to each of 10 chapters in the > bodypart of the document. Assume that everything else is working > properly for this document (double-sided etc.), but other than before > chapter 1, I can't seem

[NTG-context] help with facing page image

2022-03-06 Thread jbf via ntg-context
I wonder if someone can help me untangle the current little mess I seem to be creating! Author wants an image on facing page to each of 10 chapters in the bodypart of the document. Assume that everything else is working properly for this document (double-sided etc.), but other than before