[NTG-context] arrangement 3x1 doublesided

Willi Egger w.egger at boede.nl
Wed Sep 8 18:10:33 CEST 2010


Hi Andrea

hm, what you want is prepare a flyer?

We are going to the ConTeXt meeting in Brejlov, where I will have a talk on this subject. There are more page arrangements in this field which I do hope that they will make it into the distro.

You can add the following at the top of your file: CAVE! this works only with ConTeXt after 04.09.2010:

\unprotect
%FLYER in three parts and 6 pages 22-10-2010
\installpagearrangement TRYPTICHON
   {\dosetuparrangement{3}{1}{3}{4}{2}% X,Y,Total,hcutmarks,vcutmarks
        \pusharrangedpageFLYERSIX\poparrangedpagesAB\relax}

\def\pusharrangedpageFLYERSIX#1% Willi's approach
  {\global\advance\arrangedpageN\plusone
   \reportarrangedpage\arrangedpageN
   \ifcase\arrangedpageN
   \or \handlearrangedpageXandY{#1}020\arrangedpageA %  1  rot,hskip,vskip
   \or \handlearrangedpageXandY{#1}000\arrangedpageB %  2
   \or \handlearrangedpageXandY{#1}010\arrangedpageB %  3
   \or \handlearrangedpageXandY{#1}020\arrangedpageB %  4
   \or \handlearrangedpageXandY{#1}000\arrangedpageA %  5
   \or \handlearrangedpageXandY{#1}010\arrangedpageA %  6
       \poparrangedpages
   \fi}
\protect

If you run a version previous to 04.09.2010:

\unprotect
%Folder in three parts and 6 pages 22-10-2010
\installpagearrangement TRYPTICHON
   {\dosetuparrangement{3}{1}{3}{4}{2}% X,Y,Total,hcutmarks,vcutmarks
        \pusharrangedpageFOLDERSIX\poparrangedpagesAB\relax}

\def\pusharrangedpageFOLDERSIX#1% Willi's approach
  {\doglobal\increment\arrangedpageN
   \reportarrangedpage\arrangedpageN
   \ifcase\arrangedpageN
   \or \handlearrangedpageXandY{#1}020\arrangedpageA %  1  rot,hskip,vskip
   \or \handlearrangedpageXandY{#1}000\arrangedpageB %  2
   \or \handlearrangedpageXandY{#1}010\arrangedpageB %  3
   \or \handlearrangedpageXandY{#1}020\arrangedpageB %  4
   \or \handlearrangedpageXandY{#1}000\arrangedpageA %  5
   \or \handlearrangedpageXandY{#1}010\arrangedpageA %  6
       \poparrangedpages
   \fi}
\protect

I do hope that this is what you want.

Kind regards

Willi
On 8 Sep 2010, at 02:08, Andrea Valle wrote:

> Hi gurus,
> 
> can anyone please suggest a way to arrange this pdf:
> 
> http://www.fonurgia.unito.it/andrea/stuff/prog.pdf
> 
> so that at the end I have two pages A4 landscape with pages 561 and 234?
> I'd like to print it on A4 double sided and fold it in 3 parts.
> Tried by myself but no way.
> 
> Many thanks
> 
> Best
> 
> -a-
> 
> --------------------------------------------------
> Andrea Valle
> --------------------------------------------------
> CIRMA - DAMS
> Università degli Studi di Torino
> --> http://www.cirma.unito.it/andrea/
> --> http://www.myspace.com/andreavalle
> --> http://www.flickr.com/photos/vanderaalle/
> -->  http://www.youtube.com/user/vanderaalle
> --> andrea.valle at unito.it
> --------------------------------------------------
> " This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a lotta what-have-yous." 
> (Jeffrey 'The Dude' Lebowski)
> 
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________



More information about the ntg-context mailing list