Re: [NTG-context] Crop marks and \setuplayout[nx,ny]

2009-06-08 Thread Nicolas Girard
2009/6/7 Hans Hagen pra...@wxs.nl:
 Nicolas Girard wrote:

 i'll add marking=page for that purpose


Hi Hans,
thanks in advance, that'd be great.
I intend to typeset business cards in Context in the near future, i
just hope i'll have climbed up the learning curve enough by then.

When you dedicate some time to the marking code, it would be also
great if you could get the markings to be properly shifted when using
\definepageshift / \setuppageshift.

Cheers,
Nicolas
___
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
___


[NTG-context] Crop marks and \setuplayout[nx,ny]

2009-06-07 Thread Nicolas Girard
Hi,
the following code, which I ran with
context --mode=print
shows crop marks in the middle if the sheet, overlapping the pages.
It is legitimate to specify dy=0pt in order to minimize paper cuts.
It seems to me like, in the case when dy=0pt, the code dealing with
crop marks should try not to overlap the pages, or suppress the marks
between two columns of pages.
What do you think ? Is there currently a solution to this ?

Cheers,
Nicolas




\definepapersize[BC][width=85mm,height=54mm]
\definelayer[blocks][width=85mm,height=54mm]

\doifmodeelse{print}{
  \setuppapersize[BC][A4]
  \setuplayout[nx=2,ny=5,dx=1cm,dy=0pt]
  \setuplayout[location=middle,width=fit,height=fit,marking=on]
}{
  \setuppapersize[BC][BC]
  \showframe[edge]
}

\setuppagenumbering[location=,state=stop]

\def\ZapfinoMedium{}
\def\ZapfinoBig{}

\setupbackgrounds[page][background=blocks]

\starttext
\startstandardmakeup
\setlayer[blocks][preset=rightbottom]{%
  \externalfigure[g-wurf][height=4.7cm]}
\setlayer[blocks][preset=middletop,voffset=1mm]%
{\ZapfinoMedium Title}
\startbuffer
\vbox{%
  \startlines
  Some Names
  of Some Cats
  \vskip-3pt\tfx smaller
  \vskip-5pt text
  \stoplines}
\stopbuffer
\setlayer[blocks][voffset=1.5cm,hoffset=2mm]{\getbuffer}
\startbuffer
\vbox{%
  Name and\hfill\break
  Address
}%
\stopbuffer
\setlayer[blocks][preset=leftbottom,offset=1.5mm,hoffset=0.5mm]{\getbuffer}
\setlayer[blocks][preset=rightbottom,offset=1.5mm]{www.samtfeld.de}
\stopstandardmakeup
\stoptext
___
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
___


Re: [NTG-context] Crop marks and \setuplayout[nx,ny]

2009-06-07 Thread Hans Hagen

Nicolas Girard wrote:

Hi,
the following code, which I ran with
context --mode=print
shows crop marks in the middle if the sheet, overlapping the pages.
It is legitimate to specify dy=0pt in order to minimize paper cuts.
It seems to me like, in the case when dy=0pt, the code dealing with
crop marks should try not to overlap the pages, or suppress the marks
between two columns of pages.
What do you think ? Is there currently a solution to this ?


i'll add marking=page for that purpose


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Crop marks and \setuplayout[nx,ny]

2009-06-07 Thread Nicolas Girard
2009/6/7 Hans Hagen pra...@wxs.nl:

 i'll add marking=page for that purpose

Hi Hans,
thanks in advance, that'd be great.
I intend to typeset business cards in Context in the near future, i
just hope i'll have climbed up the learning curve enough by then.

When you dedicate some time to the marking code, it would be also
great if you could get the markings to be properly shifted when using
\definepageshift / \setuppageshift.

Cheers,
Nicolas
___
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
___