ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: layout problem
Date: Tue, 10 Feb 2009 12:05:37 +0100	[thread overview]
Message-ID: <49915F81.8000309@gmail.com> (raw)
In-Reply-To: <87skmnafcl.fsf@zapata.tots-ns.net>

Antoine Junod schrieb:

> I've got two layout problems I can't resolve by myself:
> 
> * My 'printer' (the company that will print the booklet for me, not
>   sure that the good word) asks me to provide him with a document that
>   is 2mm larger and 2mm higher that the final one to be sure he can
>   print precisely to the exact border of the paper. I don't want to
>   magnify the whole document as it will maybe cut some
>   information. Any idea on how I could achive that?

Not so easy because you can't use backgrounds tricks but it can
be done with modified page dimension.

> Here is my setup:
> 
> \setuppapersize[A5][A4]

Make the resulting page 2mm larger on each side.

\definepapersize[A5plus][width=150mm,height=214mm]
\definepapersize[A4plus][width=214mm,height=300mm]

\setuppapersize[A5plus][A4plus]

> \setuparranging[2UP,rotated]
> \setuppagenumbering
>  [alternative=doublesided]
> \definelayout
>         [default]
>         [leftmargin=0mm,rightmargin=24mm,
>          topspace=0mm,backspace=10mm,
>          width=115mm, height=middle]

\definelayout
   [default]
   [leftmargin=0mm,
    rightmargin=24mm,
    top=2mm,
    bottom=2mm,
    topspace=2mm,
    backspace=10mm,
    width=115mm,
    height=middle]

%\setuplayout[location=middle] % not necessary

> \setuplayout[default]
> \setupbodyfont[sansserif,10pt]
> \enableregime[utf]
> \setupcolors[state=start]
> \definecolor
>         [marginblue]
>         [c=.71,m=.58,y=0,k=.43]
> \setupbackgrounds
>         [text,header,footer]
>         [rightmargin]
>         [background=color,backgroundcolor=marginblue]

\setupbackgrounds
   [top,header,text,footer,bottom]
   [rightmargin]
   [background=color,backgroundcolor=marginblue]

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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2009-02-10 11:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-09 13:51 Antoine Junod
2009-02-09 14:02 ` Wolfgang Schuster
2009-02-09 14:20   ` Antoine Junod
2009-02-09 16:40     ` Martin Schröder
2009-02-09 18:52   ` Antoine Junod
2009-02-09 18:58     ` Wolfgang Schuster
2009-02-09 19:41       ` Antoine Junod
2009-02-09 19:51         ` Wolfgang Schuster
2009-02-10 11:05 ` Wolfgang Schuster [this message]
2009-02-11 14:30 ` Antoine Junod

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=49915F81.8000309@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).