From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75347 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: Font goodies color schemes by Unicode number Date: Sat, 24 Mar 2012 22:23:57 +0200 Message-ID: <20120324202356.GA20084@khaled-laptop> References: <20120229135707.GA8802@khaled-laptop> <4F515317.4090100@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1332620660 28580 80.91.229.3 (24 Mar 2012 20:24:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Mar 2012 20:24:20 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 24 21:24:19 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 1SBXVT-00035G-Go for gctc-ntg-context-518@m.gmane.org; Sat, 24 Mar 2012 21:24:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7DB40101EB; Sat, 24 Mar 2012 21:24:10 +0100 (CET) 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 VPfZzHDSNiaW; Sat, 24 Mar 2012 21:24:07 +0100 (CET) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D60B5101DF; Sat, 24 Mar 2012 21:24:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 628AE101DF for ; Sat, 24 Mar 2012 21:24:06 +0100 (CET) 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 duv9es8c56Bj for ; Sat, 24 Mar 2012 21:24:04 +0100 (CET) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id E23A210194 for ; Sat, 24 Mar 2012 21:24:04 +0100 (CET) Original-Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q2OKO3YA029973 for ; Sat, 24 Mar 2012 21:24:04 +0100 Original-Received: by wgbds10 with SMTP id ds10so2476405wgb.2 for ; Sat, 24 Mar 2012 13:24:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=bZvVLcS7ct25ARmZZ+nAWMzEFtv5lHzxnL7keiok+OE=; b=nVYlgd62/tcj9ZSwubr82d+rkSrY90wCG5gMucA0FW1oz6M9y+ddOha1T9ls1dL7P9 NhrY6dUv+VclW/5+eVov/MpZj6c2u9WAQMzcztUeBj7KWCai8UfyG4EwBU/XhG2LV5Ne ojT1Qr76sZx+qQfqN4sbPvt4iS4AjqWGQryS2a7ANoFJd1JxwOYnfc0MC6AkeqEt46PI xr4pt6poaIL099piPIKiwtnM+yZXCVA7uvqlxyMepg5N6KkfkC+SjfHUqtYx03RYPSOF SNWf5uUCIo0QEyCZdzqIWNQvZZohcwzZU1Psu4CWbvsUwgVHJ0LNPwPy3lKSdRPDXuWu fSHA== Original-Received: by 10.180.107.132 with SMTP id hc4mr6779821wib.21.1332620643718; Sat, 24 Mar 2012 13:24:03 -0700 (PDT) Original-Received: from localhost ([217.55.43.74]) by mx.google.com with ESMTPS id n15sm25713823wiw.6.2012.03.24.13.24.01 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 24 Mar 2012 13:24:02 -0700 (PDT) Content-Disposition: inline In-Reply-To: <4F515317.4090100@wxs.nl> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; country=US; latitude=38.0000; longitude=-97.0000; http://maps.google.com/maps?q=38.0000,-97.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aGNwo3Mm - 372cf6df86d0 - 20120324 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:75347 Archived-At: On Sat, Mar 03, 2012 at 12:09:11AM +0100, Hans Hagen wrote: > On 29-2-2012 14:57, Khaled Hosny wrote: > >Hi all, > > > >Was exploring font goodies and color schemes and so far works great, > >very nice feature, thanks Hans. > > > >Now I've to small questions/feature requests: > >Can color schemes be > >defined using Unicode code points, e.g.: { 0x064E, 0x064F } instead of > >glyph names (e.g. I'd like to have a font independent goody to color > >Arabic combining marks and no glyph substitution is involved so Unicode > >code points should work for most fonts). > > > >Second question, can it be (ab)used to color a whole font with the same > >color (can be handy sometimes), e.g. using a special wildcard or > >something: { "*" }. > > the next beta supports "*" as well as ranges "0x0030:0x0035" > > (I adapted demo.lfg and goodies-002.tex) Thanks Hans, it took me a while to get around testing it but I'm happy to report that it works as expected :) I don't have a generic Arabic file per se (but I'll right one someday), but the request was mainly inspired by this question (though it is something I wanted to explore for a while): http://tex.stackexchange.com/a/46240/729 Regards, Khaled ___________________________________________________________________________________ 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 ___________________________________________________________________________________