From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61597 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:52:06 +0200 Message-ID: <4C8A4616.4050801@unibas.ch> References: <4C864993.6060703@unibas.ch> <4C874DCB.7040005@unibas.ch> <4C89DE21.3060109@unibas.ch> <4C8A3A23.6010509@unibas.ch> <8EAA5623-3E28-440F-BC47-D4278BBF7126@gmail.com> 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 1284130379 31406 80.91.229.12 (10 Sep 2010 14:52:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2010 14:52:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 10 16:52:57 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 1Ou4yE-00072e-6a for gctc-ntg-context-518@m.gmane.org; Fri, 10 Sep 2010 16:52:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DB4E6CA6EB; Fri, 10 Sep 2010 16:52:39 +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 MnOD9x0VT4ji; Fri, 10 Sep 2010 16:52:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0CE6BCA6F1; Fri, 10 Sep 2010 16:52:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B9464CA6F0 for ; Fri, 10 Sep 2010 16:52:20 +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 s-1V-wgLKdBW for ; Fri, 10 Sep 2010 16:52:08 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 42ADCCA642 for ; Fri, 10 Sep 2010 16:52:08 +0200 (CEST) Original-Received: from smtp2pub.unibas.ch (smtp2pub.unibas.ch [131.152.227.82]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o8AEq7J1002632 for ; Fri, 10 Sep 2010 16:52:07 +0200 X-IronPort-AV: E=Sophos;i="4.56,346,1280700000"; d="scan'208";a="98255839" Original-Received: from unknown (HELO bonasa.local) ([131.152.79.98]) by smtp2priv.unibas.ch with ESMTP; 10 Sep 2010 16:52:06 +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: <8EAA5623-3E28-440F-BC47-D4278BBF7126@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=131.152.227.82; 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: 0rD52Q7N2 - 6b43dd67839d - 20100910 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:61597 Archived-At: Thank you, Wolfgang. I added the line = "\setnewconstant\backgroundsplit\zerocount" to pack-rul.mkiv, AND IT WORKED! This leaves the (not vital for me) question why minimal example 2 (using = "setuptextbackground") produces that funny background with the same = commands as in "setupbackground". Thanks again, J=F6rg On 9/10/10 4:06 PM, Wolfgang Schuster wrote: > Am 10.09.2010 um 16:01 schrieb J=F6rg Hagmann: > >> Ok, I narrowed it down: >> >> -------First minimal example----------- >> \setupcolors[state=3Dstart] >> >> \starttext >> >> \setupbackground[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]}] >> \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/stopbackgrou= nd has been deprecated (?). And replaced with \definetextbackground ? > The reason is simpler, Hans replaced in MkIV many \newcounter and \chardef > definitions with real counters and forgot for the background macros to add > > \setnewconstant\backgroundsplit\zerocount > > to pack-rul.mkiv. > > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ > -- = Prof. J=F6rg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565 ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________