From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69718 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: context.labeltext(...) Date: Mon, 4 Jul 2011 17:02:08 +0200 Message-ID: <3A06F342-571C-4790-B5F9-D3A63AC846A9@boede.nl> 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 1309791755 24728 80.91.229.12 (4 Jul 2011 15:02:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2011 15:02:35 +0000 (UTC) To: NTG-Context ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 04 17:02:31 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 1QdkfN-0008OD-92 for gctc-ntg-context-518@m.gmane.org; Mon, 04 Jul 2011 17:02:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D7443CADD1; Mon, 4 Jul 2011 17:02:24 +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 MeyjmYs-3NOq; Mon, 4 Jul 2011 17:02:24 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A8E14CADD2; Mon, 4 Jul 2011 17:02:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9E9B4CADD1 for ; Mon, 4 Jul 2011 17:02:20 +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 71-HI5k+UQIQ for ; Mon, 4 Jul 2011 17:02:09 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id DC3C4CAB80 for ; Mon, 4 Jul 2011 17:02:09 +0200 (CEST) Original-Received: from mars.digitpaint.nl (mars.digitpaint.nl [83.98.197.63]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p64F29qN008478 for ; Mon, 4 Jul 2011 17:02:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by mars.digitpaint.nl (Postfix) with ESMTP id B33A8F0930 for ; Mon, 4 Jul 2011 17:02:08 +0200 (CEST) Original-Received: from mars.digitpaint.nl ([127.0.0.1]) by localhost (mail.digitpaint.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Y8VuPuCovTxz for ; Mon, 4 Jul 2011 17:02:08 +0200 (CEST) Original-Received: from willis-computer.fritz.box (a83-161-249-79.adsl.xs4all.nl [83.161.249.79]) by mars.digitpaint.nl (Postfix) with ESMTPA id 9390AF0859 for ; Mon, 4 Jul 2011 17:02:08 +0200 (CEST) X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.98.197.63; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eF3P29Td - c7e44107049a - 20110704 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:69718 Archived-At: Hi all, experimenting with context.labeltext... My question is how can I tweak the context.labeltext(text) command at the lua-side to make ConTeXt to typeset the labeltext starting with an uppercase letter? e.g. if "text" contains "january" to display "January"? KR Willi ___________________________________________________________________________________ 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 ___________________________________________________________________________________