ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 6-sided letter fold (TRYPTICHON) with unequal page size
@ 2018-06-19 20:15 Marco Patzer
  2018-06-27 16:35 ` Marco Patzer
  0 siblings, 1 reply; 8+ messages in thread
From: Marco Patzer @ 2018-06-19 20:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I try getting a 6-sided letterfold with unequal page size to work.
This is how it's supposed to look like:

  https://www.saxoprint.co.uk/blog/wp-content/uploads/2013/06/roll-fold-leaflets-02-01.png

This is easy with the arranging option TRYPTICHON. *But* the page
sizes are not equal and manually adjusting them shifts them not the
way they're supposed to. Page 4 and 5 need to be a bit less wide to
be able to fold neatly.

  Page width 1,2,3,6: 10cm
  Page width 4,5:      9.7cm

How to adapt for the changed page size without an overlapping page 4
and a page with clearance to the adjacent 6th page? Suggestions
welcome!

Here the example you've all been waiting for:

%% 6-sided letter fold
%% https://www.saxoprint.co.uk/blog/wp-content/uploads/2013/06/roll-fold-leaflets-02-01.png

\definepapersize
  [flyer]
  [width=10cm, height=21cm]

\definepapersize
  [flyer-small]
  [width=9.7cm, height=21cm]

\setuppapersize
  [flyer]
  [A4, landscape]

\setuplayout [page]
\setuparranging [TRYPTICHON]

\starttext
\showframe

10cm:\blank \rightaligned{\blackrule[width=10cm]}\vfill{\tfd\currentpage}

\page
10cm:\blank[5mm] \blackrule[width=10cm]\vfill{\tfd\currentpage}

\page
10cm:\blank[8mm] \blackrule[width=10cm]\vfill{\tfd\currentpage}

\page
%% shifts page to the left, why?
\setuppapersize [flyer-small] [A4, landscape]
9.7cm:\blank[11mm] \rightaligned{\blackrule[width=9.7cm]}\vfill{\tfd\currentpage}

\page
\setuppapersize [flyer-small] [A4, landscape]
9.7cm:\blank[14mm] \blackrule[width=9.7cm]\vfill{\tfd\currentpage}

\page
\setuppapersize [flyer] [A4, landscape]
10cm:\blank[10mm] \blackrule[width=10cm]\vfill{\tfd\currentpage}

\stoptext

Marco
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2018-06-28 15:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-19 20:15 6-sided letter fold (TRYPTICHON) with unequal page size Marco Patzer
2018-06-27 16:35 ` Marco Patzer
2018-06-27 16:42   ` Henning Hraban Ramm
2018-06-27 16:57     ` Marco Patzer
2018-06-27 17:54   ` Wolfgang Schuster
2018-06-27 18:40     ` Pablo Rodriguez
2018-06-27 19:18       ` Wolfgang Schuster
2018-06-28 15:01       ` Marco Patzer

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