From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63303 Path: news.gmane.org!not-for-mail From: Herbert Voss Newsgroups: gmane.comp.tex.context Subject: Re: \Cap Date: Sun, 07 Nov 2010 23:48:06 +0100 Organization: Freie =?ISO-8859-1?Q?Universit=E4t_Berlin?= Message-ID: <4CD72CA6.2040907@FU-Berlin.DE> References: <4CD7189B.9050609@FU-Berlin.DE> 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 1289170111 13620 80.91.229.12 (7 Nov 2010 22:48:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 7 Nov 2010 22:48:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 07 23:48:25 2010 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 1PFE2D-0005i4-HN for gctc-ntg-context-518@m.gmane.org; Sun, 07 Nov 2010 23:48:25 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04BD0CA823; Sun, 7 Nov 2010 23:48:25 +0100 (CET) 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 txqjqwTTAkWQ; Sun, 7 Nov 2010 23:48:21 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A04A0CA820; Sun, 7 Nov 2010 23:48:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 960AECA820 for ; Sun, 7 Nov 2010 23:48:20 +0100 (CET) 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 DjZ383kStQnQ for ; Sun, 7 Nov 2010 23:48:08 +0100 (CET) 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 B1268CA81F for ; Sun, 7 Nov 2010 23:48:08 +0100 (CET) Original-Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oA7Mm7Nh002463 for ; Sun, 7 Nov 2010 23:48:08 +0100 Original-Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for ntg-context@ntg.nl with esmtp (envelope-from ) id <1PFE1v-0007Eg-Fs>; Sun, 07 Nov 2010 23:48:07 +0100 Original-Received: from p54bfcba0.dip.t-dialin.net ([84.191.203.160] helo=[192.168.1.12]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for ntg-context@ntg.nl with esmtpsa (envelope-from ) id <1PFE1v-0001Ew-8G>; Sun, 07 Nov 2010 23:48:07 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.14) Gecko/20101013 SUSE/3.0.9 Thunderbird/3.0.9 In-Reply-To: <4CD7189B.9050609@FU-Berlin.DE> X-Originating-IP: 84.191.203.160 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=130.133.4.66; country=DE; region=16; city=Berlin; latitude=52.5167; longitude=13.4000; http://maps.google.com/maps?q=52.5167,13.4000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05DsmM7zc - b1f3deb67c74 - 20101107 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:63303 Archived-At: Am 07.11.2010 22:22, schrieb Herbert Voss: > The documentation says, that \cap converts the first > letter of the word into a capital letter ... > But it didn't > > \starttext > \Cap{foo} > \stoptext > > TeXLive and TLContrib using the code from core-fnt.mkii it works with mkiv: \unexpanded\def\CAPPED#1% {{\def\\##1{\smallcapped{##1}}#1}} \unexpanded\def\SmallCapped#1% {\CAPPED{\\#1}} \def\Cap{\mathortext\normalCap\SmallCapped} \starttext \Cap{foo bar baz} \CAP{foo \\bar \\baz} \stoptext Herbert ___________________________________________________________________________________ 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 ___________________________________________________________________________________