Re: [NTG-context] Layout definitions ..

2004-09-23 Thread Hans Hagen
Dirar BOUGATEF wrote:
2. I would like to define a new layout that does not contain left and 
right margins.
This layout is going to divide my page to 4 parts as a matrix of 2x2.
How can i do that ?
Is there anyway to identify each part of them in the same way as we 
identify the left and right margins within the default layout ?
Is this in relation with margin and opposite blocks ?
depends on what you want to do; an option is to make A6 pages and to 
impose the pages; another option is to use layers:

\setuplayout
 [page]
\definelayer[lt] \setuplayer[lt][width=.5\textwidth,height=.5\textheight]
\definelayer[lb] \setuplayer[lb][width=.5\textwidth,height=.5\textheight]
\definelayer[rt] \setuplayer[rt][width=.5\textwidth,height=.5\textheight]
\definelayer[rb] \setuplayer[rb][width=.5\textwidth,height=.5\textheight]
\definelayer[pp] \setuplayer[pp][width=\textwidth,height=\textheight]
\startsetups buildpage
   \setlayer[pp][preset=lefttop]{\tightlayer[lt]}
   \setlayer[pp][preset=righttop]   {\tightlayer[rt]}
   \setlayer[pp][preset=leftbottom] {\tightlayer[lb]}
   \setlayer[pp][preset=rightbottom]{\tightlayer[rb]}
   \startstandardmakeup \tightlayer[pp] \stopstandardmakeup
\stopsetups
\starttext
   \setlayerframed[lt][preset=middle,rotation=45]{welcome}
   \setlayerframed[rt][preset=middle,rotation=315]{to}
   \setlayerframed[rb][preset=middle,rotation=225]{context's}
   \setlayerframed[lb][preset=middle,rotation=135]{layers}
   \setups[buildpage]
\stoptext
(something for the wiki archive)
Hans
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: [NTG-context] Layout definitions ..

2004-09-22 Thread Dirar BOUGATEF
Thanx for your answer Parick.
Original Message Follows
From: Dirar Bougatef lt;[EMAIL PROTECTED]gt;
Reply-To: mailing list for ConTeXt users lt;[EMAIL PROTECTED]gt;
To: [EMAIL PROTECTED]
Subject: [NTG-context] Layout definitions ..
Date: Tue, 21 Sep 2004 14:21:48 +0200
MIME-Version: 1.0
X-Originating-IP: [82.226.175.122]
X-Originating-Email: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
Received: from ronja.ntg.nl ([131.211.172.88]) by mc4-f14.hotmail.com with 
Microsoft SMTPSVC(5.0.2195.6824); Tue, 21 Sep 2004 05:24:41 -0700
Received: from localhost (localhost.localdomain [127.0.0.1])by ronja.ntg.nl 
(Postfix) with ESMTP id 9B5C712791;Tue, 21 Sep 2004 14:24:40 +0200 (CEST)
Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl 
[127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19064-08; Tue, 21 Sep 
2004 14:24:37 +0200 (CEST)
Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1])by 
ronja.ntg.nl (Postfix) with ESMTP id 8081A1278A;Tue, 21 Sep 2004 14:24:37 
+0200 (CEST)
Received: from localhost (localhost.localdomain [127.0.0.1])by ronja.ntg.nl 
(Postfix) with ESMTP id 3D8E912788for lt;[EMAIL PROTECTED]gt;; Tue, 21 
Sep 2004 14:24:36 +0200 (CEST)
Received: from ronja.ntg.nl ([127.0.0.1])by localhost (ronja.vet.uu.nl 
[127.0.0.1]) (amavisd-new, port 10024)with LMTP id 19172-04 for 
lt;[EMAIL PROTECTED]gt;;Tue, 21 Sep 2004 14:24:35 +0200 (CEST)
Received: from hotmail.com (unknown [64.4.35.180])by ronja.ntg.nl (Postfix) 
with ESMTP id 93EF4126F8for lt;[EMAIL PROTECTED]gt;; Tue, 21 Sep 2004 
14:24:35 +0200 (CEST)
Received: from mail pickup service by hotmail.com with Microsoft 
SMTPSVC;Tue, 21 Sep 2004 05:21:55 -0700
Received: from 82.226.175.122 by bay12-dav6.bay12.hotmail.com with DAV;Tue, 
21 Sep 2004 12:21:55 +
X-Message-Info: EoYTbT2lH2Pu+zT9IFbzN8wAFl3CLIJI
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Message-ID: lt;[EMAIL PROTECTED]gt;
User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)
X-Accept-Language: en-us, en
X-OriginalArrivalTime: 21 Sep 2004 12:21:55.0591 
(UTC)FILETIME=[955C2170:01C49FD5]
X-Virus-Scanned: by amavisd-new at ntg.nl
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: mailing list for ConTeXt users lt;ntg-context.ntg.nlgt;
List-Unsubscribe: 
lt;http://www.ntg.nl/mailman/listinfo/ntg-contextgt;,lt;mailto:[EMAIL PROTECTED]gt;
List-Archive: lt;http://www.ntg.nl/pipermail/ntg-contextgt;
List-Post: lt;mailto:[EMAIL PROTECTED]gt;
List-Help: lt;mailto:[EMAIL PROTECTED]gt;
List-Subscribe: 
lt;http://www.ntg.nl/mailman/listinfo/ntg-contextgt;,lt;mailto:[EMAIL PROTECTED]gt;
Errors-To: [EMAIL PROTECTED]
X-Virus-Scanned: by amavisd-new at ntg.nl
Return-Path: [EMAIL PROTECTED]

Hi,
I have 2 questions:
1. Is there anyway to answer the messages on this archive without
replying to the corresponding received mail? I would like to update a
previous post but can't manage to do it.
2. I would like to define a new layout that does not contain left and right 
margins.
This layout is going to divide my page to 4 parts as a matrix of 2x2.
How can i do that ?
Is there anyway to identify each part of them in the same way as we identify 
the left and right margins within the default layout ?
Is this in relation with margin and opposite blocks ?

Many thanks.
Dirar.
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
htmlDIVDirar/DIV/html
_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context