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] \setups[pageinjection:chapter:image] \dorecurse{7}{\samplefile{lorem}} \stopchapter I tried that (and a few other combinations of the kind) but to no effect. Julian On 10/3/22 16:35, Aditya Mahajan via ntg-context wrote:
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 approach is experimental and where it says also that 'probably more alternatives will be added'. I wonder if that last phrase also includes the ability to manipulate the image(s) either generally or in individual cases?
So, for example., say I need (and in fact I do!) to change some aspect of individual images, e.g. I might want to scale=500, or fiddle with width/height of a particular image. At the moment I cannot see a way of doing this for each image. I wondered if the commented out setups in the response to this question might be a clue, but so far haven't been able to get that to have any effect. Couldn't you just pass scale as a key-value parameter, similar to how `name` is passed in Wolfgang's solution?
Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist :ntg-context@ntg.nl /http://www.ntg.nl/mailman/listinfo/ntg-context webpage :http://www.pragma-ade.nl /http://context.aanhet.net archive :https://bitbucket.org/phg/context-mirror/commits/ wiki :http://contextgarden.net ___________________________________________________________________________________