From: Willi Egger <w.egger@boede.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Page arranging: 2SIDE, 2UP, 2DOWN, 2*2, 2**2
Date: Sun, 26 Oct 2008 19:01:56 +0100 [thread overview]
Message-ID: <A1233543-E932-4C92-9BAA-3D8D47F9AA53@boede.nl> (raw)
In-Reply-To: <20081025132728.GB21389@atos.labs.wmid.amu.edu.pl>
[-- Attachment #1: Type: text/plain, Size: 301 bytes --]
Hi Marcin,
At the first CoTeXt meetin i gave a presentation on this subject. But
I can't find the link on the wiki ;-(
For this purpose I prepared a sample file, with wich you can easily
test the different outcomes. I attach this file. I hope that will
help to answer your questions.
Willi
[-- Attachment #2: arrange.tex --]
[-- Type: application/octet-stream, Size: 1906 bytes --]
\setupoutput[pdftex]
\mainlanguage[nl]
% \definepapersize[MyPaper][height=18cm, width=12cm]
% \setuppapersize[MyPaper][A3,landscape]
% \setuparranging[2*16] %section: one sheet 2 x 16 pages = 32 pages
% \setuparranging[2*8] %section: one sheet 2 x 8 pages = 16 pages
% \setuparranging[2*4] %section: one sheet 2 x 4 pages = 8 pages
% \setuparranging[2*2] %section: one sheet 2 x 2 pages = 4 pages
% \setuparranging[2**2] %section: one sheet 2 x 2 pages = 4 pages
% \setuparranging[2SIDE] %2 pages next to each other single sided only!
% \setuparranging[2TOP] %2 pages above each other, single sided only!
% \setuparranging[2UP] %2 pages next to each other, n sheets arranged for a single booklet!
% \setuparranging[2DOWN] %2 pages above each other, n sheets arranged for a single booklet!
% \setuparranging[2TOPSIDE] %two odd pages on one side, two even pages verso, above each other
% \setuparranging[2*4*2] %section of 16 pages: 2 sheets, 4 pages front and backside
% \setuparranging[2*2*4] %section of 16 pages: 4 sheets, 2 pages front and backside
% \setuparranging[XY] %one sheet with x rows and y columns
%
\setupbodyfont[ss,10pt]
\setuppapersize [A7][A4]
\setuparranging [2*2*4,doublesided]
\setuppagenumbering [alternative=doublesided,location=footer] %alternative=doublesided,
\setuplayout [margin=0pt,width=fit]
\setupbackgrounds [text][text][background=screen,backgroundscreen=0.7]
\setupcolors [state=start]
\setuplayout [location=middle,marking=on]
\setuptolerance [tolerant]
\def\Style{[2*2*4,doublesided]}
\startbuffer[Fakepage]
\strut
\blank
\midaligned{\Style}
\vfill
\midaligned{This is page \recurselevel}
\vfill
\stopbuffer
\setupheadertexts[Context meeting Epen 2007]
\starttext
% \showframe
\dorecurse{16}{\getbuffer[Fakepage]\page}
\stoptext
[-- Attachment #3: Type: text/plain, Size: 1136 bytes --]
On Oct 25, 2008, at 3:27 PM, Marcin Borkowski wrote:
> What is the difference between the above?
>
> In particular, do I get this correctly:
>
> (*) 2SIDE just puts 2 pages onto one sheet, in the following order:
>
> 1 2
> 3 4
> ...
>
> (*) 2UP prepares a booklet
>
> I'm not sure if I understand the rest. I tried 2DOWN, but got only
> even
> pages (?). And with 2*2 and 2**2 got the same (?) arrangement, but
> I'm
> not sure what it's for.
>
> Thanks & greets!
>
> --
> Marcin Borkowski (http://mbork.pl)
>
> People can be divided into 10 groups: those who like the binary system
> and those who don't.
> ______________________________________________________________________
> _____________
> 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 : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ______________________________________________________________________
> _____________
[-- Attachment #4: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-10-26 18:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-25 13:27 Marcin Borkowski
2008-10-25 13:47 ` Henning Hraban Ramm
2008-10-26 17:49 ` 2*2*4 Matthias Wächter
2008-10-26 18:01 ` Willi Egger [this message]
2008-10-26 18:43 ` Page arranging: 2SIDE, 2UP, 2DOWN, 2*2, 2**2 Henning Hraban Ramm
2008-10-26 21:36 ` Willi Egger
2008-10-27 1:19 ` Mojca Miklavec
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=A1233543-E932-4C92-9BAA-3D8D47F9AA53@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).