ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ntg-context Digest, Vol 103, Issue 95
Date: Thu, 31 Jan 2013 19:58:38 +0100	[thread overview]
Message-ID: <17D39668-0B92-4DC9-8E53-FF0469DFB298@gmail.com> (raw)
In-Reply-To: <510ABAAD.20102@mmnetz.de>


Am 31.01.2013 um 19:40 schrieb H. Özoguz <h.oezoguz@mmnetz.de>:

> Hi Wolfgang, thank you.
> 
> Am 31.01.2013 17:48, schrieb ntg-context-request@ntg.nl:
>> \setupbackgrounds[page][frame=on,frameoffset=10mm]
>> 
>> \setuppapersize[A4][A3]
>> 
>> \setuplayout[location=middle]
>> 
>> \starttext
>> \input knuth
>> \stoptext
> This does not work in my setting. I integrated you code in my setting, as follows, but this does not work, what did I forget?

In your example the paper has the same size as the page but you try draw a frame which is larger than the page. The question is where you expect the frame to appear.

>> Did you read my answer for your question in the other thread?
> 
> Of course I did, but I unterstood, that your code adds only 1.5cm, maybe it was easy to change and I oversaw that?
> For record: It was
> 
> \setuppapersize[MyBook][oversized]
> 
> I need variable oversizing (and mostly 3mm for printing and cutting)


\definepapersize[sheet]   [width=162mm,height=225mm]
\definepapersize[bigsheet][width=\dimexpr\paperwidth+6mm\relax,height=\dimexpr\paperheight+6mm\relax]

\setuppapersize[sheet][bigsheet]

\setupbackgrounds[page][frame=on,frameoffset=0mm]

\setuplayout
  [location=middle,
   topspace=17.4mm,
   header=1.1cm,
   footer=1.4cm,
   bottomspace=26mm,
   width=middle,
   cutspace=20mm,
   backspace=22.2mm,
   height=fit,
   grid=yes,
  %setups=mypenalties,
   ]

\starttext
\input knuth
\stoptext

BTW: Can you do something about the bad formatting of the examples from your mail client which adds a lot of empty lines.

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


      reply	other threads:[~2013-01-31 18:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.599.1359650884.2489.ntg-context@ntg.nl>
2013-01-31 18:40 ` "H. Özoguz"
2013-01-31 18:58   ` Wolfgang Schuster [this message]

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=17D39668-0B92-4DC9-8E53-FF0469DFB298@gmail.com \
    --to=wolfgang.schuster@gmail.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).