From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83127 Path: news.gmane.org!not-for-mail From: Pavneet Arora Newsgroups: gmane.comp.tex.context Subject: Using \setupinterlinespace with \setuparranging[XY], and more Date: Fri, 21 Jun 2013 16:27:31 -0400 Message-ID: <20130621202730.GA27662@haridwar> Reply-To: Pavneet Arora , mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1371846472 19773 80.91.229.3 (21 Jun 2013 20:27:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Jun 2013 20:27:52 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 21 22:27:54 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uq7w1-0005Ca-2S for gctc-ntg-context-518@m.gmane.org; Fri, 21 Jun 2013 22:27:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D24A8101E0; Fri, 21 Jun 2013 22:27:51 +0200 (CEST) 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 o1vKtIif8-oK; Fri, 21 Jun 2013 22:27:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7FCF7101E6; Fri, 21 Jun 2013 22:27:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F25EA101E6 for ; Fri, 21 Jun 2013 22:27:49 +0200 (CEST) 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 QP-P8w86Qt+Y for ; Fri, 21 Jun 2013 22:27:48 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id EF915101E0 for ; Fri, 21 Jun 2013 22:27:37 +0200 (CEST) Original-Received: from charkha.pavastupa.com (teresa.yourinstantserver.com [173.230.253.20] (may be forged)) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5LKRZmB011073 for ; Fri, 21 Jun 2013 22:27:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by charkha.pavastupa.com (Postfix) with ESMTP id 8725086C284 for ; Fri, 21 Jun 2013 16:30:32 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at charkha.pavastupa.com Original-Received: from charkha.pavastupa.com ([127.0.0.1]) by localhost (charkha.pavastupa.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0z4d-UVFdI38 for ; Fri, 21 Jun 2013 16:30:31 -0400 (EDT) Original-Received: from localhost (bas1-woodbridge48-1176385798.dsl.bell.ca [70.30.57.6]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: pavneet_arora@pavastupa.com) by charkha.pavastupa.com (Postfix) with ESMTPSA id BF15F86C24D for ; Fri, 21 Jun 2013 16:30:30 -0400 (EDT) Content-Disposition: inline X-Bayes-Prob: 0.7334 (Score 2, tokens from: @@RPTN) X-CanIt-Geo: ip=173.230.253.20; country=US; region=MI; city=Dearborn; postalcode=48124; latitude=42.3027; longitude=-83.2456; metrocode=505; areacode=313; http://maps.google.com/maps?q=42.3027,-83.2456&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08JP8rz4V - 5ca1faaf1ee5 - 20130621 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83127 Archived-At: Hello, I am using Willi's MAPS 37 and the "Example" section from the \setuppaper command: http://wiki.contextgarden.net/Command/setuppaper to print a set of labels, 2x6 configuration on U.S. Letter waterproof label paper. For the most part things are working well, but I have a number of questions: 1. A difference between MAPS 37 and wiki entry for \setuppaper is the inclusion of the following line in the later: \setuplayout[location=middle] which seems to play a significant role. Otherwise, I cannot get the labels to honour the topspace and backspace specified in the setuppaper command. My question is why is this significant? What role does it play? This can be tested by simply deleting the line in the MWE below. 2. I would like to have every label "centered", i.e., \framed[alignment=center] should be set for all labels. However, including it in the setupframedtexts command doesn't seem to have any effect as shown in the MWE down below. Is there another way for all labels to inherit this alignment setting? 3. I cannot get interlinespacing to affect the line spacing even though the baselineskip variable is changed as shown in the MWE. advTHANKSance. EXAMPLE: \definepapersize [Label] [width=4in,height=3.33in] \setuppapersize[Label][letter,portrait] \setuppaper [topspace=0.4688in, backspace=0.1875in, dx=0.1875in, dy=0in, nx=2, ny=3] \setuplayout [topspace=0in, backspace=0in, margin=0in, width=4in, height=3.33in, header=0in, footer=0in] \setuparranging[XY] \setupframedtexts [width=\textwidth, height=\textheight, alignment=center, frame=off, location=lohi, alignment=center, offset=0pt] \setuplayout[location=middle] \definelayer [Label] [width=\paperwidth, height=\paperheight] \usemodule[simplefonts] \setmainfont[schola] \setupbodyfont[rm,48pt] \setupinterlinespace[line=2.8ex] \showframe \starttext \the\baselineskip\page \framed[frame=off,width=\textwidth,height=\textheight,aligment=center]{Label 1}\page \the\baselineskip\page \framed[frame=off,width=\textwidth,height=\textheight,aligment=center]{\definedfont[Serif at 18pt]\setupinterlinespace \the\baselineskip\crlf A long description label that needs to be have its interline spacing adjusted.}\page Label 2\page Label 3\page Label 4\page Label 5\page Label 6\page Label 7\page Label 8\page \stoptext -- ---- Pavneet Arora m: 647.406.6843 Waroc Informatik t: 416.937.9276 ___________________________________________________________________________________ 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 ___________________________________________________________________________________