From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94489 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: uppercase, small caps, numerals and German capital sharp s Date: Tue, 19 Apr 2016 14:05:36 +0200 Message-ID: <57161F10.3010901@gmail.com> References: <5715D9D5.5000403@fehige.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0908185745261319171==" X-Trace: ger.gmane.org 1461067600 313 80.91.229.3 (19 Apr 2016 12:06:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Apr 2016 12:06:40 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 19 14:06:27 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 1asUQD-00048e-2U for gctc-ntg-context-518@m.gmane.org; Tue, 19 Apr 2016 14:06:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 527A8A972; Tue, 19 Apr 2016 14:05:52 +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 HzyC_mK0nf8G; Tue, 19 Apr 2016 14:05:49 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id F1232A97E; Tue, 19 Apr 2016 14:05:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E51F9A97B for ; Tue, 19 Apr 2016 14:05:47 +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 uDxXBY1b4aOv for ; Tue, 19 Apr 2016 14:05:46 +0200 (CEST) Original-Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) (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 C7DF1A972 for ; Tue, 19 Apr 2016 14:05:36 +0200 (CEST) Original-Received: by mail-wm0-f52.google.com with SMTP id e201so11147025wme.0 for ; Tue, 19 Apr 2016 05:05:36 -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=YSBjbCHE9gN/tDx0p9Hmm88rtjzn6uQbs/gaNg/MK7I=; b=WueMs9aL+EylXG2bCtsryid9XMdo4deRB8Ibr0u22+LbDbJwJ3mi06ofwlWDcEnbTR zwlRKYVHl4TVv3sDejM58C1+hx/dkDRdEW216Yc+1Q4cczQbGwxS0LIGO9ulu2Cvxal0 DRukuh1mtkD1wWFXD4BufZyRxnfK0UAwTN+9juBkJNnVY5qS6ZPhT+9V4Z4u9dtFtiHv UQU6Gsxcl1GgdLOZgKHDD+OT2MiexasEqcBv4rIc7wwCH5brPQ7cN9/bo/D4ADz1MF/a wYJpR6Nar7B0A5CdjL5VLWDuFsOBPhAiK5bEyfUOY7BzmBY4A9dNQvj3qK1vZ/mTfGsE Wzdg== 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=YSBjbCHE9gN/tDx0p9Hmm88rtjzn6uQbs/gaNg/MK7I=; b=DZtXoHREjE4mek+lxeoC3f7SOk2i8W9noMoJhrgSnp1G9jJGbfW1g3uMM1iPGVN9QP LxOEeZL+GzJOYjMk2T6VtZhuusZXPYSYJ5MGrAbwesISE8Q1GwFt441E5IIc0PJuqNnP AHa4hL4K6D5Z4c4DxAb8ob+ed8N9V104QRBWpepy5iT2iro0gPYh4qi4B8AVvn7ooIkD d1bM/aQEmQ4n5yQ1TxUz8eiAqngPC/zuFnj6Rkl/uRzu5fbmtiG7ggRcNdiVtZchgNI4 C7l4t1MduIP2mr5dHcuN2v5idltPv6p2lXQMR/qANdGHWjTPSu9bukUYfEzL92LJQ/rh kYvg== X-Gm-Message-State: AOPr4FVQ56hpGBHS4vx/0u2UZYyj0Y42Qtxe8wmr6RSeL0+GLlBfhglc+Pf8aqFhKqAjKA== X-Received: by 10.28.6.140 with SMTP id 134mr3354951wmg.23.1461067536357; Tue, 19 Apr 2016 05:05:36 -0700 (PDT) Original-Received: from keima.localdomain (x2f2a146.dyn.telefonica.de. [2.242.161.70]) by smtp.gmail.com with ESMTPSA id u145sm3969203wmu.17.2016.04.19.05.05.35 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2016 05:05:35 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <5715D9D5.5000403@fehige.de> 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:94489 Archived-At: This is a multi-part message in MIME format. --===============0908185745261319171== Content-Type: multipart/alternative; boundary="------------030909010905030208070807" This is a multi-part message in MIME format. --------------030909010905030208070807 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Thomas Fehige > 19. April 2016 um 09:10 > Hello, > > I'm new to ConTeXt and this list. After a long time of using LaTeX and=20 > xeLaTeX I was finally lured into trying ConTexT by its ability of grid=20 > typesetting. > > Today's problem is a bit complex. In a book project I have several=20 > points where stuff is capitalized or turned into caps+smallcaps or=20 > pure smallcaps. My guess is that that should work either with=20 > \WORD{Stuff}, \Cap{Stuff} and \cap{Stuff} or with \uppercase, \sc, and=20 > {\sc\lowercase{Stuff}}. (Not quite, it seems) > > I'll use a commercial font called Calluna, but have added Linux=20 > Biolinum O to the example for those who don't want to download Calluna=20 > (the "Regular" can be "bought" for free, e.g. at=20 > https://www.fontspring.com/fonts/exljbris/calluna). > > Both Calluna and Biolinum contain the glyph "LATIN CAPITAL LETTER=20 > SHARP S" at "1E9E. Calluna also has a small caps version at "F727",=20 > while Biolinum has it at "E092. I'd like to use these glyphs in the=20 > capitalizations mentioned, but that only works erratically (cf. example= ). > > Secondly, Calluna comes with oldstyle numerals switched on, which is=20 > nice for normal text, but should change to proportional lining numbers=20 > in uppercase and to small-cap proportional lining numbers in an=20 > all-small-cap text. I'm not sure what I'd want in a caps+smallcaps=20 > context, but certainly not oldstyle numerals with their descenders. Use separate threads for each problem. The uppercase sharp s replacement=20 with \WORD can be changed in the next beta. %% begin example \usemodule[lingual-de] \setupbodyfont[libertine] \starttext Gru=C3=9F Stra=C3=9Fe Bu=C3=9Fe \WORD{Gru=C3=9F Stra=C3=9Fe Bu=C3=9Fe} \enabledirectives[fonts.uppercasesharps] \WORD{Gru=C3=9F Stra=C3=9Fe Bu=C3=9Fe} \disabledirectives[fonts.uppercasesharps] \WORD{Gru=C3=9F Stra=C3=9Fe Bu=C3=9Fe} \stoptext %% end example Wolfgang --------------030909010905030208070807 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
19= .=20 April 2016 um 09:10
Hello,

I'm new to ConTeXt and this list. After a long time of using LaTeX=20 and=20 xeLaTeX I was finally lured into trying ConTexT by its ability of grid=20 typesetting.

Today's problem is a bit complex. In a book project I have several=20 points where stuff is capitalized or turned into caps+smallcaps or pure=20 smallcaps. My guess is that that should work either with \WORD{Stuff},=20 \Cap{Stuff} and \cap{Stuff} or with \uppercase, \sc, and=20 {\sc\lowercase{Stuff}}. (Not quite, it seems)

I'll use a commercial font called Calluna, but have added Linux=20 Biolinum=20 O to the example for those who don't want to download Calluna (the=20 "Regular" can be "bought" for free, e.g. at=20 https://www.fontspring.com/fonts/exljbris/calluna).

Both Calluna and Biolinum contain the glyph "LATIN CAPITAL LETTER=20 SHARP=20 S" at "1E9E. Calluna also has a small caps version at "F727", while=20 Biolinum has it at "E092. I'd like to use these glyphs in the=20 capitalizations mentioned, but that only works erratically (cf.=20 example).

Secondly, Calluna comes with oldstyle numerals switched on, which is =20 nice for normal text, but should change to proportional lining numbers=20 in uppercase and to small-cap proportional lining numbers in an=20 all-small-cap text. I'm not sure what I'd want in a caps+smallcaps=20 context, but certainly not oldstyle numerals with their descenders.
Use separate threads for each problem. The uppercase sharp s replacement with \WORD can be changed in the next beta.

%% begin example
\usemodule[lingual-de]

\setupbodyfont[libertine]

\starttext

Gru=C3=9F Stra=C3=9Fe Bu=C3=9Fe

\WORD{Gru=C3=9F Stra=C3=9Fe Bu=C3=9Fe}

\enabledirectives[fonts.uppercasesharps]

\WORD{Gru=C3=9F Stra=C3=9Fe Bu=C3=9Fe}

\disabledirectives[fonts.uppercasesharps]

\WORD{Gru=C3=9F Stra=C3=9Fe Bu=C3=9Fe}

\stoptext
%% end example

Wolfgang
--------------030909010905030208070807-- --===============0908185745261319171== 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= --===============0908185745261319171==--