From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69725 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: context.labeltext(...) Date: Mon, 4 Jul 2011 18:20:37 +0200 Message-ID: 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 1309796451 21611 80.91.229.12 (4 Jul 2011 16:20:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2011 16:20:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 04 18:20:47 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 1Qdlt8-0006I1-Kr for gctc-ntg-context-518@m.gmane.org; Mon, 04 Jul 2011 18:20:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8DA74CADDB; Mon, 4 Jul 2011 18:20:45 +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 zKQU78yPIRh1; Mon, 4 Jul 2011 18:20:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6E7D2CADD1; Mon, 4 Jul 2011 18:20:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 70F52CADD1 for ; Mon, 4 Jul 2011 18:20:41 +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 FKv+6ufaen-O for ; Mon, 4 Jul 2011 18:20:39 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 910FFCAB80 for ; Mon, 4 Jul 2011 18:20:39 +0200 (CEST) Original-Received: from mail-pv0-f169.google.com (mail-pv0-f169.google.com [74.125.83.169]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p64GKbOr029267 for ; Mon, 4 Jul 2011 18:20:38 +0200 Original-Received: by pvc12 with SMTP id 12so6011595pvc.14 for ; Mon, 04 Jul 2011 09:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=O39xtjoOVdltYCSSs1j0yDjk97Eu85p2OYVcZMrqoRY=; b=qdwYh0dCHDGvN4MrrcjZwIEtAYxTNvNaav55VTMMEdPzYRPUd1dY5yE7IMRgpoo5fT dKdi3RSUc+EtOSczKMQj9I4piSF7HHBWO6GPT4G+Ekfm3AcZ6wiJkxZU9lFdcJR7vwtj LIbk0+0GsK3KA0qqiCA01YEjsFKMHxZfO2u5I= Original-Received: by 10.68.5.135 with SMTP id s7mr7053643pbs.96.1309796437239; Mon, 04 Jul 2011 09:20:37 -0700 (PDT) Original-Received: by 10.68.56.232 with HTTP; Mon, 4 Jul 2011 09:20:37 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.169; 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: 07F3QkCME - 47a309336644 - 20110704 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:69725 Archived-At: 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 the current locale which can confuse things. So it's better to look at char-ini.lua . -- luigi ___________________________________________________________________________________ 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 ___________________________________________________________________________________