From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71952 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Learning layers: setlayer vs. setlayerframed Date: Wed, 26 Oct 2011 09:57:08 +0200 Message-ID: <16F277BC-38A3-4101-9D1E-F7B26A55BC60@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1319615876 9247 80.91.229.12 (26 Oct 2011 07:57:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2011 07:57:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 26 09:57:49 2011 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.69) (envelope-from ) id 1RIyMs-0000Pg-E0 for gctc-ntg-context-518@m.gmane.org; Wed, 26 Oct 2011 09:57:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 89645CB095; Wed, 26 Oct 2011 09:57:45 +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 FQk0AhL+OGMJ; Wed, 26 Oct 2011 09:57:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7FD2ECB08E; Wed, 26 Oct 2011 09:57:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 45C61CB08E for ; Wed, 26 Oct 2011 09:57:32 +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 UBmd+aEgvTNk for ; Wed, 26 Oct 2011 09:57:20 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 9CE54CB07C for ; Wed, 26 Oct 2011 09:57:20 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p9Q7vJnb015656 for ; Wed, 26 Oct 2011 09:57:20 +0200 Original-Received: by faat2 with SMTP id t2so1847360faa.14 for ; Wed, 26 Oct 2011 00:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=AaUO/HJhpCct03Dft9kBUMja7R3S5ekl48ppuVQRTNA=; b=gABQ9ViqTdhK6grUl3l93QlDezdkQrBUuNs26YXh4gaOGrpFp5vPITQda9sc+sFQh5 8aHZ33yLZkDBVAfHa3w0c8IJiIkl0iH+ZJS6YODrKJ5pHni3kqsj96ckSAdsGjuFQu9g De7lt9EWTbrVsWeXDWx/CsJ+iI0Q8doAVHfTI= Original-Received: by 10.223.16.82 with SMTP id n18mr57141439faa.2.1319615839623; Wed, 26 Oct 2011 00:57:19 -0700 (PDT) Original-Received: from [192.168.2.35] (p5482C348.dip.t-dialin.net. [84.130.195.72]) by mx.google.com with ESMTPS id o16sm2652843fag.21.2011.10.26.00.57.15 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 26 Oct 2011 00:57:18 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bFNjVjKN - 7c7371293f5d - 20111026 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:71952 Archived-At: Am 26.10.2011 um 09:42 schrieb Mari Voipio: > Hello! > > Based on a discussion with Hans at the ConTeXt meeting I'm starting to > migrate my book covers from CorelDraw to ConTeXt using layers. > > After a bit of experimenting I managed to achieve my first layer, but > looking at the examples on the wiki page, I'm wondering: what's the > difference between \setlayer and \setlayerframed. > > Is the latter a subset of the first and possibly equal to > > \setlayer [name] % name of the layer > {\framed[...=...,...=...]{LAYER}} % the actual contents of the layer > > or something else? Yes, this is more or less the definition of \setlayerframed. > And which one should I use, anyway? I need to put a bit of text and a > bit of graphics onto the pages, but nothing complicated, just "boxes". > But as I'm starting from zero, it would be nice to know what's the > smartest way of doing it (on the moment). For the graphics you can use \setlayer but \setlayerframed is better when you a longer text which should be broken into lines. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________