ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Creating a folded meander book - imposition problem
Date: Sat, 26 Jan 2013 19:18:44 +0100	[thread overview]
Message-ID: <0BC706EE-B046-4030-8C6E-1D3283C8BED1@gmail.com> (raw)
In-Reply-To: <CAGbDsP1eQH0EDz8sv-qyuPeZy9p+4VkTmdiJK4Uced1VkyjdVQ@mail.gmail.com>


Am 26.01.2013 um 18:45 schrieb Mari Voipio <mari.voipio@iki.fi>:

> I would love to create a folded meander book, but as far as I can see,
> that means creating a new imposition scheme and that's beyond my
> skill. What I want is a cross between 2*16 and x=4, y=4 (I think).
> 
> Here's an explanation and a nice graphic of a 16-page (4x4) meander
> book: http://stamphenge.wordpress.com/minibooks/meander-accordion-folded-book/

\installpagearrangement MEANDER
  {\dosetuparrangement{4}{4}{16}{5}{5}%
     \pusharrangedpageMEANDER\poparrangedpagesXY\relax}

\def\pusharrangedpageMEANDER#1%
  {\advancearrangedpageN
   \reportarrangedpage\arrangedpageN
   \ifcase\arrangedpageN
   \or \handlearrangedpageXandY{#1}000\arrangedpageA
   \or \handlearrangedpageXandY{#1}010\arrangedpageA
   \or \handlearrangedpageXandY{#1}020\arrangedpageA
   \or \handlearrangedpageXandY{#1}030\arrangedpageA
   \or \handlearrangedpageXandY{#1}131\arrangedpageA
   \or \handlearrangedpageXandY{#1}121\arrangedpageA
   \or \handlearrangedpageXandY{#1}111\arrangedpageA
   \or \handlearrangedpageXandY{#1}101\arrangedpageA
   \or \handlearrangedpageXandY{#1}002\arrangedpageA
   \or \handlearrangedpageXandY{#1}012\arrangedpageA
   \or \handlearrangedpageXandY{#1}022\arrangedpageA
   \or \handlearrangedpageXandY{#1}032\arrangedpageA
   \or \handlearrangedpageXandY{#1}133\arrangedpageA
   \or \handlearrangedpageXandY{#1}123\arrangedpageA
   \or \handlearrangedpageXandY{#1}113\arrangedpageA
   \or \handlearrangedpageXandY{#1}103\arrangedpageA
     \poparrangedpages
   \fi}

\definepapersize[small][width=6cm,height=6cm]
\definepapersize[big][width=30cm,height=30cm]

\setuppapersize[small][big]

\setuppagenumbering[location=]

\setuparranging[MEANDER]

\setuplayout
  [location=middle,
   marking=on]

\starttext
\dorecurse{32}{\centerbox{\ssd\recurselevel}}
\stoptext

> A 9-page version (3x3) would also be nice to have, to make slightly
> bigger pages when printed on A4.

How do you plan to fold this? 

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


  reply	other threads:[~2013-01-26 18:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-26 17:45 Mari Voipio
2013-01-26 18:18 ` Wolfgang Schuster [this message]
2013-01-26 19:57   ` Mari Voipio
2013-01-27 19:07     ` Willi Egger

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=0BC706EE-B046-4030-8C6E-1D3283C8BED1@gmail.com \
    --to=wolfgang.schuster@gmail.com \
    --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).