ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Willi Egger" <w.egger@boede.nl>
Subject: Re: \setuparranging 3SIDE
Date: Mon, 21 Jul 2003 11:15:56 +0200	[thread overview]
Message-ID: <00e901c34f69$0bc276c0$0100a8c0@vademecum> (raw)
In-Reply-To: <CCA14188-BAF4-11D7-BA65-0030659899AA@fiee.net>

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

  parent reply	other threads:[~2003-07-21  9:15 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-18  8:40 \setuparranging question Gerben Wierda
2003-07-18 18:45 ` Maarten Sneep
2003-07-19 11:13   ` Gerben Wierda
2003-07-19  9:36 ` Henning Hraban Ramm
2003-07-19 10:39   ` Willi Egger
2003-07-20 13:01     ` Henning Hraban Ramm
2003-07-20 20:57       ` \setuparranging 3SIDE Henning Hraban Ramm
2003-07-21  9:06         ` Taco Hoekwater
2003-07-21 20:10           ` Henning Hraban Ramm
2003-07-21  9:15         ` Willi Egger [this message]
2003-07-21 20:08           ` Henning Hraban Ramm
2003-07-22  2:20           ` Hans Hagen
2003-07-22 19:00             ` Willi Egger
2003-07-23 20:07               ` Hans Hagen
2003-07-24 16:10                 ` shifted \showframe: was :\setuparranging 3SIDE Willi Egger
2003-07-24  7:12               ` \setuparranging 3SIDE Nigel King
2003-07-24  8:58                 ` Patrick Gundlach
2003-07-19 11:20   ` \setuparranging question Gerben Wierda

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='00e901c34f69$0bc276c0$0100a8c0@vademecum' \
    --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).