From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61593 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?J=F6rg_Hagmann?= Newsgroups: gmane.comp.tex.context Subject: Re: background, mkii vs. mkiv Date: Fri, 10 Sep 2010 16:01:07 +0200 Message-ID: <4C8A3A23.6010509@unibas.ch> References: <4C864993.6060703@unibas.ch> <4C874DCB.7040005@unibas.ch> <4C89DE21.3060109@unibas.ch> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1284127289 17088 80.91.229.12 (10 Sep 2010 14:01:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2010 14:01:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 10 16:01:27 2010 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 1Ou4AQ-0004oY-MH for gctc-ntg-context-518@m.gmane.org; Fri, 10 Sep 2010 16:01:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D86DACA6EC; Fri, 10 Sep 2010 16:01:25 +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 YE6kDNYo9wTY; Fri, 10 Sep 2010 16:01:22 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AB184CA6E5; Fri, 10 Sep 2010 16:01:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 115B4CA6E5 for ; Fri, 10 Sep 2010 16:01:21 +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 MMUk2eVkxYVM for ; Fri, 10 Sep 2010 16:01:09 +0200 (CEST) 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 45C33CA6E4 for ; Fri, 10 Sep 2010 16:01:09 +0200 (CEST) Original-Received: from smtp1pub.unibas.ch (smtp1pub.unibas.ch [131.152.227.80]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8AE18CY027292 for ; Fri, 10 Sep 2010 16:01:08 +0200 X-IronPort-AV: E=Sophos;i="4.56,346,1280700000"; d="scan'208";a="101396421" Original-Received: from unknown (HELO bonasa.local) ([131.152.79.98]) by smtp1priv.unibas.ch with ESMTP; 10 Sep 2010 16:01:07 +0200 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 In-Reply-To: <4C89DE21.3060109@unibas.ch> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=131.152.227.80; country=CH; region=04; city=Basel; latitude=47.5667; longitude=7.6000; http://maps.google.com/maps?q=47.5667,7.6000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cD52183I - e0735175bf7b - 20100910 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:61593 Archived-At: Ok, I narrowed it down: -------First minimal example----------- \setupcolors[state=3Dstart] \starttext \setupbackground[background=3Dcolor,backgroundcolor=3Dlightgray,corner=3Dro= und,frame=3Don,framecorner=3Dround,framecolor=3Dred,rulethickness=3D2pt,top= offset=3D0.25cm,bottomoffset=3D0.25cm,leftoffset=3D0.5cm,rightoffset=3D0.5c= m,before=3D{\blank[big]}] \startbackground \startitemize[packed] \item First question \item Second question \item Third question \stopitemize \stopbackground \stoptext ---------end of first minimal example This works in mk II, but not in mk IV. It seems that = start/stopbackground has been deprecated (?). And replaced with = \definetextbackground ? -------Second minimal example--------------------- \setupcolors[state=3Dstart] \starttext \setuptextbackground[background=3Dcolor,backgroundcolor=3Dlightgray,corner= =3Dround,frame=3Don,framecorner=3Dround,framecolor=3Dred,rulethickness=3D2p= t,topoffset=3D0.25cm,bottomoffset=3D0.25cm,leftoffset=3D0.5cm,rightoffset= =3D0.5cm,before=3D{\blank[big]}] \starttextbackground \startitemize[packed] \item First question \item Second question \item Third question \stopitemize \stoptextbackground \stoptext ---------end of second minimal example----------------------- This "works" in both mk II and mk IV, but compare the background with = the one in the first example. Help appreciated, thanks J=F6rg On 9/10/10 9:28 AM, J=F6rg Hagmann wrote: > Could somebody please tell me why this minimal example works in mk II = > but not in mk IV -- and what I have to change? > Thanks very much, J=F6rg > > ---------minimal example-------------------------------- > \definestartstop[Questions][before=3D{\setupbackground[background=3Dcolor= ,backgroundcolor=3Dlightgray,corner=3Dround,frame=3Don,framecorner=3Dround,= framecolor=3Dred,rulethickness=3D2pt,topoffset=3D0.25cm,bottomoffset=3D0.25= cm,leftoffset=3D0.5cm,rightoffset=3D0.5cm,before=3D{\blank[big]}]\startback= ground},after=3D\stopbackground] = > > > \starttext > > \startQuestions > \startitemize[packed] > \item First question > \item Second question > \item Third question > \stopitemize > \stopQuestions > > > \stoptext > ------------end minimal example---------------------- > > PS: On 9/8/10 10:51 AM, luigi scarso wrote: >> Did I misunderstand something? >> $> context --purge >> or >> $>context --purgeal > I'm embarrassed ... ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________