From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94473 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Uppercase sharp s Date: Sun, 17 Apr 2016 13:32:06 +0200 Message-ID: <57137436.3080204@gmail.com> References: <57110A44.4020302@gmail.com> <57121611.8010103@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4067323476577305243==" X-Trace: ger.gmane.org 1460892783 24057 80.91.229.3 (17 Apr 2016 11:33:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Apr 2016 11:33:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 17 13:32:52 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1arkwe-0007li-4q for gctc-ntg-context-518@m.gmane.org; Sun, 17 Apr 2016 13:32:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4216DA7E8; Sun, 17 Apr 2016 13:32:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DcCljB5VVFeq; Sun, 17 Apr 2016 13:32:22 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id ADE8AA7E9; Sun, 17 Apr 2016 13:32:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8067DA7E5 for ; Sun, 17 Apr 2016 13:32:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YJHaMXTApiH7 for ; Sun, 17 Apr 2016 13:32:20 +0200 (CEST) Original-Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 4B4C4A7E4 for ; Sun, 17 Apr 2016 13:32:10 +0200 (CEST) Original-Received: by mail-wm0-f41.google.com with SMTP id u206so87501957wme.1 for ; Sun, 17 Apr 2016 04:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=5oFupV0p98FrjTysyl0iFCqs2iyNf7Cb5cHz2VErCqE=; b=gZfKJLzuj3ri0+uhFh2jDepAEPYu8YFDV8Zhx1aR8Uln9oSVan8vEQwAeAZcXlaUGk SQl0fhNSLyQX9lPu23pmMvPmIdbmB8b0MMWenTJOInztu3kBlH6ehY6qTW+kgAatubtX Awu90m9J0dFfadnr6fzxMM56/Ll1SydYsU70s0mKlx6S/yzVLratg81kF9+WdSwMkiS5 GC82Lw9944tKo/q/WXZnBKDGHAB7TrKdbBwZ7pllpu3NMufT9W4XmIvSopwz2qQnbrjY CMtdVgs0VP5j0hF314DjQeRR1Ya/SIKI7qzTpk3Ma6h3ba8E3uTTu54gaVisab7FGkbg KltQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=5oFupV0p98FrjTysyl0iFCqs2iyNf7Cb5cHz2VErCqE=; b=UhLrgVHrJkDcdC4rDWgtSVKuEOXOk5RxnjuV/TUg63EKlrgQ8XjY/x8WX1Jtjc8cWn Hz7mHUMYLA+OckSAXyRjCpMSxlfPo4Gcg815d3+CbSrj5/bez8Hn7wwCA2vCXFi9TB7+ WjJZM7O/5vy/pkQXBpIG9te28ZAXwuMavjHgHeMZsnD07sVTI77Uyq8uZ2z1J1VEBCo1 p6/qe6FQ0e/7SsJG6ejhhB1PM/j13ukPy+6f0ifSX72dmDKhw3uJwW1787NwZjFSaklq LpDogQSyLGyCf0/h9rvMhxlXjuf8fP/lcBRo+vX7J96JG8cPq4jUey32hEDYlCDNpiRC b02g== X-Gm-Message-State: AOPr4FVN5hWq0LSWBo5/VaYXrWUutF+Mmn6d8N+tHYgYhAU2OKSedUXdQ5lOi17g2N8gFw== X-Received: by 10.28.20.198 with SMTP id 189mr13570687wmu.103.1460892729969; Sun, 17 Apr 2016 04:32:09 -0700 (PDT) Original-Received: from keima.localdomain (x2f23ffa.dyn.telefonica.de. [2.242.63.250]) by smtp.gmail.com with ESMTPSA id i206sm47910696wmf.1.2016.04.17.04.32.09 for (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Apr 2016 04:32:09 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <57121611.8010103@wxs.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:94473 Archived-At: This is a multi-part message in MIME format. --===============4067323476577305243== Content-Type: multipart/alternative; boundary="------------060101080109050309020107" This is a multi-part message in MIME format. --------------060101080109050309020107 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Hans Hagen > 16. April 2016 um 12:38 > > in the next beta (probably on ftp) there will be s-lingual-de for you=20 > to play with 1. The name of the function to enable/disable the function has to change and I would use a directive as normal way to enable it. \unexpanded\def\enableuppercasesharps {\overloaduppercase{0xDF}{0x1E9E}} \unexpanded\def\disableuppercasesharps{\overloaduppercase{0xDF}{0x53,0x53= }} \installtexdirective{fonts.uppercasesharps}\enableuppercasesharps\disable= uppercasesharps \enabledirectives[fonts.uppercasesharps] %\disabledirectives[fonts.uppercasesharps] \setupbodyfont[libertine] \starttext Bu=C3=9Fe Busse BU=E1=BA=9EE BUSSE \WORD{Bu=C3=9Fe Busse} \word{BU=E1=BA=9EE BUSSE} \stoptext 2. Can the same function be added to Lua. \overloaduppercase{0xDF}{0x1E9E} \starttext \cldcontext{utf.upper("Bu=C3=9Fe Busse")} \cldcontext{utf.lower("Bu=C3=9Fe Busse")} \blank \cldcontext{characters.upper("Bu=C3=9Fe Busse")} \cldcontext{characters.lower("BU=E1=BA=9EE BUSSE")} \stoptext Wolfgang --------------060101080109050309020107 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
16= .=20 April 2016 um 12:38

in the next beta (probably on ftp) there will be s-lingual-de for you to =20 play with
1. The name of the function to enable/disable the function has to change<= br> =C2=A0=C2=A0 and I would use a directive as normal way to enable it.

\unexpanded\def\enableuppercasesharps {\overloaduppercase{0xDF}{0x1E9E}}<= br> \unexpanded\def\disableuppercasesharps{\overloaduppercase{0xDF}{0x53,0x53= }}

\installtexdirective{fonts.uppercasesharps}\enableuppercasesharps\disable= uppercasesharps

\enabledirectives[fonts.uppercasesharps]
%\disabledirectives[fonts.uppercasesharps]

\setupbodyfont[libertine]

\starttext

Bu=C3=9Fe Busse

BU=E1=BA=9EE BUSSE

\WORD{Bu=C3=9Fe Busse}

\word{BU=E1=BA=9EE BUSSE}

\stoptext


2. Can the same function be added to Lua.

\overloaduppercase{0xDF}{0x1E9E}

\starttext

\cldcontext{utf.upper("Bu=C3=9Fe Busse")}

\cldcontext{utf.lower("Bu=C3=9Fe Busse")}

\blank

\cldcontext{characters.upper("Bu=C3=9Fe Busse")}

\cldcontext{characters.lower("BU=E1=BA=9EE BUSSE")}

\stoptext


Wolfgang
--------------060101080109050309020107-- --===============4067323476577305243== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============4067323476577305243==--