From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107163 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: module article-basic interferes with \definebodyfont? Date: Fri, 1 May 2020 18:19:41 +0200 Message-ID: References: <82edd0f1-6f2c-4042-b0f6-7d5f958b9efd@gmail.com> <027A4AE0-8BFB-471F-B99D-5EDD57A76060@rna.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\)) Content-Type: multipart/mixed; boundary="===============1147589797144942243==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="36942"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Fri May 01 18:20:21 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUYOi-0009Wo-UN for gctc-ntg-context-518@m.gmane-mx.org; Fri, 01 May 2020 18:20:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 10D86183989; Fri, 1 May 2020 18:19:54 +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 UTp06B2rY_Mc; Fri, 1 May 2020 18:19:48 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F1F221838DD; Fri, 1 May 2020 18:19:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C66DF1838FB for ; Fri, 1 May 2020 18:19: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 2LgkBmJAlVCB for ; Fri, 1 May 2020 18:19:42 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=213.125.118.53; helo=mail.rna.nl; envelope-from=gerben.wierda@rna.nl; receiver= Original-Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 4A1EB181E3B for ; Fri, 1 May 2020 18:19:42 +0200 (CEST) Original-Received: from hermione.rna.nl (hermione.rna.nl [192.168.2.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.rna.nl (Postfix) with ESMTPSA id 91DFF3DFA666; Fri, 1 May 2020 18:19:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1588349981; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EBHJfcTbPTG65WjUIhQdFnIQ1w2F6mqUU1TKFAcBMho=; b=nCe0pXYi3A5L6VddntDhVpM3ftFl6eQj+xCFdmKoZeqIpbrmJoQiAwsd06wRW8kSwgSN1B Qosab/HoEs+JXNEoOqYGJinX4vWMTS0HvBbGHaPiKbjQkEWj6jG1q2XVFXFbyerqtodlSn iDEwET+ON42uBW9/tnOctJIAgTbSh3YfsX1cYIrKcOhf+uYOSmN7ezQbMAcLqGDTmLmrfq T58z8DFkrIisEHXIzH4M/znU/EGpoHTwZI0R1+zMRV2Z4F/9BMrLpaTm2EN+lDj7/6+Dd4 apJXMdY/M4/Ud3joDuidJ1c/MWgfeEbG0WmXHkUi7ri9DrEPnH0DLf/uXTBBYA== In-Reply-To: X-Mailer: Apple Mail (2.3445.104.14) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:107163 Archived-At: --===============1147589797144942243== Content-Type: multipart/alternative; boundary="Apple-Mail=_80F26F10-DDDA-480D-B665-D86BF2F5E384" --Apple-Mail=_80F26F10-DDDA-480D-B665-D86BF2F5E384 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 1 May 2020, at 16:02, Wolfgang Schuster = wrote: >=20 > Gerben Wierda schrieb am 01.05.2020 um 13:58: >> \definetypeface [optima] [ss] [sans] [optima] [default] >> \definetypeface [optima] [rm] [serif] [optima] [default] >> \definetypeface [optima] [tt] [mono] [modern] [default] >> \definetypeface [optima] [mm] [math] [optima] [default] >> \setupbodyfont [optima] >> As I now understand it, I have now defined the typescript for sans, = but created a setup that sans is the fallback. I have also defined rm, = tt and mm explicitly. >=20 > This does not work because you have no serif or math typescripts > for optima (\starttypescript [serif] [optima]) defined. Yes, I was in doubt about that, but I guessed that the fallback maybe = took care of that.=20 \setups[font:fallback:sans] mm should be modern anyway, I think (not that I need it, I only want the = ss form anyway). G >=20 > Wolfgang --Apple-Mail=_80F26F10-DDDA-480D-B665-D86BF2F5E384 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii On = 1 May 2020, at 16:02, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:

Gerben= Wierda schrieb am 01.05.2020 um 13:58:
\definetypeface [optima] [ss] [sans] [optima] = [default]
\definetypeface [optima] [rm] [serif] [optima] = [default]
\definetypeface [optima] [tt] [mono] [modern] = [default]
\definetypeface [optima] [mm] [math] [optima] = [default]
\setupbodyfont [optima]
As I now = understand it, I have now defined the typescript for sans, but created a = setup that sans is the fallback. I have also defined rm, tt and mm = explicitly.

This does not work = because you have no serif or math typescripts
for optima = (\starttypescript [serif] [optima]) defined.

Yes, = I was in doubt about that, but I guessed that the fallback maybe took = care of that. 

  =  \setups[font:fallback:sans]

mm = should be modern anyway, I think (not that I need it, I only want the ss = form anyway).

G


Wolfgang

= --Apple-Mail=_80F26F10-DDDA-480D-B665-D86BF2F5E384-- --===============1147589797144942243== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1147589797144942243==--