I am trying to typeset 2 A5 pages onto 1 A4 page in landscape format, side by side. Thus typesetting the pages two at a time on one piece of paper, in their natural order, seeing them as a spread. Something like xxxxxxxxxxxxxxxxxxxxxxx x x x x 1 x 2 x going on for 3, 4, etc. x x x xxxxxxxxxxxxxxxxxxxxxxx I do not seem to get that job done. The context code I tried: \setuppapersize[A5][A4,landscape] \setuplayout[location=doublesided,marking=on,grid=yes,header=0mm,margin= 12mm] \setuppagenumbering[location=footer,location=margin,alternative=doublesi ded] \setuparranging[2*1] % or [doublesided] or [mirrored] The \setuparranging (in the above variations) sends TeX into an infinite loop. Of course [2*2] will not work, it gives booklets of 4 pages instead of 2. Maybe it can be done without the \setuparranging, but I could not find out how. The context version I use is: ConTeXt ver: 2003.12.12 fmt: 2003.12.13 int: english mes: english I would appreciate some help very much. Hans van der Meer
Hans van der Meer
I am trying to typeset 2 A5 pages onto 1 A4 page in landscape format,
Try this: -------------------------------------------------- \setuppapersize[A5][A4,landscape] \setuparranging[2SIDE] \starttext \showframe \dorecurse{7}{\input tufte \par} \stoptext \endinput -------------------------------------------------- Patrick -- mon trainsistor j'adore
Hi, I still wonder why there is an empty page... This is slightly annoying.
Try this: -------------------------------------------------- \setuppapersize[A5][A4,landscape] \setuparranging[2SIDE] \starttext \showframe \dorecurse{7}{\input tufte \par} \stoptext \endinput --------------------------------------------------
Patrick -- Es wird kein Wunder geschehen
On Tuesday, Jan 6, 2004, at 17:20 America/New_York, Patrick Gundlach wrote:
I still wonder why there is an empty page... This is slightly annoying.
\setuppapersize[A5][A4,landscape] \setuparranging[2SIDE]
With [2SIDE], I don't get an empty page. I do get an extra page with a 0 down at the lower left corner. And this is annoying. With [2UP], page one starts on the recto, leaving a blank verso, which is what I would expect. Steve
Hi,
I still wonder why there is an empty page... This is slightly annoying.
\setuppapersize[A5][A4,landscape] \setuparranging[2SIDE]
With [2SIDE], I don't get an empty page. I do get an extra page with a 0 down at the lower left corner. And this is annoying.
That is true! I haven't seen the 0 in the corner. Where does it come from? This looks like a bug to me.... Patrick -- Es wird kein Wunder geschehen
\setuppapersize[A5][A4,landscape] \setuparranging[2SIDE]
With [2SIDE], I don't get an empty page. I do get an extra page with a 0 down at the lower left corner. And this is annoying.
Yes, I have the same observation. The "0" in left bottom corner of additional (and unwanted) sheet. Perhaps it is corrected in the new beta (my ConTeXt is a half year old), but a) I am travelling foreign country with limited time and Internet access, b) I am using rather complex macro for traveller electronic journal and switching to new beta means complex testing if everything will work OK. Please, can anybody with new ConTeXt check, how many pages are produced by next code? And if the table of contents is present? Thanks Vit Zyka (Hint: I got 3 pages (not expected 2) without table of content. Table of content is relaxed by using command \setuparranging.) Code: --- \setuppapersize[A5,landscape][A4] \setuparranging[2TOPSIDE] \starttext Content: \placecontent \switchtobodyfont[20pt] \dorecurse{3}{\section{Section \recurselevel}Page \recurselevel\page} \stoptext ---
Hi Vit When using arranging one needs either to use the option --arranging together with texexec and therefore no \setuparranging in the file or put \setuparranging in the file and run it first with the \setuparranging command commented. This will result in a jobname.tuo file, which is used in a further run with the \setuparranging line uncommented. - With this method the problem is, that when running the file through texexec with the \setuparranging command uncommented for all runs you end up with an inappropriate jobname.tuo file. That is the reason why you do not get the table of contents. When compiling your sample code with first the commented \setuparranging command and a final run with this line uncommented I get here: 2 sheets, first page with table of contents, the sections one and three, then follows a whole empty page (A4) with the mentioned 0 (zero)at the bottom left, the last page contains the the section two. See also attachment. Kind regards Willi Vit Zyka wrote:
\setuppapersize[A5][A4,landscape] \setuparranging[2SIDE]
With [2SIDE], I don't get an empty page. I do get an extra page with a 0 down at the lower left corner. And this is annoying.
Yes, I have the same observation. The "0" in left bottom corner of additional (and unwanted) sheet.
Perhaps it is corrected in the new beta (my ConTeXt is a half year old), but a) I am travelling foreign country with limited time and Internet access, b) I am using rather complex macro for traveller electronic journal and switching to new beta means complex testing if everything will work OK.
Please, can anybody with new ConTeXt check, how many pages are produced by next code? And if the table of contents is present?
Thanks Vit Zyka
(Hint: I got 3 pages (not expected 2) without table of content. Table of content is relaxed by using command \setuparranging.)
Code: --- \setuppapersize[A5,landscape][A4] \setuparranging[2TOPSIDE]
\starttext Content: \placecontent \switchtobodyfont[20pt] \dorecurse{3}{\section{Section \recurselevel}Page \recurselevel\page} \stoptext ---
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Hi Willi (and others),
thanx for detailed explanation and testing. Procesing the minimal example by
suggested way I received an improvement: I can see the contents. But stil
there is en error with number of pages. It means, that new ConTeXt has an
improvement in this direction.
This solution would be enough for me since I have written macro that add
empty pages the total number be mod 4=0 when the problem of empty sheet does
not occure.
But unfortunately, Win Acrobat Reader 6, 5.1 and 5.0 CE says about my
complex document:
There was an error procesing page. There was a problem reading the
document (14).
if I run texexec ONLY ONCE after the change. After two passing the Reader
does not complain.
So I will have to try a new version...
Vit
----- Original Message -----
From: "Willi Egger"
Hi Vit
When using arranging one needs either to use the option --arranging together with texexec and therefore no \setuparranging in the file or put \setuparranging in the file and run it first with the \setuparranging command commented. This will result in a jobname.tuo file, which is used in a further run with the \setuparranging line uncommented. - With this method the problem is, that when running the file through texexec with the \setuparranging command uncommented for all runs you end up with an inappropriate jobname.tuo file. That is the reason why you do not get the table of contents.
When compiling your sample code with first the commented \setuparranging command and a final run with this line uncommented I get here:
2 sheets, first page with table of contents, the sections one and three, then follows a whole empty page (A4) with the mentioned 0 (zero)at the bottom left, the last page contains the the section two.
See also attachment.
Kind regards Willi
Vit Zyka wrote:
\setuppapersize[A5][A4,landscape] \setuparranging[2SIDE]
With [2SIDE], I don't get an empty page. I do get an extra page with a 0 down at the lower left corner. And this is annoying.
Yes, I have the same observation. The "0" in left bottom corner of additional (and unwanted) sheet.
Perhaps it is corrected in the new beta (my ConTeXt is a half year old), but a) I am travelling foreign country with limited time and Internet access, b) I am using rather complex macro for traveller electronic journal and switching to new beta means complex testing if everything will work OK.
Please, can anybody with new ConTeXt check, how many pages are produced by next code? And if the table of contents is present?
Thanks Vit Zyka
(Hint: I got 3 pages (not expected 2) without table of content. Table of content is relaxed by using command \setuparranging.)
Code: --- \setuppapersize[A5,landscape][A4] \setuparranging[2TOPSIDE]
\starttext Content: \placecontent \switchtobodyfont[20pt] \dorecurse{3}{\section{Section \recurselevel}Page \recurselevel\page} \stoptext
participants (5)
-
Hans van der Meer
-
Patrick Gundlach
-
Steve Peter
-
Vit Zyka
-
Willi Egger