ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: arrangement 3x1 doublesided
Date: Wed, 8 Sep 2010 18:10:33 +0200	[thread overview]
Message-ID: <1EFB451E-AC5E-4D6F-BC84-D7D67C8B2275@boede.nl> (raw)
In-Reply-To: <A5BE76E1-7233-471E-9AB9-F5EA7363E361@di.unito.it>

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@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@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
> ___________________________________________________________________________________

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@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
___________________________________________________________________________________


  parent reply	other threads:[~2010-09-08 16:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-08  0:08 Andrea Valle
2010-09-08  4:21 ` Wolfgang Schuster
2010-09-08 16:15   ` Willi Egger
2010-09-08 17:30     ` Wolfgang Schuster
2010-09-08 18:40       ` Hans Hagen
2010-09-08 16:10 ` Willi Egger [this message]
2010-09-08 17:58   ` Wolfgang Schuster
2010-09-08 18:22     ` Willi Egger
2010-09-08 18:45       ` Hans Hagen
2010-09-08 18:48         ` Arthur Reutenauer
2010-09-08 21:26           ` Hans Hagen
2010-09-08 21:32             ` Arthur Reutenauer
2010-09-09 19:43           ` Henning Hraban Ramm
2010-09-08 23:16   ` Andrea Valle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1EFB451E-AC5E-4D6F-BC84-D7D67C8B2275@boede.nl \
    --to=w.egger@boede.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).