Thank you both for the suggestions. My final code looks like this:
---
\def\PushPaperSize{\edef\PopPaperSize{\setuppapersize[\papersize][\printpapersize]}}
\definehead[subjectLand][subject]
\setuphead[subjectLand][before={\PushPaperSize\page},style=bold]
\setuptyping[Dim][bodyfont=small,style={
On Wed, 13 Oct 2010, Hans Hagen wrote:
On 13-10-2010 3:22, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
I need to typeset contents of a wide file. This works:
---
\starttext
\setuppapersize[A4,landscape][A4,landscape]
\typefile[Dim]{Cha-MMax-iDL.txt}
\page
% RESTORE ORIGINAL PAGE S
On 13-10-2010 3:22, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
I need to typeset contents of a wide file. This works:
---
\starttext
\setuppapersize[A4,landscape][A4,landscape]
\typefile[Dim]{Cha-MMax-iDL.txt}
\page
% RESTORE ORIGINAL PAGE SETTINGS
AAA
\stoptext
You can wikify
Hello,
I need to typeset contents of a wide file. This works:
---
\starttext
\setuppapersize[A4,landscape][A4,landscape]
\typefile[Dim]{Cha-MMax-iDL.txt}
\page
% RESTORE ORIGINAL PAGE SETTINGS
AAA
\stoptext
---
And I'd like to find out how to restore previous page settings.
I gu