Your suggestion works fine for me. I tried \filterpages too, as it is mentioned on the wiki as well, but the pages then got scaled to the \setuplayout definitions. I didn't think about using it within the \startpagemakeup environment though.
So thanks Pablo. P.S.: I'd still love to know why the simple \startpagefigure doesn't work as expected as I thought that's what it's there for. 2017-05-25 17:44 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > On 05/25/2017 05:22 PM, cryo shock wrote: > > Hi guys, > > > > I created a CTX document and now I am trying to merge it with two other > > pages from another (already compiled) pdf document. Usually I did this > > job with PDF Split And Merge software, but if CTX (mkiv, LuaTeX) is > > capable of doing the job, I'd be glad to use CTX instead. > > > > On the wiki I found a code snippet that sounds promising, as I don't > > want headers, page numbers etc. on the two merged pages: > > Hi Sebastian, > > how about the following code (I don’t remember when, how or where I > found it)? > > \starttext > \startpagemakeup\filterpages[file.pdf][1]\stoppagemakeup > \startpagemakeup\filterpages[file.pdf][2]\stoppagemakeup > \startpagemakeup\filterpages[file.pdf][3]\stoppagemakeup > \stoptext > > > Like I mentioned: even although there is no 5th page in file.pdf, LuaTeX > > pastes the first page three times... > > If you add a non-existing page, you will get a blank page (with the code > above). > > > Am I overlooking something or was there some undocumented change to the > > code? > > Sorry, but I don’t know. Probably I used pagefigure before discovering > pagemakeup. > > Just in case it might help, > > > Pablo > -- > http://www.ousia.tk > ____________________________________________________________ > _______________________ > 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 > ____________________________________________________________ > _______________________
___________________________________________________________________________________ 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 ___________________________________________________________________________________