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
As seen in this example the size for the second page isn’t changed from
A4 to A5 because of the missing changes above which are done by
\setuplayout.
%%%% begin example
\starttext
\input ward
\page \setuppapersize[A5][A5]
% uncomment this to have the correct page size in the pdf
% \setuplayout
\input ward
\stoptext
%%%% end example
BTW: Are these settings for \setupinteractionscreen (also in
scrn-pag.mkvi) correct because nothing changes?
\appendtoks
\global\let\scrn_canvas_synchronize_simple \scrn_canvas_synchronize_simple
\global\let\scrn_canvas_synchronize_complex\scrn_canvas_synchronize_complex
\to \everysetupinteractionscreen
Wolfgang
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://mailman.ntg.nl/mailman/listinfo/dev-context