Re: [NTG-context] Creating flyers with ConTeXt

2018-09-27 Thread Jan U. Hasecke
I wikified this by putting a template on the Wiki.

https://wiki.contextgarden.net/DIN_lang_folder


Thanks a lot for your help.
juh
___
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
___

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-26 Thread Jan U. Hasecke
On 26.09.18 12:56, Jan U. Hasecke wrote:
> On 26.09.18 09:03, Marco Patzer wrote:
> 
>> I looked into it and this is what I came up with:
>>
>> \definepageshift
>>   [flyer]
>>   [horizontal]
>>   [\dimexpr\measure{bleed}/2-\measure{shortfold}\relax,
>>\dimexpr\measure{bleed}/2\relax,
>>\dimexpr\measure{bleed}/2\relax,
>>\dimexpr\measure{bleed}/2+2\measured{shortfold}\relax,
>>\dimexpr\measure{bleed}/2\relax,
>>\dimexpr\measure{bleed}/2-\measure{shortfold}\relax]
> 
> I don't get the same values like before, when I calculate with these
> equations.
> 
> And while the aligns of the pages look good I get irregular bleeds.
> Especially the left edge bleed seems to be too small.
> 
> 
> I am so bad at math. :-(

After writing down all values I realized that I never questioned the
strange value 6.8. With 7 it is quite easy. ;-)


\definepageshift
[flyer]
[horizontal]
[\dimexpr\measure{bleed}-\measured{shortfold}\relax,
\measure{bleed},
\measure{bleed},
\dimexpr2\measured{shortfold}+\measured{bleed}\relax,
\measure{bleed},
\dimexpr\measure{bleed}-\measured{shortfold}\relax
]


Thanks a lot for your help.
juh


-- 
Soziale Plastik. Die Kunst der Allmende
Essay zum 30. Todestag von Joseph Beuys
http://www.amazon.de/dp/1523458763/
Taschenbuch, 130 Seiten, EUR 9,90
___
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
___

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-26 Thread Jan U. Hasecke
On 26.09.18 09:03, Marco Patzer wrote:

> I looked into it and this is what I came up with:
> 
> \definepageshift
>   [flyer]
>   [horizontal]
>   [\dimexpr\measure{bleed}/2-\measure{shortfold}\relax,
>\dimexpr\measure{bleed}/2\relax,
>\dimexpr\measure{bleed}/2\relax,
>\dimexpr\measure{bleed}/2+2\measured{shortfold}\relax,
>\dimexpr\measure{bleed}/2\relax,
>\dimexpr\measure{bleed}/2-\measure{shortfold}\relax]

I don't get the same values like before, when I calculate with these
equations.

And while the aligns of the pages look good I get irregular bleeds.
Especially the left edge bleed seems to be too small.


I am so bad at math. :-(



juh
___
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
___

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-26 Thread Marco Patzer
On Tue, 25 Sep 2018 12:57:54 +0200
"Jan U. Hasecke"  wrote:

> \definemeasure
>   [bleed]
>   [3mm]
> 
> I used this value to generalize the A4-flyer dimensions.
> 
> \definepapersize
>   [A4-flyer]
>   [width=\dimexpr297mm+2\measured{bleed}\relax,
>height=\dimexpr210mm+2\measured{bleed}\relax]

That looks good. Note that the value 297 needs to be changed if
“shortfold” is changed. Which is unlikely because it's based on an
A4 paper size. Still, keep that in mind.

> But horizontal pageshift is beyond my grasp.
> 
> I can't see how to generalize the values.

I looked into it and this is what I came up with:

\definepageshift
  [flyer]
  [horizontal]
  [\dimexpr\measure{bleed}/2-\measure{shortfold}\relax,
   \dimexpr\measure{bleed}/2\relax,
   \dimexpr\measure{bleed}/2\relax,
   \dimexpr\measure{bleed}/2+2\measured{shortfold}\relax,
   \dimexpr\measure{bleed}/2\relax,
   \dimexpr\measure{bleed}/2-\measure{shortfold}\relax]

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
___

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-25 Thread Jan U. Hasecke
On 25.09.18 09:56, Marco Patzer wrote:
> In general it shouldn't be too hard to create two variables, “bleed”
> and “shortfold” and make the rest dependent on those two. But this
> didn't work for page shift when I tried. Probably because I didn't
> really grasp how pageshift works.

\definemeasure
[bleed]
[3mm]

I used this value to generalize the A4-flyer dimensions.

\definepapersize
[A4-flyer]
[width=\dimexpr297mm+2\measured{bleed}\relax,
 height=\dimexpr210mm+2\measured{bleed}\relax]



But horizontal pageshift is beyond my grasp.

I can't see how to generalize the values.

This example of yours works with 1mm bleed.

\definepageshift
  [flyer]
  [horizontal]
  [-2mm, 1mm, 1mm, 6.8mm, 1mm, -2mm]


This seems to work with 2mm bleed:

\definepageshift
  [flyer]
  [horizontal]
  [-1mm, 2mm, 2mm, 8mm, 2mm, -1mm]

And these are your values with 3mm bleed.

\definepageshift
[flyer]
[horizontal]
[\zeropoint, % 0
 \measure{shortfold},% 3mm
 \measure{shortfold},% 3mm
 3\measured{shortfold},  % 9mm
 \measure{shortfold},% 3mm
 \zeropoint] % 0


I tried to calculate it, but this equation is wrong.

\definepageshift
[flyer]
[horizontal]
[\dimexpr\measure{bleed}-\measure{shortfold}\relax,
\measure{shortfold},
 \measure{shortfold},
 3\measured{shortfold},
 \measure{shortfold},
\dimexpr\measure{bleed}-\measure{shortfold}\relax
]

It only works for a bleed of 3 mm.

juh
___
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
___

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-25 Thread Marco Patzer
On Mon, 24 Sep 2018 22:25:52 +0200
"Jan U. Hasecke"  wrote:

> On 21.09.18 16:56, Marco Patzer wrote:
> 
> > A while ago I made a corporate flyer with context using the
> > TRYPTICHON method. Printing required 3mm bleed.  
> 
> Thanks a lot for this template. This is exactly what I need.
> 
> I try to understand it in order to adapt it to the requirements of my
> print shop which only needs a bleed of 1mm.
> 
> I hope that I understand it right:
> 
> Page 1,2,3 and 6 are 100mm

correct

> Page 4 and 5 are 97mm as these are the pages that are folded to the
> inside.
> 
> The measure "shortfold" (3mm) reduces the 100mm page to 97mm. Right?

correct

> The pageshift thing is beyond my horizon so I won't comment on this.

Without the pageshift, the pages don't touch because of different
page sizes. Just comment out \setuppageshift and check the result.

> You adjust the backspace of the pages with multiples of the measure
> "big". Right?

Multiples of measure “small”, but yes. That's general page layout,
nothing to do with unequal pages or bleed.

> As you can see in my example I use layers on page 2-4 to have bleeding
> images on the top of the page. This works more or less.
> 
> But as you can see there are blank white spaces between the images of
> page 2-4. Maybe I can adjust this by using absolut measures like 100mm
> or 97mm in the layers.

Your dimensions were wrong, try:

\setlayer[topic1]
  [x=-1mm, y=-1mm]
  {\externalfigure[../bilder/topic1.png][width=101mm]}

> I have to adjust the layout of pages 2-4 so that the text starts below
> the images.

For background images layers are probably the right tool. For the
other images I used \startplacefigure … \stopplacefigure. Then
context takes care of the rest.

> An now here is my question. Is there a value I can simply change to
> have a pdf with only 1mm bleed?

No, I used the fact that bleed = shortfold = 3mm. The was of course
not very generic. You should create a new variable:

\definemeasure
  [bleed]
  [1mm]

Then set

\definepageshift
  [flyer]
  [vertical]
  [\measure{bleed}]

And adjust the horizontal page shift accordingly. That part is a bit
messy in my example. The variables are wrong, but the result was
correct. If it's a one-off thing, you could just use absolute
values:

\definepageshift
  [flyer]
  [horizontal]
  [-2mm, 1mm, 1mm, 6.8mm, 1mm, -2mm]

In general it shouldn't be too hard to create two variables, “bleed”
and “shortfold” and make the rest dependent on those two. But this
didn't work for page shift when I tried. Probably because I didn't
really grasp how pageshift works.

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
___

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-24 Thread Jan U. Hasecke
Hi Marco,

On 21.09.18 16:56, Marco Patzer wrote:

> A while ago I made a corporate flyer with context using the
> TRYPTICHON method. Printing required 3mm bleed.

Thanks a lot for this template. This is exactly what I need.

I try to understand it in order to adapt it to the requirements of my
print shop which only needs a bleed of 1mm.

I hope that I understand it right:

Page 1,2,3 and 6 are 100mm

Page 4 and 5 are 97mm as these are the pages that are folded to the inside.

The measure "shortfold" (3mm) reduces the 100mm page to 97mm. Right?

The pageshift thing is beyond my horizon so I won't comment on this.

You adjust the backspace of the pages with multiples of the measure
"big". Right?

As you can see in my example I use layers on page 2-4 to have bleeding
images on the top of the page. This works more or less.

But as you can see there are blank white spaces between the images of
page 2-4. Maybe I can adjust this by using absolut measures like 100mm
or 97mm in the layers.

I have to adjust the layout of pages 2-4 so that the text starts below
the images.

An now here is my question. Is there a value I can simply change to have
a pdf with only 1mm bleed?

Only adjusting the papersize A4-flyer to 299mm/212mm does not work of
course.

TIA
juh

%% The page shift of page #6 needs to be adjusted if the value is changed, no
%% clue why.
%% A4-flyer pagesize needs to be adjusted as well
\definemeasure
	[shortfold]
	[3mm]

\definepapersize
	[A4-flyer]
	[width=303mm,
	 height=216mm]

\definepapersize
	[flyer-page]
	[width=100mm,
	 height=210mm]

\definepapersize
  [flyer-page-small]
	[width=\dimexpr100mm-\measure{shortfold}\relax,
	 height=210mm]

\setuppapersize
	[flyer-page]
	[A4-flyer]

\setuparranging
	[TRYPTICHON]

%% The page shift of page #6 needs to be adjusted if shortfold is adjusted, no
%% clue why.
\definepageshift
	[flyer]
	[horizontal]
	[\zeropoint,
	 \measure{shortfold},
	 \measure{shortfold},
	 3\measured{shortfold},
	 \measure{shortfold},
	 \zeropoint]

\definepageshift
	[flyer]
	[vertical]
	[\measure{shortfold}]

\setuppageshift
	[paper]
	[flyer]

\definemeasure
	[small]
	[3mm]

\definemeasure
	[big]
	[\measure{small}*2]

\definelayout
	[first]
	[page]
	[page=flyer-page,
	 topspace=2\measured{big},
	 backspace=2\measured{small},
	 width=\dimexpr\paperwidth-4\measured{small}\relax,
	 height=\dimexpr\paperheight-4\measured{big}\relax]

\definelayout
	[second]
	[first]
	[topspace=4\measured{big},
	 backspace=2\measured{big},
	 width=\dimexpr\paperwidth-3\measured{big}\relax,
	 height=\dimexpr\paperheight-4\measured{big}-2\measured{big}\relax]

\definelayout
	[thirdandfourth]
	[second]
	[backspace=\measure{big},
	 width=\dimexpr\paperwidth-2\measured{big}\relax]

\definelayout
	[fifthandsixth]
	[first]
	[backspace=\measure{big},
	 width=\dimexpr\paperwidth-2\measured{big}\relax]

\definelayout [1] [first]
\definelayout [2] [second]
\definelayout [3] [thirdandfourth]
\definelayout [4] [thirdandfourth]
\definelayout [5] [fifthandsixth]
\definelayout [6] [fifthandsixth]


\setuphead[title][header=none,footer=none]

\definecolor [hs-logoblau] [c=1.0,m=0.46,y=0.0,k=0.42]
\definecolor [hs-dunkelblau] [c=0.65,m=0.36,y=0.0,k=0.26]
\definecolor [hs-mittelblau] [c=0.72,m=0.33,y=0.0,k=0.28]
\definecolor [hs-hellblau] [c=0.30,m=0.14,y=0.0,k=0.14]
\definecolor [hs-orange] [c=0.0,m=0.67,y=1.0,k=0.13]

\definefontfamily
[mainface]
[rm]
[Tex Gyre Heros]



\setupmakeup [doublesided=no]
\setupinterlinespace[line=3ex]

\setuphead [title] [textcolor=hs-dunkelblau,textstyle=\bfc, align=right]
\setupbodyfont	[mainface,10pt]
\setuptolerance [verytolerant]
\mainlanguage [de]
\setbreakpoints[compound]

\definelayer[Hintergrund]
[x=0, y=0, width=\paperwidth, height=\paperwidth]

\setlayer[Hintergrund]
[x=1.2cm, y=1cm]
{\externalfigure[../bilder/logo.pdf][width=7cm]}

\definelayer[topic1]
[x=-3mm, y=-3mm, width=\paperwidth, height=\paperheight]

\setlayer[topic1]
[x=-3mm, y=-3mm]
{\externalfigure[../bilder/topic1.png][width=102mm]}

\definelayer[topic2]
[x=0, y=-3mm, width=\paperwidth, height=\paperheight]

\setlayer[topic2]
[x=0cm, y=-3mm]
{\externalfigure[../bilder/topic2.png][width=99mm,height=58mm]}

\definelayer[topic3]
[x=0, y=0, width=\paperwidth, height=\paperwidth]

\setlayer[topic3]
[x=0cm, y=-3mm]
{\externalfigure[../bilder/topic3.png][width=102mm]}

\definelayer[blau]
[x=0, y=-3mm, width=\paperwidth, height=\paperheight]

\setlayer[blau]
[x=0mm,y=-3mm]
{\framed[frame=off,background=color, backgroundcolor=hs-dunkelblau,width=102mm, height=303mm]{}}

\showframe


\starttext
\setupbackgrounds[page][background=blau]

\startstandardmakeup

\externalfigure [../bilder/example.png] [width=\textwidth]
\blank[5*big]

\externalfigure [../bilder/logo.svg] [width=\textwidth]


\stopstandardmakeup

\starttitle[title={PAGE 2},marking{}]
\setupbackgrounds[page][background=topic1]



   \input lorem
\stoptitle 

\starttitle[title={PAGE 3},marking{ }]
\setupbackgrounds[page][background=topic2]

\input lorem

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Jan U. Hasecke
On 21.09.18 16:56, Marco Patzer wrote:
> A while ago I made a corporate flyer with context using the
> TRYPTICHON method. Printing required 3mm bleed.

Thanks for this hint. I would have asked this later I am sure because I
think there will be bleeding images.

juh
___
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
___

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Marco Patzer
On Fri, 21 Sep 2018 15:27:02 +0200
"Jan U. Hasecke"  wrote:

> consulting the wiki I found
> http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf
> and the command \setuparranging [TRYPTICHON]. So I think that I should
> be able to make a pdf for a flyer and print it with an online printer.
> 
> But as I am still very new to ConTeXt, I need a kickstart doing it.

A while ago I made a corporate flyer with context using the
TRYPTICHON method. Printing required 3mm bleed.

> Has anybody made a template for a leaflet flyer.

I created a context module for the flyer, so it was easy to add
content and support different languages. However, this is a very
specific module including corporate design and nothing generally
usable.

I trimmed the specific parts and attached a working file producing a
flyer. I left a few bits of the page design in the file.

Marco
%% The page shift of page #6 needs to be adjusted if the value is changed, no
%% clue why.
%% A4-flyer pagesize needs to be adjusted as well
\definemeasure
	[shortfold]
	[3mm]

\definepapersize
	[A4-flyer]
	[width=303mm,
	 height=216mm]

\definepapersize
	[flyer-page]
	[width=100mm,
	 height=210mm]

\definepapersize
  [flyer-page-small]
	[width=\dimexpr100mm-\measure{shortfold}\relax,
	 height=210mm]

\setuppapersize
	[flyer-page]
	[A4-flyer]

\setuparranging
	[TRYPTICHON]

%% The page shift of page #6 needs to be adjusted if shortfold is adjusted, no
%% clue why.
\definepageshift
	[flyer]
	[horizontal]
	[\zeropoint,
	 \measure{shortfold},
	 \measure{shortfold},
	 3\measured{shortfold},
	 \measure{shortfold},
	 \zeropoint]

\definepageshift
	[flyer]
	[vertical]
	[\measure{shortfold}]

\setuppageshift
	[paper]
	[flyer]

\definemeasure
	[small]
	[3mm]

\definemeasure
	[big]
	[\measure{small}*2]

\definelayout
	[first]
	[page]
	[page=flyer-page,
	 topspace=2\measured{big},
	 backspace=2\measured{small},
	 width=\dimexpr\paperwidth-4\measured{small}\relax,
	 height=\dimexpr\paperheight-4\measured{big}\relax]

\definelayout
	[second]
	[first]
	[topspace=4\measured{big},
	 backspace=2\measured{big},
	 width=\dimexpr\paperwidth-3\measured{big}\relax,
	 height=\dimexpr\paperheight-4\measured{big}-2\measured{big}\relax]

\definelayout
	[thirdandfourth]
	[second]
	[backspace=\measure{big},
	 width=\dimexpr\paperwidth-2\measured{big}\relax]

\definelayout
	[fifthandsixth]
	[first]
	[backspace=\measure{big},
	 width=\dimexpr\paperwidth-2\measured{big}\relax]

\definelayout [1] [first]
\definelayout [2] [second]
\definelayout [3] [thirdandfourth]
\definelayout [4] [thirdandfourth]
\definelayout [5] [fifthandsixth]
\definelayout [6] [fifthandsixth]

\defineoverlay
	[pagedecoration]
	[\useMPgraphic{pagedecoration}]

\setupbackgrounds
	[page]
	[background=pagedecoration,
	 backgroundcolor=lightblue]

\startuseMPgraphic{pagedecoration}
	distanceSmall := 3mm;
	distanceBig   := distanceSmall;
	bleed := 3mm;

	if PageNumber==1:

		path pageOne;
		pageOne := (0, -bleed) -- (PaperWidth + bleed, -bleed) -- (PaperWidth + bleed, distanceBig)
			-- (2.5distanceBig, distanceBig){left} .. {up}(distanceSmall, 2.5distanceBig)
			-- (distanceSmall, PaperHeight +  bleed) -- (0, PaperHeight + bleed) -- cycle;
		fill pageOne withcolor "lightblue";
		setbounds currentpicture to OverlayBox;

	elseif PageNumber==2:

		path pageTwo;
		pageTwo := (-bleed, -bleed) -- (PaperWidth, -bleed)
			-- (PaperWidth, distanceBig)
			-- (2.5distanceBig, distanceBig){left} .. {up}(distanceBig, 2.5distanceBig)
			-- (distanceBig, PaperHeight + bleed) -- (-bleed, PaperHeight + bleed) -- cycle;
		fill pageTwo withcolor "lightblue";
		setbounds currentpicture to OverlayBox;

	elseif PageNumber==3:

		path pageThree;
		pageThree := (0, -bleed) -- (PaperWidth, -bleed)
			-- (PaperWidth, distanceBig)
			-- (0, distanceBig) -- cycle;
		fill pageThree withcolor "lightblue";
		setbounds currentpicture to OverlayBox;

	elseif PageNumber==4:

	elseif PageNumber==5:

		path pageFive;
		pageFive := (-bleed, -bleed) -- (PaperWidth, -bleed)
			-- (PaperWidth, distanceBig)
			-- (-bleed, distanceBig) -- cycle;
		fill pageFive withcolor "lightblue";
		setbounds currentpicture to OverlayBox;

	elseif PageNumber==6:

		path pageSix;
		pageSix := (distanceSmall, -bleed) -- (PaperWidth, -bleed)
			-- (PaperWidth, PaperHeight-distanceBig)
			-- (2.5distanceBig, PaperHeight-distanceBig){left}
			.. {down}(distanceSmall, PaperHeight-2.5distanceBig) -- cycle;
		fill pageSix withcolor "lightblue";
		setbounds currentpicture to OverlayBox;

	fi
\stopuseMPgraphic

\starttext
	\input knuth \page
	\input knuth \page
	\input knuth \page
	\setuppapersize [flyer-page-small] [A4-flyer]
	\input knuth \page
	\input knuth \page
	\setuppapersize [flyer-page] [A4-flyer]
	\input knuth
\stoptext
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Wolfgang Schuster

Jan U. Hasecke schrieb am 21.09.18 um 16:03:

Thanks a lot. This is really straight forward. Embarrasing. ;-)


You should also read the following thread where the goal was to optimize 
the size of the inner pages to make folding easier.


https://mailman.ntg.nl/pipermail/ntg-context/2018/091766.html


On 21.09.18 15:48, Wolfgang Schuster wrote:

\definepapersize [A4/3] [width=99mm,height=210mm]

\setuppapersize [A4/3] [A4,landscape]

One question: is "A4/3" just a marker or does it include calculation?


It’s just a name for the paper size and the / is part of it, I choose it 
because we already have A4/2 as a predefined size.


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

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Jan U. Hasecke
Thanks a lot. This is really straight forward. Embarrasing. ;-)

On 21.09.18 15:48, Wolfgang Schuster wrote:
> \definepapersize [A4/3] [width=99mm,height=210mm]
> 
> \setuppapersize [A4/3] [A4,landscape]

One question: is "A4/3" just a marker or does it include calculation?

juh
___
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
___

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Brian Ballsun-Stanton
I use 3 steps to make: https://www.fedarch.org/resources/introPamphlet.pdf

Step 1, I lay out each individual page in a document.
Step 2. I make the cover in its own document. (I confess I don't remember
why I chose to do this)
Step 3. And then in a different document, I perform imposition to map the
pages to the folds.

My imposition code:

\definepapersize[sheet][width=99mm,height=210mm]

\setuppapersize[sheet][A4, landscape]
\setuppaper[nx=3, ny=1, dx=0mm, dy=0mm] % must come before \setuparranging!
\setuplayout[page][location=middle, marking=on]
\setuparranging [XY]
\setuplayout
  [backspace=0pt,
topspace=0pt,
   width=middle,
  height=middle,
location=middle,
  header=0pt,
  footer=0pt]

\starttext
\filterpages[../pdf/mobilePamphletInterior.pdf][4][width=0pt]
\filterpages[../pdf/mobilePamphletCover.pdf][2][width=0pt]
\filterpages[../pdf/mobilePamphletCover.pdf][1][width=0pt]
\filterpages[../pdf/mobilePamphletInterior.pdf][1,2,3][width=0pt]

\stoptext





On Fri, 21 Sep 2018 at 23:27, Jan U. Hasecke 
wrote:

> Hi all,
>
> consulting the wiki I found
>
> http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf
> and the command \setuparranging [TRYPTICHON]. So I think that I should
> be able to make a pdf for a flyer and print it with an online printer.
>
> But as I am still very new to ConTeXt, I need a kickstart doing it.
>
> Has anybody made a template for a leaflet flyer. In Germany we call it
> DIN lang afaik, I don't know the English name of the format. But it ends
> up with six pages (width 99mm/ height 210 mm).
>
> TIA
> juh
>
> ___
> 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
>
> ___
___
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
___

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Wolfgang Schuster

\definepapersize [A4/3] [width=99mm,height=210mm]

\setuppapersize [A4/3] [A4,landscape]

\setuparranging [TRYPTICHON]

\setupbodyfont [10pt]

\starttext
\dorecurse{12}{\samplefile{knuth}}
\stoptext


Wolfgang


Jan U. Hasecke schrieb am 21.09.18 um 15:27:

Hi all,

consulting the wiki I found
http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf
and the command \setuparranging [TRYPTICHON]. So I think that I should
be able to make a pdf for a flyer and print it with an online printer.

But as I am still very new to ConTeXt, I need a kickstart doing it.

Has anybody made a template for a leaflet flyer. In Germany we call it
DIN lang afaik, I don't know the English name of the format. But it ends
up with six pages (width 99mm/ height 210 mm).

TIA
juh
___
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
___


___
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
___

[NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Jan U. Hasecke
Hi all,

consulting the wiki I found
http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf
and the command \setuparranging [TRYPTICHON]. So I think that I should
be able to make a pdf for a flyer and print it with an online printer.

But as I am still very new to ConTeXt, I need a kickstart doing it.

Has anybody made a template for a leaflet flyer. In Germany we call it
DIN lang afaik, I don't know the English name of the format. But it ends
up with six pages (width 99mm/ height 210 mm).

TIA
juh
___
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
___