From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115066 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Nedeljkovic via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Help needed with Custodia typescript Date: Wed, 25 May 2022 18:44:59 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0407878386583516304==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7466"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Nedeljkovic To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 25 18:45:45 2022 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 1ntu8m-0001bT-IO for gctc-ntg-context-518@m.gmane-mx.org; Wed, 25 May 2022 18:45:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B933B36091E; Wed, 25 May 2022 18:45:16 +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 XqcSfYQO5XpF; Wed, 25 May 2022 18:45:15 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 248BA360945; Wed, 25 May 2022 18:45:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E7CF1360945 for ; Wed, 25 May 2022 18:45:13 +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 NtCuLokb_A2h for ; Wed, 25 May 2022 18:45:12 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.219.53; helo=mail-qv1-f53.google.com; envelope-from=tsar.srb@gmail.com; receiver= Original-Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 836B336091E for ; Wed, 25 May 2022 18:45:12 +0200 (CEST) Original-Received: by mail-qv1-f53.google.com with SMTP id v5so16831707qvs.10 for ; Wed, 25 May 2022 09:45:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=a0xeFeYejLZ2k/iAxI6ylA5HsyoCd6LlYTcsInVNYL4=; b=JhPyLvkTlrmb0EvWpC3qFPQX22wSm95QEAmMUAZDGul3gGsxFcaX0mYykG0/HRMKXX W3IcTk6AbFNB642HBUzgr+69/YraqolSxueTD/3+gEmRo5LNftlo9rvAqq6cd8JefWDD g+sHnkzCgFY3YPfarr3uCQyZ72JAld+85SBppHvMwo7z/zq3IscLhiccWXblmLYMwlk+ Ss4YJzVNAxzadKQBo3hYeG3bAWdr+Z/Vb+YG0kkM4fzyMGHW4EJzvUhxHwKblr2Bhyf9 rKkPp49winAQ80QO7e6XK8yubkD8urgX3AaAjN47ktKTNi9xk7E3GYtNqqwxs0D/mgfj RJCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=a0xeFeYejLZ2k/iAxI6ylA5HsyoCd6LlYTcsInVNYL4=; b=3KIYQ0Pe+zWFnLsaDGbUCfIVBLF+grq6kO0yg/fSQ0SSPFeOmoJKakC8FWSpLhZdW1 ckK2WTUIdyToBJmh0H0gIR7N/KyPZV8LuMqVY5doAFmCEZ+fDKAvD5liSmo+m3YX/dx5 W3iXCFFQ4Zsk+N4YL7kL9jsFIjZYCK38ZmrIk/D56oUesbmfjuKe3PxCGHSTqZiUQA0e 96OoR5azthCgLzoF2nsiQ9bGdWm1EyMzDe7qm8jfqFsVOztqkaPM2RMJDNB8vNQG/jkn lJWp5D4GY/NYdOqOA852oAlaUdBfVIW/R+ag53mZVGJQRwmdECh1QGFhzZ9FTpEmmehP aPuA== X-Gm-Message-State: AOAM533hUIPTNNdsWNbyj9vKQhzKo1vdVJPPHaTUJ99IUCOLZqnGLoK4 kZD6gbGOGbpR8P10H0kMTpPUDZnVPkNXa+avP8hMGXH1HlQ= X-Google-Smtp-Source: ABdhPJzHVrX9cMkh+c2ECp57Z/UEftgeJ6AXFK1Z18qQ81gX5UyBY2d+ZsIMK0ukaMILVtxLvoWBtohNGeE9nvsAnYY= X-Received: by 2002:a05:6214:230a:b0:461:e824:46fa with SMTP id gc10-20020a056214230a00b00461e82446famr26636835qvb.30.1653497109842; Wed, 25 May 2022 09:45:09 -0700 (PDT) In-Reply-To: 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:115066 Archived-At: --===============0407878386583516304== Content-Type: multipart/alternative; boundary="000000000000de90e305dfd8cbc8" --000000000000de90e305dfd8cbc8 Content-Type: text/plain; charset="UTF-8" It doesn't work for medium weights, as it is not standard. I took my solution from Wolfgang, here: https://tex.stackexchange.com/questions/303648/context-font-weights On Wed, May 25, 2022 at 6:32 PM Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > Hi Stefan, > > I never used \definebodyfont but either \definefontfamily or typescripts > with \definefontsynonym. > > Did you try \definefontfamily[custodia][rm][Custodia] ? > > https://wiki.contextgarden.net/Command/definefontfamily > > Hraban > > Am 25.05.22 um 18:20 schrieb Stefan Nedeljkovic via ntg-context: > > > > Dear list, > > > > > > I'm trying to set up Custodia in LMTX, but the custodiasemibolditalic > > won't show up. It shows up regularly when I run mtxrun --script fonts > > --list --all --pattern=Custodia > > > > I'm attaching the output for reference. Any help would be appreciated. > > > > > > Sincerely, > > > > Stefan > > > > \definefontalternative[md] > > > > \definefontalternative[mi] > > > > > > \starttypescript [serif] [custodia] > > > > \definefontsynonym[Serif] [name:custodianormal][features=default] > > > > \definefontsynonym[SerifItalic] > > [name:custodianormalitalic][features=default] > > > > \definefontsynonym[SerifMedium] [name:custodiasemibold][features=default] > > > > \definefontsynonym[SerifMediumItalic] > > [name:custodiasemibolditalic][features=default] > > > > \definefontsynonym[SerifBold] [name:custodiabold][features=default] > > > > \definefontsynonym[SerifBoldItalic] > > [name:custodiabolditalic][features=default] > > > > \stoptypescript > > > > > > \starttypescript [serif] [custodia] > > > > \definebodyfont [default] [rm] > > > > [ > > > > tf=Serif sa 1, > > > > it=SerifItalic sa 1, > > > > md=SerifMedium sa 1, > > > > mi=SerifMediumItalic sa 1, > > > > bf=SerifBold sa 1, > > > > bi=SerifBoldItalic sa 1] > > > > \stoptypescript > > > > > > > > \definetypeface [custodia] [rm] [serif] [custodia] [default] > > > > > > > > > > > > \usetypescript[custodia][uc] > > > > \setupbodyfont[custodia,rm,10pt] > > > > > > \starttext > > > > > > Regular Hamburgerfons, > > > > {\it Italic Hamburgerfons}, > > > > {\md Medium Hamburgerfons}, > > > > {\mi Medium Italic Hamburgerfons}, > > > > {\bf Bold Hamburgerfons}, > > > > {\bi Bold Italic Hamburgerfons},\\ > > > > > > \setff{smallcaps}{Small Caps Hamburgerfons}, > > > > \setff{smallcaps}{\it Small Caps Italic Hamburgerfons}, > > > > \setff{smallcaps}{\md Small Caps Medium Hamburgerfons}, > > > > \setff{smallcaps}{\mi Small Caps Medium Italic Hamburgerfons}, > > > > \setff{smallcaps}{\bf Small Caps Bold Hamburgerfons}, > > > > \setff{smallcaps}{\bi Small Caps Bold Italic Hamburgerfons} > > > > > > \stoptext > > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > --000000000000de90e305dfd8cbc8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It doesn't work for medium weights, as it is not stand= ard. I took my solution from Wolfgang, here:=C2=A0https://tex.stackexc= hange.com/questions/303648/context-font-weights

On Wed, May 25, 2022 at = 6:32 PM Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl> wrote:
Hi Stefan,

I never used \definebodyfont but either \definefontfamily or typescripts with \definefontsynonym.

Did you try \definefontfamily[custodia][rm][Custodia] ?

https://wiki.contextgarden.net/Command/define= fontfamily

Hraban

Am 25.05.22 um 18:20 schrieb Stefan Nedeljkovic via ntg-context:
>
> Dear list,
>
>
> I'm trying to set up Custodia in LMTX, but the custodiasemiboldita= lic
> won't show up. It shows up regularly when I run mtxrun --script fo= nts
> --list --all --pattern=3DCustodia
>
> I'm attaching the output for reference. Any help would be apprecia= ted.
>
>
> Sincerely,
>
> Stefan
>
> \definefontalternative[md]
>
> \definefontalternative[mi]
>
>
> \starttypescript [serif] [custodia]
>
> \definefontsynonym[Serif] [name:custodianormal][features=3Ddefault] >
> \definefontsynonym[SerifItalic]
> [name:custodianormalitalic][features=3Ddefault]
>
> \definefontsynonym[SerifMedium] [name:custodiasemibold][features=3Ddef= ault]
>
> \definefontsynonym[SerifMediumItalic]
> [name:custodiasemibolditalic][features=3Ddefault]
>
> \definefontsynonym[SerifBold] [name:custodiabold][features=3Ddefault]<= br> >
> \definefontsynonym[SerifBoldItalic]
> [name:custodiabolditalic][features=3Ddefault]
>
> \stoptypescript
>
>
> \starttypescript [serif] [custodia]
>
> \definebodyfont [default] [rm]
>
> [
>
> tf=3DSerif sa 1,
>
> it=3DSerifItalic sa 1,
>
> md=3DSerifMedium sa 1,
>
> mi=3DSerifMediumItalic sa 1,
>
> bf=3DSerifBold sa 1,
>
> bi=3DSerifBoldItalic sa 1]
>
> \stoptypescript
>
>
>
> \definetypeface [custodia] [rm] [serif] [custodia] [default]
>
>
>
>
>
> \usetypescript[custodia][uc]
>
> \setupbodyfont[custodia,rm,10pt]
>
>
> \starttext
>
>
> Regular Hamburgerfons,
>
> {\it Italic Hamburgerfons},
>
> {\md Medium Hamburgerfons},
>
> {\mi Medium Italic Hamburgerfons},
>
> {\bf Bold Hamburgerfons},
>
> {\bi Bold Italic Hamburgerfons},\\
>
>
> \setff{smallcaps}{Small Caps Hamburgerfons},
>
> \setff{smallcaps}{\it Small Caps Italic Hamburgerfons},
>
> \setff{smallcaps}{\md Small Caps Medium Hamburgerfons},
>
> \setff{smallcaps}{\mi Small Caps Medium Italic Hamburgerfons},
>
> \setff{smallcaps}{\bf Small Caps Bold Hamburgerfons},
>
> \setff{smallcaps}{\bi Small Caps Bold Italic Hamburgerfons}
>
>
> \stoptext
>
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--000000000000de90e305dfd8cbc8-- --===============0407878386583516304== 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== --===============0407878386583516304==--