ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mark Szepieniec <mszepien@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: setting margins in makeup
Date: Fri, 19 Dec 2014 15:33:23 +0100	[thread overview]
Message-ID: <CAE4-1rVQFUv17VQ92=3EE+0J4qqK5qx+yUC6oS7ACzUUbHiHxQ@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1166 bytes --]

I'm having trouble resetting my margins in makeup pages. I want the makeup
pages to have equal topspace, bottomspace, backspace and cutspace,
regardless of the standard layout of the rest of the document.

Following Wolfgang's recommendation (
http://www.ntg.nl/pipermail/ntg-context/2014/079409.html), I tried the
following:

\setuppapersize [A4][A4]

% Standard page layout
\setuplayout    [width=middle,  backspace=1.5in, cutspace=1.5in,
                 height=middle, topspace=0.75in, bottomspace=0.75in]

% Title page layout
% \definemakeup defines a layout with the same name, which we alter.
\definemakeup[titlepage]
\setuplayout  [titlepage][width=middle, backspace=20mm, height=middle,
topspace=20mm]

\starttext

\startmakeup[titlepage][top=,]
bla
\stopmakeup

But, on my system, this puts the "bla" too far from the top of the page,
and it looks as though the topspace has not been set properly. (Backspace
seems ok), Am I doing something wrong or is there a better way to achieve
this?

Also, the manual says I can use the command \showframe to display frames to
help in debugging, but that doesn't seem to do anything for me?

Thanks in advance,

Mark

[-- Attachment #1.2: Type: text/html, Size: 1614 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2014-12-19 14:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-19 14:33 Mark Szepieniec [this message]
2014-12-19 15:38 ` Mark Szepieniec
2014-12-20 22:55   ` Pablo Rodriguez
2014-12-21 11:02     ` Hans Hagen
2014-12-21 20:03       ` Mark Szepieniec
2014-12-20 22:51 ` Pablo Rodriguez

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='CAE4-1rVQFUv17VQ92=3EE+0J4qqK5qx+yUC6oS7ACzUUbHiHxQ@mail.gmail.com' \
    --to=mszepien@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).