From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52214 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: problem with layers and line spacing Date: Wed, 12 Aug 2009 06:33:57 +0200 Message-ID: <2BB529A9-FE73-4E02-A41B-C01ABBC4DAEA@gmail.com> References: <20090810170922.15774qz05yz4tnk0@serenity.landy.cx> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250051637 25321 80.91.229.12 (12 Aug 2009 04:33:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 04:33:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 12 06:33:46 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mb5X0-00066w-LB for gctc-ntg-context-518@m.gmane.org; Wed, 12 Aug 2009 06:33:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7412AC9AAA; Wed, 12 Aug 2009 06:33:42 +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 7nFZrTQZHFl1; Wed, 12 Aug 2009 06:33:40 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DE6C3C9A77; Wed, 12 Aug 2009 06:33:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BCDEFC9A77 for ; Wed, 12 Aug 2009 06:33:37 +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 zt0efEXeI6S7 for ; Wed, 12 Aug 2009 06:33:35 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by balder.ntg.nl (Postfix) with ESMTP id AEEFFC9A68 for ; Wed, 12 Aug 2009 06:33:35 +0200 (CEST) Original-Received: by fg-out-1718.google.com with SMTP id d23so1200373fga.8 for ; Tue, 11 Aug 2009 21:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=zhHVS/LZuAAyxojCiDpfTfluNKALQndA1hQDREFfFes=; b=JKm7a2CfHBlYSGcfdETG22dU0M1Uo37XIdKBgLkf9okvwXzF8j+qjPGRkorePrfFRu JPewR7zx3reDlSJ6kHynxg1xZC8AmYlF4gc2eYYsNzqFKHg6SbI2q+i24cpt+03yDsg8 AFxFrkLq0HXISJRJtFQOIlrdP0Rk0EeD7NWv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=XhHJFwBpMQcGl+5ozKnU6CoXMpBCLbW02bbXXF+CO9Ncd6jKqK55VCQAXACLQtB8DB U4TSJ5Y+W12Oi1F+f4QUMFZjkLi+WsYrm6kAFpLGiDOSnKkwrxFp7u+ATRR5APOl3ajX uke7++QLVMPAtj6iXrPDev8Kqi+K0AQ9mkvBw= Original-Received: by 10.86.17.27 with SMTP id 27mr171839fgq.31.1250051615213; Tue, 11 Aug 2009 21:33:35 -0700 (PDT) Original-Received: from ?192.168.2.23? (p54954CD6.dip.t-dialin.net [84.149.76.214]) by mx.google.com with ESMTPS id l19sm16358901fgb.2.2009.08.11.21.33.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 11 Aug 2009 21:33:34 -0700 (PDT) In-Reply-To: <20090810170922.15774qz05yz4tnk0@serenity.landy.cx> X-Mailer: Apple Mail (2.936) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:52214 Archived-At: Am 10.08.2009 um 23:09 schrieb Brian R. Landy: > Hi, I am attempting to do some work with layers that can repeat (and > update) using \startsetups & \stopsetups. However I find that the > line spacing in a \framed in the layers is not alterable and instead > tracks the font size on the page. I'm attaching a simple example > (it shows the same issue under MKII and MKIV, although the \vbox{} > example does not work under MKII). > > If you remove the \startsetups and \stopsetups the line spacing > works like it should. While they are used, the line spacing in the > layer's \framed tracks the setting in \switchtobodyfont[12pt]. It > does not track to either 6pt or 8pt. And I can't find a way to > reset the spacing (I tried adding in a \setupinterlinespace[reset]). \startsetups RCheaderleft %\switchtobodyfont[8pt] \stopsetups \startsetups RCheaderright \switchtobodyfont[6pt] \stopsetups \definelayer[RCheaderleft] [width=\paperwidth,height=\paperheight] \definelayer[RCheaderright][width=\paperwidth,height=\paperheight] \startsetups RClayers \setlayerframed [RCheaderleft] [hoffset=\backspace, voffset=\toppace] [frame=off, setups=RCheaderleft, align=right, width=fit] {Line 1\\Line 2} \setlayerframed [RCheaderright] [hoffset=\backspace, voffset=\toppace] [frame=off, setups=RCheaderright, align={middle,flushright}, width=broad] {Line 1\\Line 2} \stopsetups \setupbackgrounds[page] [setups=RClayers,background={RCheaderleft,RCheaderright}] \starttext \dorecurse{250}{test\par} \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________