From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41003 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Uppercase ssharp with XeTeX and LuaTeX Date: Tue, 13 May 2008 13:51:25 +0200 Message-ID: <115224fb0805130451g4432e21aid847c8e8d6244117@mail.gmail.com> References: <115224fb0805130323w5aff7242yfe3322ad86405234@mail.gmail.com> <20080513105710.GP19832@phare.normalesup.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1210681592 26079 80.91.229.12 (13 May 2008 12:26:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 May 2008 12:26:32 +0000 (UTC) To: "Mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue May 13 14:27:04 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Jvtap-00009n-DT for gctc-ntg-context-518@m.gmane.org; Tue, 13 May 2008 14:26:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A47211FBDB; Tue, 13 May 2008 14:26:08 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21476-01-4; Tue, 13 May 2008 14:25:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E1AB11FB5B; Tue, 13 May 2008 14:25:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A9A5F1FB38 for ; Tue, 13 May 2008 14:25:11 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20272-04-12 for ; Tue, 13 May 2008 14:24:22 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.153]) by ronja.ntg.nl (Postfix) with ESMTP id BB06A1FBBD for ; Tue, 13 May 2008 13:51:39 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 5so2237288ywm.74 for ; Tue, 13 May 2008 04:51:26 -0700 (PDT) Original-Received: by 10.150.50.3 with SMTP id x3mr9465373ybx.32.1210679486102; Tue, 13 May 2008 04:51:26 -0700 (PDT) Original-Received: by 10.150.96.3 with HTTP; Tue, 13 May 2008 04:51:25 -0700 (PDT) In-Reply-To: <20080513105710.GP19832@phare.normalesup.org> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:41003 Archived-At: On Tue, May 13, 2008 at 12:57 PM, Arthur Reutenauer wrote: > > is there a solution for ssharp with XeTeX and LuaTeX, I have a word > > with a =DF in it > > which I convert into uppercase letters and the =DF remains a lowercase = characters. > > The problem is that there is no uccode for =DF (U+00DF) in char-def.lua > and that Mark IV has no way of taking care of this for the moment. But > there should be, of course. I was indeed hoping for a little bit Lua magic to have a working solution b= ut in this case I prefer something that could be used as argument for the style key in \doattributes. \unprotect \definesystemvariable{xx} \def\setupcommand {\dodoubleargument\getparameters[\??xx]} \def\startcommand{\dostartattributes\??xx\c!style\c!color\empty} \def\stopcommand{\dostopattributes} \setupcommand[style=3D\it] \protect \starttext \input knuth \startcommand \input knuth\par \stopcommand \input knuth \stoptext It should be possible to say "style=3DWORD" to get the second text completely uppercase even if the text is taken from a buffer or a macro. > Arthur Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________