On 12/28/2015 3:11 PM, Wolfgang Schuster wrote:
Hans Hagen mailto:pragma@wxs.nl 28. Dezember 2015 um 15:05 On 12/28/2015 10:34 AM, Wolfgang Schuster wrote:
Hi Hans,
these settings in scrn-pag.mkvi to change the paperwidth and paperheight values in the PDF file have to be done also for the \setupapersize command.
\appendtoks \global\let\scrn_canvas_synchronize_simple \scrn_canvas_synchronize_simple_indeed \global\let\scrn_canvas_synchronize_complex\scrn_canvas_synchronize_complex_indeed
\to \everysetuplayout
so
\appendtoks \global\let\scrn_canvas_synchronize_simple \scrn_canvas_synchronize_simple_indeed
\global\let\scrn_canvas_synchronize_complex\scrn_canvas_synchronize_complex_indeed
\to \everysetuplayouttarget This won’t work because \setuppapersize uses \setupcurrentlayouttarget which doesn’t flush the \everysetuplayouttarget register.
hm, but i saw a size change in your test ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------