From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89563 Path: news.gmane.org!not-for-mail From: Mark Szepieniec Newsgroups: gmane.comp.tex.context Subject: setting margins in makeup Date: Fri, 19 Dec 2014 15:33:23 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0561198834==" X-Trace: ger.gmane.org 1418999654 6930 80.91.229.3 (19 Dec 2014 14:34:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Dec 2014 14:34:14 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 19 15:34:10 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y1yd7-00043e-Rj for gctc-ntg-context-518@m.gmane.org; Fri, 19 Dec 2014 15:34:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D4B51022B for ; Fri, 19 Dec 2014 15:34:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EKubpT_RxMyw for ; Fri, 19 Dec 2014 15:34:08 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8940B10236 for ; Fri, 19 Dec 2014 15:33:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46B00101EA for ; Fri, 19 Dec 2014 15:33:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QTEIvUEfNusG for ; Fri, 19 Dec 2014 15:33:33 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id A349E101E8 for ; Fri, 19 Dec 2014 15:33:28 +0100 (CET) Original-Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com [IPv6:2607:f8b0:400d:c01::233]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id sBJEXNh1028919 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Fri, 19 Dec 2014 15:33:25 +0100 Original-Received: by mail-qc0-f179.google.com with SMTP id c9so700118qcz.24 for ; Fri, 19 Dec 2014 06:33:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=G3O07eZlJ1dnA7p/viduwUO/MhH15cZoe1EPc5PQ8Tk=; b=Yyr1a9/EkTGIwUHXE3SPBRzwhzQupFSTb5VynqwNishut0eg/u1UZumYiJkEy/Lddu WrHAttTL4EtU8o5Riqx8K98mR8MipeFWQO+zYvzLsXsIhX0ngE1mZJw60u0CEmkv0ICb k5+736RYsVVudtW+HEmLGVnyV7CDCtRdFG1t94vRr19DACLshFKgZAk70XNjh4KwsTGJ JpLckCcg/XJj3yYATzB63eAZZWVxULoXydQ/nVQLw3HGCZ7PA0pMXADgl91QdLhHAq27 VryeQYQpXP8fGVLmJ+9bHtjysbtoldNowJcNBWATuCDdh1qzyPPT6/fb0S4kxQOzmbIj X09g== X-Received: by 10.224.130.66 with SMTP id r2mr14393734qas.2.1418999603577; Fri, 19 Dec 2014 06:33:23 -0800 (PST) Original-Received: by 10.229.203.67 with HTTP; Fri, 19 Dec 2014 06:33:23 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c01::233; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03NtqxpzD - 278214661781 - 20141219 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of mszepien@gmail.com designates 2607:f8b0:400d:c01::233 as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2607:f8b0:400d:c01::233; envelope-from=; helo=mail-qc0-x233.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:89563 Archived-At: --===============0561198834== Content-Type: multipart/alternative; boundary=001a1132eb864eca4b050a92979f --001a1132eb864eca4b050a92979f Content-Type: text/plain; charset=UTF-8 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 --001a1132eb864eca4b050a92979f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm having trouble resetting my margins in makeup page= s. I want the makeup pages to have equal topspace, bottomspace, backspace a= nd cutspace, regardless of the standard layout of the rest of the document.=

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

\setuppapersize [A4][A4]

% St= andard page layout
\setuplayout =C2=A0 =C2=A0[width=3Dmiddle, =C2= =A0backspace=3D1.5in, cutspace=3D1.5in,
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0height=3Dmiddle, topspace=3D0.75in, b= ottomspace=3D0.75in]

% Title page layout
% \definemakeup defines a layout with the same name, which we alter.
=
\definemakeup[titlepage]
\setuplayout =C2=A0[titlepage][widt= h=3Dmiddle, backspace=3D20mm, height=3Dmiddle, topspace=3D20mm]
<= br>
\starttext

\startmakeup[titlepage][t= op=3D,]
bla
\stopmakeup

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

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

Thanks in advance,<= /div>

Mark
--001a1132eb864eca4b050a92979f-- --===============0561198834== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0561198834==--