From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76958 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Exceptions to assignment syntax [was: Re: labeltext assignment] Date: Mon, 18 Jun 2012 11:46:47 +0200 Message-ID: <4FDEF907.5080809@wxs.nl> References: <4FD5B45F.20005@wxs.nl> <20120611190620.GA1410@phlegethon> <20120611213330.GB1410@phlegethon> <20120612134226.7e1a3ea2@homerow> <4FD74AEB.8000201@wxs.nl> <20120612162413.7ea0408d@homerow> <4FD7533A.7000908@wxs.nl> <20120612144139.GA3539@phlegethon> <4FD778C0.3090604@wxs.nl> <20120616131937.GA979@phlegethon> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1340012824 29080 80.91.229.3 (18 Jun 2012 09:47:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2012 09:47:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 18 11:47:03 2012 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 1SgYXw-0001Mt-Sw for gctc-ntg-context-518@m.gmane.org; Mon, 18 Jun 2012 11:46:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 213CF101E7; Mon, 18 Jun 2012 11:46:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DSfAGt0O5xZo; Mon, 18 Jun 2012 11:46:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3EACC101E8; Mon, 18 Jun 2012 11:46:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D9F0B101E8 for ; Mon, 18 Jun 2012 11:46:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TBE-1MrPnYNF for ; Mon, 18 Jun 2012 11:46:51 +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 C1156101E7 for ; Mon, 18 Jun 2012 11:46:51 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5I9kmlW019612 for ; Mon, 18 Jun 2012 11:46:49 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 5.3h2) with ESMTP (TLS) id 6953-1713362 for ; Mon, 18 Jun 2012 11:46:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20120604 Thunderbird/13.0 In-Reply-To: <20120616131937.GA979@phlegethon> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=03; city=Hattem; latitude=52.4724; longitude=6.0696; http://maps.google.com/maps?q=52.4724,6.0696&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QHnJKM09 - ea8bab307f2b - 20120618 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:76958 Archived-At: On 16-6-2012 15:19, Philipp Gesang wrote: > Hi Hans! > > =B7=B7=B7=B7=B7=B7=B7=B7=B7 > >> On 12-6-2012 16:41, Philipp Gesang wrote: >> >>> I=92ll be collecting candidates for the wiki page until saturday >>> and then write up a draft, maybe submit it to the list for review >>> first. I can draw up a preliminary list first so you can have a >>> look at it. >> >> next week is ok > > Here=92s some pre-alpha draft version with some links I collected: > https://gist.github.com/2941284 > (The gist is auto-converted; use the =93raw=94 or =93edit=94 buttons to > view the code. The content of is messed up in the > output.) > > Unfortunately I won=92t be able to complete it this weekend as I > planned to, because Reality=99 demands that I spend my time on > paperwork instead. palets ... the trailing comma is actually an error but anyway we can have: \def\colo_palets_define_one#1#2% get rid of { } {\doifassignmentelse{#2} % catch empty entries {\colo_palets_define_two{#1}[#2]} {\colo_palets_define_three{#1}{#2}}} \def\colo_palets_define_three#1#2% {\ifcsname\??colorpaletspecification#2\endcsname = \processcommacommand[\csname\??colorpaletspecification#2\endcsname]{\colo_p= alets_define_one{#1}}% \fi} which then also supports: \setupcolors [x11] \definepalet [colorful] [primary=3Dgreen] \definepalet [bleak] [primary=3Ddarkgray,colorful] \starttext \setuppalet [colorful] \color[primary]{Ain=92t I a colorful entity?} \setuppalet [bleak] \color[primary]{Ain=92t I a colorful entity?} \stoptext i.e. a hidden feature of referencing to already defined palets. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________