From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95276 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: smallcaps Date: Wed, 29 Jun 2016 12:55:30 +0200 Message-ID: <5773A922.4060205@gmail.com> References: <77161DD2-3975-4170-A7AF-1E10E1C265F7@ziggo.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3062929081617705942==" X-Trace: ger.gmane.org 1467197771 32197 80.91.229.3 (29 Jun 2016 10:56:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2016 10:56:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 29 12:55:57 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 1bID9w-0005rs-OO for gctc-ntg-context-518@m.gmane.org; Wed, 29 Jun 2016 12:55:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 231E610795; Wed, 29 Jun 2016 12:55:48 +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 lt2-f0XjjlTW; Wed, 29 Jun 2016 12:55:47 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 55E0A10797; Wed, 29 Jun 2016 12:55:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AA68D10723 for ; Wed, 29 Jun 2016 12:55:46 +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 1KZx-VWI_JuH for ; Wed, 29 Jun 2016 12:55:45 +0200 (CEST) Original-Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) (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 49B90FEB5 for ; Wed, 29 Jun 2016 12:55:35 +0200 (CEST) Original-Received: by mail-wm0-f50.google.com with SMTP id r201so67660214wme.1 for ; Wed, 29 Jun 2016 03:55:35 -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=6o5t7/b1L5sonVpNt84t8i3+skURfXNM3j4oHYrSKP0=; b=DYMNILaj4H7LoZjMHmnmYK11DCuJQzWIom7ReeU/UHvPlPs2EnZRO/h/D+suwu3U5c elbvHUI2szALBgDVFP+KH843DQI1rVPehb3oleSfjaVSATFtUIYn5LLvM7O/AYSgRdo0 iD/cL0ly8URCl8xgkRIh///OjIHXv7+kfvtDVEO0Yvjtf+8OdRQMpFHufjHv19bceOyt sqg5tuuLTi9WENA6+dvn+HpFfPq7oxTYpyy1v7EdW00gL4TpKLMv1X+k7av9TAJ9+9ly 5Er0ER5A5w85zFe/bz3q2tPXNAb/ziN3NFrFD5Hjzg6FCQqrZWVY/dKonPejlgspwnVx NUbg== 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=6o5t7/b1L5sonVpNt84t8i3+skURfXNM3j4oHYrSKP0=; b=FWUvID5/mM+n+7+pv3gs3hcSzHaNMNmsp+ha50/ORYOA2cYtvxcPndsTMQHYdUdt8F fzxayVbYkoq4NX+qU8x7d7VWYqEy8amA7mvfaBoa/Z1JmuXp1jNSTy0kdxZewY9908kr Ccz0zHZZBWXWJFRR3qQkg0y84n132VLIA5uOs0v2/yvvqBDu23g1iJh5oo7ihHW9vFTx OIyTakBgWLfHXVO9Th2qrqXJI9kNxJOSb4RDnjGYCJg6rihYj5sSt7VfoRb57SVFYuB1 WMEZcmlv9FMiZQFNflwTmVxKfJQjUmZLO+YqklBkYCfG7dls/uU7DVY53l8Sh4nDGw/h cOgw== X-Gm-Message-State: ALyK8tLK8ZPnbdGg1Wi8H5ZoRwwBb93evAv/TIXj+J7OJLCPr2a7CDW+50rKDVakF/LEsg== X-Received: by 10.28.229.13 with SMTP id c13mr8113083wmh.43.1467197732998; Wed, 29 Jun 2016 03:55:32 -0700 (PDT) Original-Received: from keima.localdomain (x2f2c66a.dyn.telefonica.de. [2.242.198.106]) by smtp.gmail.com with ESMTPSA id ze10sm3125913wjb.2.2016.06.29.03.55.32 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Jun 2016 03:55:32 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: 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:95276 Archived-At: This is a multi-part message in MIME format. --===============3062929081617705942== Content-Type: multipart/alternative; boundary="------------040501050502040803060105" This is a multi-part message in MIME format. --------------040501050502040803060105 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > dr. Hans van der Meer > 29. Juni 2016 um 12:39 > > The above issue being solved, I guess there is something else in my=20 > setup not being as it should be. > Because the code: > > \starttext > \setupbodyfont[lucidaot] > {\sc abc} > \stoptext > > Does give me abc in smallcaps, but placing the \setupbodyfont before=20 > the \starttext surprisingly does not. > > \setupbodyfont[lucidaot] > \starttext > {\sc abc} > \stoptext > > Changing the lucidaot call for cambria or lmodern gives the expected=20 > coorect behaviour. > So I guess there is something amiss with how I did setup the lucida=20 > font in my system. > I bought the lucida opentype font and installed my TeX trees as=20 > follows. The split between the ConTeXt directory and the one for my=20 > local files facilitates downloading new beta versions. > > ~home\TeX\texmf\ > fonts > opentype > bh > lucidaot > LucidaBlackletterOT.otf .. LucidaSansTypewriterOT.otf > tex > context > user (my own modules) > > ~home\Applications\TeX-programs\ > context > tex > link to the above texmf > further as downloaded from the beta > > Strange thing furthermore is that changing the name of the=20 > lucidaot-directory in the texmf-tree does not seem to make any=20 > difference, not in any case when I execute "mtxrun --script font=20 > --reload --force" and afterwards "mtxrun --script context --make". > > So I guess there are some things I did not right. Can that be spotted=20 > from the information given here? The typescript for Lucida Bright OT doesn=E2=80=99t set a font (or applie= s the=20 smallcaps feature) to the \sc font switch. To get small capitals you can now activate the "smcp" or "c2sc" features=20 or you create your own typeface (the \definefontfamily command always=20 sets a font for the \sc switch). \definefontfamily[lucidaopentype][rm][Lucida Bright OT] \definefontfamily[lucidaopentype][ss][Lucida Sans OT] \definefontfamily[lucidaopentype][tt][Lucida Sans Typewriter OT] \definefontfamily[lucidaopentype][mm][Lucida Bright Math OT] \setupbodyfont[lucidaopentype] \starttext {\rm\tf Upright, \it Italic, \bf Bold, \bi BoldItalic and \sc SmallCaps} {\ss\tf Upright, \it Italic, \bf Bold, \bi BoldItalic and \sc SmallCaps} {\tt\tf Upright, \it Italic, \bf Bold, \bi BoldItalic and \sc SmallCaps} \stoptext Wolfgang --------------040501050502040803060105 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
29= .=20 Juni 2016 um 12:39

The above is= sue being solved, I guess there is something else in my setup not being as=20 it should be.
Because the code:

\starttext
\setupbodyfont[lu= cidaot]
{\sc abc}
\stoptext

Does give me abc in smallcaps, but placing the \setupbodyfont before the \starttext surprisingly does not.

\setu= pbodyfont[lucidaot]
\starttext
{\sc abc}
\stoptext

Changing the lucidaot call for cambria or=20 lmodern gives the expected coorect behaviour.
So I guess there is=20 something amiss with how I did setup the lucida font in my system.
I=20 bought the lucida opentype font and installed my TeX trees as follows.=20 The split between the ConTeXt directory and the one for my local files=20 facilitates downloading new beta versions.

~home\TeX\texmf\
=20 fonts
opentype
bh
lucidaot
=20 LucidaBlackletterOT.otf .. LucidaSansTypewriterOT.otf
tex
=20 context
user (my own modules)

~home\Applications\TeX-prog= rams\
context
tex
link to the above texmf
=20 further as downloaded from the beta

Strange thing furthermore is=20 that changing the name of the lucidaot-directory in the texmf-tree does=20 not seem to make any difference, not in any case when I execute "mtxrun=20 --script font --reload --force" and afterwards "mtxrun --script context=20 --make".

So I guess there are some things I did not right. Can=20 that be spotted from the information given here?
The typescript for Lucida Bright OT doesn=E2=80=99t set a font (or applie= s the=20 smallcaps feature) to the \sc font switch.

To get small capitals you can now activate the "smcp" or "c2sc" features or you create your own typeface (the \definefontfamily command always=20 sets a font for the \sc switch).

\definefontfamily[lucidaopentype][rm][Lucida Bright OT]
\definefontfamily[lucidaopentype][ss][Lucida Sans OT]
\definefontfamily[lucidaopentype][tt][Lucida Sans Typewriter OT]
\definefontfamily[lucidaopentype][mm][Lucida Bright Math OT]

\setupbodyfont[lucidaopentype]

\starttext

{\rm\tf Upright, \it Italic, \bf Bold, \bi BoldItalic and \sc SmallCaps}<= br>
{\ss\tf Upright, \it Italic, \bf Bold, \bi BoldItalic and \sc SmallCaps}<= br>
{\tt\tf Upright, \it Italic, \bf Bold, \bi BoldItalic and \sc SmallCaps}<= br>
\stoptext

Wolfgang
--------------040501050502040803060105-- --===============3062929081617705942== 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= --===============3062929081617705942==--