How can I get the following arrangement: 2 A5 pages printed on one landscape A4 page Order: -1 0 1 2 3 4 5 6 7 8 or in other words, no order which makes it ready for cutting/folding but just two A5 pages per A4 landscape in normal order, the way you would get it when you copy a book on A4 landscape. (Even better would be to have alternate A4 printed pages upside down so you can print doublesided and then bind it so you can flip the document without having to turn the printout.) Thanks, G
Hi, Try the psnup program and friends. This will do exactly what you want (including the rotation for the double-sided printer at work) although it assumes a4 input. I assume you could remove the @0.7 parts (scaling), but please check the manpage (BTW these commands are part of your TeX distribution ;-): pstops -pa4 -q '4:0L@0.7(21cm,0)+1L@0.7(21cm,14.85cm),2R@0.7(0cm,29.7cm)+3r@0.7(0cm,14. 85cm)' It uses stdin and stdout as source and destination (but you can specify two files for in and out). I figured the command out on linux, gv is you friend for these commands :-) Regards, Maarten Whenever anyone says, "theoretically", they really mean, "not really". On Friday, July 18, 2003, at 10:40 AM, Gerben Wierda wrote:
How can I get the following arrangement:
2 A5 pages printed on one landscape A4 page Order: -1 0 1 2 3 4 5 6 7 8 or in other words, no order which makes it ready for cutting/folding but just two A5 pages per A4 landscape in normal order, the way you would get it when you copy a book on A4 landscape.
(Even better would be to have alternate A4 printed pages upside down so you can print doublesided and then bind it so you can flip the document without having to turn the printout.)
Am Freitag, 18.07.03, um 10:40 Uhr (Europe/Zurich) schrieb Gerben Wierda:
2 A5 pages printed on one landscape A4 page Order: -1 0 1 2 3 4 5 6 7 8 or in other words, no order which makes it ready for cutting/folding but just two A5 pages per A4 landscape in normal order, the way you would get it when you copy a book on A4 landscape.
(Even better would be to have alternate A4 printed pages upside down so you can print doublesided and then bind it so you can flip the document without having to turn the printout.)
I think arranging mode "2UP" will fit your needs, apart from the rotation. Grüßlis vom Hraban! -- http://www.fiee.net/texnique/
Hi Gerben,
From: "Henning Hraban Ramm"
Am Freitag, 18.07.03, um 10:40 Uhr (Europe/Zurich) schrieb Gerben Wierda:
2 A5 pages printed on one landscape A4 page Order: -1 0 1 2 3 4 5 6 7 8 or in other words, no order which makes it ready for cutting/folding but just two A5 pages per A4 landscape in normal order, the way you would get it when you copy a book on A4 landscape.
(Even better would be to have alternate A4 printed pages upside down so you can print doublesided and then bind it so you can flip the document without having to turn the printout.)
I think arranging mode "2UP" will fit your needs, apart from the rotation.
"2UP" will produce a booklet i.e. if your document would coutn 8 pages then you get page 1 and 8 on the first sheet, 2 and 7 on the backside of the first sheet.... There is also 2*2 arranging, which should give you the requested result. Willi
Am Samstag, 19.07.03, um 12:39 Uhr (Europe/Zurich) schrieb Willi Egger:
"2UP" will produce a booklet i.e. if your document would coutn 8 pages then you get page 1 and 8 on the first sheet, 2 and 7 on the backside of the first sheet....
There is also 2*2 arranging, which should give you the requested result.
Sorry, I mixed it up. I meant "2SIDE". (BTW: Can anyone explain me how to make a "3SIDE"?) Grüßlis vom Hraban! -- http://www.fiee.net/texnique/
Am Sonntag, 20.07.03, um 15:01 Uhr (Europe/Zurich) schrieb Henning Hraban Ramm:
(BTW: Can anyone explain me how to make a "3SIDE"?)
OK, I just managed to define 3SIDE, but I don't understand \poparrangedpagesTWO as far that I could make ...THREE Hans or Taco, would you please? PLEASE! :-) From page-imp.tex: \def\splitoffarrangedpagesTWO {\splittopskip\zeropoint \global\setbox\arrangedpageA\vsplit\arrangedpageB to \!!onepoint \scratchdimen\ht\arrangedpageB \advance\scratchdimen -\!!onepoint \ifdim\scratchdimen>\!!onepoint \setbox\scratchbox\vsplit\arrangedpageB to \scratchdimen \fi} \installpagearrangement 2SIDE {\dosetuparrangement{2}{1}{2}{3}{2}% \pusharrangedpageSIDETOP\poparrangedpagesTWO\handlearrangedpageSIDE} \installpagearrangement 3SIDE {\dosetuparrangement{3}{1}{2}{4}{2}% \pusharrangedpageSIDETOP\poparrangedpagesTHREE\handlearrangedpageSIDE} Grüßlis vom Hraban! -- http://www.fiee.net/texnique/
Hi Hraban, You apparently understand this part of Hans' code a lot better than I do. I only respond to remind you that Hans' is in Hawai (TUG2003) right now. Greetings, Taco On Sun, 20 Jul 2003 22:57:39 +0200, Henning wrote:
Am Sonntag, 20.07.03, um 15:01 Uhr (Europe/Zurich) schrieb Henning Hraban Ramm:
(BTW: Can anyone explain me how to make a "3SIDE"?)
OK, I just managed to define 3SIDE, but I don't understand \poparrangedpagesTWO as far that I could make ...THREE
Hans or Taco, would you please? PLEASE! :-)
From page-imp.tex:
\def\splitoffarrangedpagesTWO {\splittopskip\zeropoint \global\setbox\arrangedpageA\vsplit\arrangedpageB to \!!onepoint \scratchdimen\ht\arrangedpageB \advance\scratchdimen -\!!onepoint \ifdim\scratchdimen>\!!onepoint \setbox\scratchbox\vsplit\arrangedpageB to \scratchdimen \fi}
\installpagearrangement 2SIDE {\dosetuparrangement{2}{1}{2}{3}{2}%
\pusharrangedpageSIDETOP\poparrangedpagesTWO\handlearrangedpageSIDE}
\installpagearrangement 3SIDE {\dosetuparrangement{3}{1}{2}{4}{2}%
\pusharrangedpageSIDETOP\poparrangedpagesTHREE\handlearrangedpageSIDE}
Grüßlis vom Hraban! -- http://www.fiee.net/texnique/
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
-- groeten, Taco
Am Montag, 21.07.03, um 11:06 Uhr (Europe/Zurich) schrieb Taco Hoekwater:
You apparently understand this part of Hans' code a lot better than I do. I only respond to remind you that Hans' is in Hawai (TUG2003) right now.
I thought you took part because there's something about "Taco's challenge" in the code. But Willi got it, now I hope it will work even for more than a few pages... Grüßlis vom Hraban! -- http://www.fiee.net/texnique/
Hi Hraban,
(BTW: Can anyone explain me how to make a "3SIDE"?)
OK, I just managed to define 3SIDE, but I don't understand \poparrangedpagesTWO as far that I could make ...THREE
Hans or Taco, would you please? PLEASE! :-)
THE FOLLOWING IS NOT THE WAY ONE SHOULD ADD NEW FEATURES! - Humble but I do not remember how to do it correclty. Copy page-imp.tex to page-imp.org Please insert the following code into page-imp.tex I would suggest just before "% % handy for stickers" % New pageimposition scheme 3SIDE by Willi Egger 21-07-2003 \installpagearrangement 3SIDE {\dosetuparrangement{3}{1}{6}{4}{2}% \pusharrangedpageTHREESIDE\poparrangedpagesAB\relax} \def\pusharrangedpageTHREESIDE#1% Willi's approach {\doglobal\increment\arrangedpageN \reportarrangedpage\arrangedpageN \ifcase\arrangedpageN \or \handlearrangedpageXandY{#1}000\arrangedpageA % 1 \or \handlearrangedpageXandY{#1}010\arrangedpageA % 2 \or \handlearrangedpageXandY{#1}020\arrangedpageA % 3 \or \handlearrangedpageXandY{#1}000\arrangedpageB % 4 \or \handlearrangedpageXandY{#1}010\arrangedpageB % 5 \or \handlearrangedpageXandY{#1}020\arrangedpageB % 6 \poparrangedpages \fi} Zou need te regenerate the format file to have this code working. Hans please give advice how to do this properly whithout intruding into the established ConTeXt-files! Willi
Am Montag, 21.07.03, um 11:15 Uhr (Europe/Zurich) schrieb Willi Egger:
THE FOLLOWING IS NOT THE WAY ONE SHOULD ADD NEW FEATURES! - Humble but I do not remember how to do it correclty.
It does exactly what I looked for! Thank you VERY much! Now I can finally print my planner pages (address book etc.) every 3 on one A4 sheet.
Hans please give advice how to do this properly whithout intruding into the established ConTeXt-files!
And please keep it in the distribution, if you get back from Hawaii! :-) Grüßlis vom Hraban! -- http://www.fiee.net/texnique/
How about the XY option: [copied from page-imp] % % handy for stickers etc, this way we can treat them as page % % \setuppapersize [XY][A4] % \setuppaper [topspace=5mm,backspace=5mm,dx=1mm,dy=1mm,nx=2,ny=6] % \setuplayout [page] [topspace=5mm,backspace=5mm] % \setuplayout [page] % \setuplayout [location=middle] % \setuparranging [XY] % \showframe % % \starttext \dorecurse{30}{test \recurselevel \page} \stoptext so, you can have any arrangement Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Hi all,
o.k. may be that the XY solution is the way to go. However I do not get the
results I would expect.
I tried to make the header smaller, no result., I tried to get Knuth's text
typeset. but pagebreaking is unsatisfactory.
Well if you leave the A4 portrait as in the commented example code from
page-imp and you have only single lines /words to be typeset, then the
result is ok.
May be I do not understand the matter quite well....
I would like to ask you Hans, whether that is something which could be
corrected some time. - If you look at the different frames drawn by
showframe, the left margin sticks out of the border of the defined page.
This is true for any page drawn on the sheet. - According to my experience
this is always happens also outside this XY thing.
Willi
----- Original Message -----
From: "Hans Hagen"
How about the XY option:
[copied from page-imp]
% % handy for stickers etc, this way we can treat them as page % % \setuppapersize [XY][A4] % \setuppaper [topspace=5mm,backspace=5mm,dx=1mm,dy=1mm,nx=2,ny=6] % \setuplayout [page] [topspace=5mm,backspace=5mm] % \setuplayout [page] % \setuplayout [location=middle] % \setuparranging [XY] % \showframe % % \starttext \dorecurse{30}{test \recurselevel \page} \stoptext
so, you can have any arrangement
Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
<!DSPAM:3f1d7beb154371697613551>
At 21:00 22/07/2003 +0200, you wrote:
I would like to ask you Hans, whether that is something which could be corrected some time. - If you look at the different frames drawn by showframe, the left margin sticks out of the border of the defined page. This is true for any page drawn on the sheet. - According to my experience this is always happens also outside this XY thing.
... minimal example set needed ... Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
Hi Hans,
Please find attached the most simple file I can produce and the accompagning
result
Willi
----- Original Message -----
From: "Hans Hagen"
At 21:00 22/07/2003 +0200, you wrote:
I would like to ask you Hans, whether that is something which could be corrected some time. - If you look at the different frames drawn by showframe, the left margin sticks out of the border of the defined page. This is true for any page drawn on the sheet. - According to my
experience
this is always happens also outside this XY thing.
... minimal example set needed ...
Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
<!DSPAM:3f1eff2283867629911482>
Willi, I had a go at this and found two things that I do not understand; \setuplayout [page] [topspace=5mm,backspace=5mm] Did not adjust anything until the [page] was removed and then the incorporated page seems to adjust appropriately. I do not understand the significance of [page] in this sommand. Also, \setuppapersize [XY][A4] You have changed this to \setuppapersize [XY][A4,landscape] This does not appear to work properly? Possibly a bug? -- Nigel
Hello Nigel,
\setuplayout [page] [topspace=5mm,backspace=5mm]
well, the command \setuplayout is \setuplayout[...,...=...,...] width <dimension> fit middle height <dimension> fit middle backspace <dimension> topspace <dimension> margin <dimension> [....] so there is no place for a first argument.
Also, \setuppapersize [XY][A4] You have changed this to \setuppapersize [XY][A4,landscape] This does not appear to work properly? Possibly a bug?
This would set XY on a4 landscape. What do you want to achieve? Patrick
On Saturday, Jul 19, 2003, at 11:36 Europe/Amsterdam, Henning Hraban Ramm wrote:
Am Freitag, 18.07.03, um 10:40 Uhr (Europe/Zurich) schrieb Gerben Wierda:
2 A5 pages printed on one landscape A4 page Order: -1 0 1 2 3 4 5 6 7 8 or in other words, no order which makes it ready for cutting/folding but just two A5 pages per A4 landscape in normal order, the way you would get it when you copy a book on A4 landscape.
(Even better would be to have alternate A4 printed pages upside down so you can print doublesided and then bind it so you can flip the document without having to turn the printout.)
I think arranging mode "2UP" will fit your needs, apart from the rotation.
No it doesn't. It produces a booklet format also. I get [3][0] [1][2] on a 4-page document. While I want: [-1][0] [1][2] [3] G
participants (8)
-
Gerben Wierda
-
Hans Hagen
-
Henning Hraban Ramm
-
Maarten Sneep
-
Nigel King
-
Patrick Gundlach
-
Taco Hoekwater
-
Willi Egger