ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Another  \setuparranging
@ 2007-01-18 20:23 Michal Kvasnicka
  2007-01-18 20:44 ` Willi Egger
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Kvasnicka @ 2007-01-18 20:23 UTC (permalink / raw)


Good evening.

Is there any SIMPLE way to add one more arranging scheme to
\setuparranging command? I regularly typeset some document on a piece of
paper that is 1/3 of A4, and want to print it in such a way that three
of them are positioned side to side on one A4 paper. I've been doing it
with pstops utility. Isn't there a simple way how make \setuparranging
command to do it?

And one more related question: Usually the document has just one page,
so in the print version there are three same pages side to side to each
other. Any hint how to do it?

Many thanks for your help.
Michal Kvasnicka

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Another  \setuparranging
  2007-01-18 20:23 Another \setuparranging Michal Kvasnicka
@ 2007-01-18 20:44 ` Willi Egger
  2007-01-18 21:42   ` Henning Hraban Ramm
  0 siblings, 1 reply; 4+ messages in thread
From: Willi Egger @ 2007-01-18 20:44 UTC (permalink / raw)


Hi Michal

There is no implemented 3SIDE arranging. However there is XY 
arranganging. Mostly this is used to fill sticker-sheets. - Still this 
can also be used to
put three pages on one sheet. Consider the following setup:

\definepapersize[MyPaper][height=210mm, width=95mm]

 \setuppapersize [MyPaper][A4,landscape]
 \setuplayout    [location=middle,marking=on]
\setuppaper
   [topspace=10mm,
   backspace=0mm,
   dx=5mm,
   dy=0mm,
   nx=3,
   ny=1,
   margin=0,
   width=297mm,
   height=210mm]
\setuplayout
    [topspace=10mm,
    backspace=6mm,
    margin=0mm,
    width=75mm,
    height=190mm,
    header=0mm,
    footer=0mm]

 \setuparranging [XY]

You will have to play with the different options.

Willi

Michal Kvasnicka wrote:
> Good evening.
>
> Is there any SIMPLE way to add one more arranging scheme to
> \setuparranging command? I regularly typeset some document on a piece of
> paper that is 1/3 of A4, and want to print it in such a way that three
> of them are positioned side to side on one A4 paper. I've been doing it
> with pstops utility. Isn't there a simple way how make \setuparranging
> command to do it?
>
> And one more related question: Usually the document has just one page,
> so in the print version there are three same pages side to side to each
> other. Any hint how to do it?
>
> Many thanks for your help.
> Michal Kvasnicka
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Another  \setuparranging
  2007-01-18 20:44 ` Willi Egger
@ 2007-01-18 21:42   ` Henning Hraban Ramm
  2007-01-19 14:18     ` Willi Egger
  0 siblings, 1 reply; 4+ messages in thread
From: Henning Hraban Ramm @ 2007-01-18 21:42 UTC (permalink / raw)


Am 2007-01-18 um 21:44 schrieb Willi Egger:

> There is no implemented 3SIDE arranging.

There is. You wrote it yourself for me:

\unprotect
% New pageimposition scheme 3SIDE by Willi Egger 21-07-2003
% put this in your environment or into page-imp.tex

\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}

\protect

It's also at http://wiki.contextgarden.net/Imposition



Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Another  \setuparranging
  2007-01-18 21:42   ` Henning Hraban Ramm
@ 2007-01-19 14:18     ` Willi Egger
  0 siblings, 0 replies; 4+ messages in thread
From: Willi Egger @ 2007-01-19 14:18 UTC (permalink / raw)


Yes I know!
I remember though the discussion on this topic. Therefore I did not 
mention it. - Yes I imported my patch from an old page-imp.tex and it 
worked without problems in the latest version of Context.

Willi

Henning Hraban Ramm wrote:
> Am 2007-01-18 um 21:44 schrieb Willi Egger:
>
>   
>> There is no implemented 3SIDE arranging.
>>     
>
> There is. You wrote it yourself for me:
>
> \unprotect
> % New pageimposition scheme 3SIDE by Willi Egger 21-07-2003
> % put this in your environment or into page-imp.tex
>
> \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}
>
> \protect
>
> It's also at http://wiki.contextgarden.net/Imposition
>
>
>
> Greetlings from Lake Constance!
> Hraban
> ---
> http://www.fiee.net/texnique/
> http://wiki.contextgarden.net
> https://www.cacert.org (I'm an assurer)
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-01-19 14:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-18 20:23 Another \setuparranging Michal Kvasnicka
2007-01-18 20:44 ` Willi Egger
2007-01-18 21:42   ` Henning Hraban Ramm
2007-01-19 14:18     ` Willi Egger

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).