From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69726 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: context.labeltext(...) Date: Mon, 4 Jul 2011 18:53:14 +0200 Message-ID: <20110704165314.GA6145@khaled-laptop> References: <3A06F342-571C-4790-B5F9-D3A63AC846A9@boede.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309798428 752 80.91.229.12 (4 Jul 2011 16:53:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2011 16:53:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 04 18:53:41 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 1QdmOz-0002Fg-Kh for gctc-ntg-context-518@m.gmane.org; Mon, 04 Jul 2011 18:53:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E0580CADD5; Mon, 4 Jul 2011 18:53:38 +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 YrSUinrSy4AV; Mon, 4 Jul 2011 18:53:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2A344CADD1; Mon, 4 Jul 2011 18:53:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62910CADD1 for ; Mon, 4 Jul 2011 18:53:34 +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 qYwSOj+iFabV for ; Mon, 4 Jul 2011 18:53:21 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 41C74CAB80 for ; Mon, 4 Jul 2011 18:53:21 +0200 (CEST) Original-Received: from mail-fx0-f42.google.com (mail-fx0-f42.google.com [209.85.161.42]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p64GrKFZ019736 for ; Mon, 4 Jul 2011 18:53:20 +0200 Original-Received: by fxe23 with SMTP id 23so5040823fxe.15 for ; Mon, 04 Jul 2011 09:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=cmp6gKmwSfLHv0KLcquXDXp5f1eLVxkhBDauLewjCSw=; b=i+oFCgt4gZ9W/qKF6fUw837K3KfqUUgun3Wm2FnXUg72Gq1b0p/Vlk21ssdFplrZWn 7H474s75UZeLl+kGz98jp6xiLHd0e3hUAghIMjrq3iTXaeuYU6G30aNp6psUPeEKlpYw 6Zv0eGsxhClp4Fbkw3+8/Ek5HzOEC0rLmgKIs= Original-Received: by 10.223.78.205 with SMTP id m13mr5838113fak.49.1309798399922; Mon, 04 Jul 2011 09:53:19 -0700 (PDT) Original-Received: from localhost ([41.176.175.202]) by mx.google.com with ESMTPS id o23sm4674263faa.9.2011.07.04.09.53.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Jul 2011 09:53:18 -0700 (PDT) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.42; 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: 05F3QRk18 - c406c0e51374 - 20110704 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:69726 Archived-At: On Mon, Jul 04, 2011 at 06:20:37PM +0200, luigi scarso wrote: > On Mon, Jul 4, 2011 at 6:05 PM, Willi Egger wrote: > > Hi Luigi, > > > > hm, did not know this one. Still I can not see that this is going to > > fit in my situation. I refer to may other mail I sent a minute ago. > > - The thing is, that the document I am building should be > > multilingual and therefore I need at the lua-end the lowercase text > > which should be made first-letter-uppercase at the moment it is > > typeset. > In the first email you talked about a generic label. Uppercase /lower > case are unicode sensitive; as Wolfgang already wrote > string.lower(..) and string.upper(..) can help , but they depend on unicode.utf8.lower()/upper() are a better choice for non-ASCII text. (I still believe the default string manipulation functions should be Unicode aware by default, and the 8-bit ones should be an alternative, not the other way around). Regards, Khaled -- Khaled Hosny Egyptian Arab ___________________________________________________________________________________ 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 ___________________________________________________________________________________