Re: [NTG-context] \setuparranging 3SIDE
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 ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \setuparranging 3SIDE
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 | [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \setuparranging 3SIDE
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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 22, 2003 4:20 AM Subject: Re: [NTG-context] \setuparranging 3SIDE > > 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 | [EMAIL PROTECTED] >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 > [EMAIL PROTECTED] > http://www.ntg.nl/mailman/listinfo/ntg-context > > > XYarrange.tex Description: Binary data
Re: [NTG-context] \setuparranging 3SIDE
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 | [EMAIL PROTECTED] 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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \setuparranging 3SIDE
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/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \setuparranging 3SIDE
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/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \setuparranging 3SIDE
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 ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] \setuparranging 3SIDE
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 > [EMAIL PROTECTED] > http://www.ntg.nl/mailman/listinfo/ntg-context -- groeten, Taco ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] \setuparranging 3SIDE
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 [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context