Ciro A. Soto wrote:
I am hoping to get the version 1. The other version is like an exercise for me, to see how it would be done.
well, the machinery is there, and there are several solutions, of which i show only one (watch further on how we enable clipping);
don't forget to submit this example to the wiki
\definelayer [page] [width=\paperwidth, height=\paperheight, offset=-\measure{page-bleed}, doublesided=yes]
\setupbackgrounds [page] [background=page]
\setuppagenumbering [alternative=doublesided]
\definemeasure [page-bleed] [\dimexpr(10mm)]
\useexternalfigure [page-graphic] [cow] [ width=\dimexpr(2\paperwidth +2\measure{page-bleed}), height=\dimexpr( \paperheight+2\measure{page-bleed})]
\starttext
% cleaner here
\startstandardmakeup[doublesized=no,page={empty,left}] \setlayer [page] [preset=lefttop] {\externalfigure[page-graphic]} \stopstandardmakeup
\startstandardmakeup[doublesized=no,page=right] \setlayer [page] [preset=righttop] {\externalfigure[page-graphic]} \stopstandardmakeup
% less intuitive here % % \page[left] % % \setlayer % [page] [left] [preset=lefttop] % {\externalfigure[page-graphic]} % % \setlayer % [page] [right] [preset=righttop] % {\externalfigure[page-graphic]} % % \startstandardmakeup % flush a page % \stopstandardmakeup
% to show bleeding:
\setuppapersize [A4][A3]
\setuplayout [location=middle]
\setupbackgrounds [page][frame=on]
% add this in order to clip
\setuplayout [clipoffset=\measure{page-bleed}]
\startstandardmakeup[doublesized=no,page={empty,left}] \setlayer [page] [preset=lefttop] {\externalfigure[page-graphic]} \stopstandardmakeup
\startstandardmakeup[doublesized=no,page=right] \setlayer [page] [preset=righttop] {\externalfigure[page-graphic]} \stopstandardmakeup
\stoptext
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context