From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69727 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: context.labeltext(...) Date: Mon, 4 Jul 2011 19:02:19 +0200 Message-ID: <4E8A1278-94B5-4136-B1B7-9BA68A12B366@googlemail.com> References: <3A06F342-571C-4790-B5F9-D3A63AC846A9@boede.nl> <20110704165314.GA6145@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309798959 3806 80.91.229.12 (4 Jul 2011 17:02:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2011 17:02:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 04 19:02:33 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 1QdmXY-0005nh-1t for gctc-ntg-context-518@m.gmane.org; Mon, 04 Jul 2011 19:02:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B0558CADD5; Mon, 4 Jul 2011 19:02:30 +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 KlWmDVeVjaXl; Mon, 4 Jul 2011 19:02:27 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5E6A6CADD1; Mon, 4 Jul 2011 19:02:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 67886CADD1 for ; Mon, 4 Jul 2011 19:02: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 l6ZJcOlFWlio for ; Mon, 4 Jul 2011 19:02:23 +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 A383FCAB80 for ; Mon, 4 Jul 2011 19:02:23 +0200 (CEST) Original-Received: from mail-fx0-f42.google.com (mail-fx0-f42.google.com [209.85.161.42]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p64H2MKe002543 for ; Mon, 4 Jul 2011 19:02:23 +0200 Original-Received: by fxe23 with SMTP id 23so5046001fxe.15 for ; Mon, 04 Jul 2011 10:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=jNdluESfZ7uB9cBqwpUHapLtpwvX4bEdHQkREHcQTJE=; b=ukOY7pXdiTe4DWsdBQ3APDh+GcVswwj5jZW60p93KJT7ex50D8eDM8872ZDJjTJWiH L8cPtJcXfqgPonwSulfWDSAhHySs1OEAHVaZlb81oHxLRnQtKwELeT4iGBkp0mNyuZMb UV+iy2ZABGTWIqJdOGyfE/fWIcz0NEv3U8C1s= Original-Received: by 10.223.59.92 with SMTP id k28mr9816044fah.27.1309798942683; Mon, 04 Jul 2011 10:02:22 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B0EF214.dip.t-dialin.net [91.14.242.20]) by mx.google.com with ESMTPS id o23sm4679928faa.9.2011.07.04.10.02.20 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Jul 2011 10:02:21 -0700 (PDT) In-Reply-To: <20110704165314.GA6145@khaled-laptop> X-Mailer: Apple Mail (2.1084) 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: 0cF3R2nVq - c876f34ed4cc - 20110704 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:69727 Archived-At: Am 04.07.2011 um 18:53 schrieb Khaled Hosny: > 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). ConTeXt provides also characters.upper()/lower(). 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-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________