<div dir="ltr">mtxrun --script fonts --list --all --pattern=Custodia<br>identifier               familyname   fontname                 filename                      subfont   instances<br><br>custodiabold             custodia     custodiabold             Custodia-Bold.ttf<br>custodiabolditalic       custodia     custodiabolditalic       Custodia-BoldItalic.ttf<br>custodiaitalic           custodia     custodianormalitalic     Custodia-NormalItalic.ttf<br>custodianormal           custodia     custodianormal           Custodia-Normal.ttf<br>custodianormalitalic     custodia     custodianormalitalic     Custodia-NormalItalic.ttf<br>custodiaregular          custodia     custodianormal           Custodia-Normal.ttf<br>custodiasemibold         custodia     custodiasemibold         Custodia-SemiBold.ttf<br>custodiasemibolditalic   custodia     custodiasemibolditalic   Custodia-SemiBoldItalic.ttf<br><div><br></div><div>I tried a different name, but the result was the same.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 25, 2022 at 7:12 PM Henning Hraban Ramm via ntg-context <<a href="mailto:ntg-context@ntg.nl">ntg-context@ntg.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ah, sorry, didn’t know that. I can’t find an error in your code, but I <br>
don’t have the (commercial) font to test. What’s the output of the <br>
mtxrun font lookup?<br>
Did you try a different shortcut from "mi"?<br>
<br>
Hraban<br>
<br>
Am 25.05.22 um 18:44 schrieb Stefan Nedeljkovic:<br>
> It doesn't work for medium weights, as it is not standard. I took my <br>
> solution from Wolfgang, here: <br>
> <a href="https://tex.stackexchange.com/questions/303648/context-font-weights" rel="noreferrer" target="_blank">https://tex.stackexchange.com/questions/303648/context-font-weights</a> <br>
> <<a href="https://tex.stackexchange.com/questions/303648/context-font-weights" rel="noreferrer" target="_blank">https://tex.stackexchange.com/questions/303648/context-font-weights</a>><br>
> <br>
> On Wed, May 25, 2022 at 6:32 PM Henning Hraban Ramm via ntg-context <br>
> <<a href="mailto:ntg-context@ntg.nl" target="_blank">ntg-context@ntg.nl</a> <mailto:<a href="mailto:ntg-context@ntg.nl" target="_blank">ntg-context@ntg.nl</a>>> wrote:<br>
> <br>
>     Hi Stefan,<br>
> <br>
>     I never used \definebodyfont but either \definefontfamily or<br>
>     typescripts<br>
>     with \definefontsynonym.<br>
> <br>
>     Did you try \definefontfamily[custodia][rm][Custodia] ?<br>
> <br>
>     <a href="https://wiki.contextgarden.net/Command/definefontfamily" rel="noreferrer" target="_blank">https://wiki.contextgarden.net/Command/definefontfamily</a><br>
>     <<a href="https://wiki.contextgarden.net/Command/definefontfamily" rel="noreferrer" target="_blank">https://wiki.contextgarden.net/Command/definefontfamily</a>><br>
> <br>
>     Hraban<br>
> <br>
>     Am 25.05.22 um 18:20 schrieb Stefan Nedeljkovic via ntg-context:<br>
>      ><br>
>      > Dear list,<br>
>      ><br>
>      ><br>
>      > I'm trying to set up Custodia in LMTX, but the<br>
>     custodiasemibolditalic<br>
>      > won't show up. It shows up regularly when I run mtxrun --script<br>
>     fonts<br>
>      > --list --all --pattern=Custodia<br>
>      ><br>
>      > I'm attaching the output for reference. Any help would be<br>
>     appreciated.<br>
>      ><br>
>      ><br>
>      > Sincerely,<br>
>      ><br>
>      > Stefan<br>
>      ><br>
>      > \definefontalternative[md]<br>
>      ><br>
>      > \definefontalternative[mi]<br>
>      ><br>
>      ><br>
>      > \starttypescript [serif] [custodia]<br>
>      ><br>
>      > \definefontsynonym[Serif] [name:custodianormal][features=default]<br>
>      ><br>
>      > \definefontsynonym[SerifItalic]<br>
>      > [name:custodianormalitalic][features=default]<br>
>      ><br>
>      > \definefontsynonym[SerifMedium]<br>
>     [name:custodiasemibold][features=default]<br>
>      ><br>
>      > \definefontsynonym[SerifMediumItalic]<br>
>      > [name:custodiasemibolditalic][features=default]<br>
>      ><br>
>      > \definefontsynonym[SerifBold] [name:custodiabold][features=default]<br>
>      ><br>
>      > \definefontsynonym[SerifBoldItalic]<br>
>      > [name:custodiabolditalic][features=default]<br>
>      ><br>
>      > \stoptypescript<br>
>      ><br>
>      ><br>
>      > \starttypescript [serif] [custodia]<br>
>      ><br>
>      > \definebodyfont [default] [rm]<br>
>      ><br>
>      > [<br>
>      ><br>
>      > tf=Serif sa 1,<br>
>      ><br>
>      > it=SerifItalic sa 1,<br>
>      ><br>
>      > md=SerifMedium sa 1,<br>
>      ><br>
>      > mi=SerifMediumItalic sa 1,<br>
>      ><br>
>      > bf=SerifBold sa 1,<br>
>      ><br>
>      > bi=SerifBoldItalic sa 1]<br>
>      ><br>
>      > \stoptypescript<br>
>      ><br>
>      ><br>
>      ><br>
>      > \definetypeface [custodia] [rm] [serif] [custodia] [default]<br>
>      ><br>
>      ><br>
>      ><br>
>      ><br>
>      ><br>
>      > \usetypescript[custodia][uc]<br>
>      ><br>
>      > \setupbodyfont[custodia,rm,10pt]<br>
>      ><br>
>      ><br>
>      > \starttext<br>
>      ><br>
>      ><br>
>      > Regular Hamburgerfons,<br>
>      ><br>
>      > {\it Italic Hamburgerfons},<br>
>      ><br>
>      > {\md Medium Hamburgerfons},<br>
>      ><br>
>      > {\mi Medium Italic Hamburgerfons},<br>
>      ><br>
>      > {\bf Bold Hamburgerfons},<br>
>      ><br>
>      > {\bi Bold Italic Hamburgerfons},\\<br>
>      ><br>
>      ><br>
>      > \setff{smallcaps}{Small Caps Hamburgerfons},<br>
>      ><br>
>      > \setff{smallcaps}{\it Small Caps Italic Hamburgerfons},<br>
>      ><br>
>      > \setff{smallcaps}{\md Small Caps Medium Hamburgerfons},<br>
>      ><br>
>      > \setff{smallcaps}{\mi Small Caps Medium Italic Hamburgerfons},<br>
>      ><br>
>      > \setff{smallcaps}{\bf Small Caps Bold Hamburgerfons},<br>
>      ><br>
>      > \setff{smallcaps}{\bi Small Caps Bold Italic Hamburgerfons}<br>
>      ><br>
>      ><br>
>      > \stoptext<br>
>      ><br>
___________________________________________________________________________________<br>
If your question is of interest to others as well, please add an entry to the Wiki!<br>
<br>
maillist : <a href="mailto:ntg-context@ntg.nl" target="_blank">ntg-context@ntg.nl</a> / <a href="http://www.ntg.nl/mailman/listinfo/ntg-context" rel="noreferrer" target="_blank">http://www.ntg.nl/mailman/listinfo/ntg-context</a><br>
webpage  : <a href="http://www.pragma-ade.nl" rel="noreferrer" target="_blank">http://www.pragma-ade.nl</a> / <a href="http://context.aanhet.net" rel="noreferrer" target="_blank">http://context.aanhet.net</a><br>
archive  : <a href="https://bitbucket.org/phg/context-mirror/commits/" rel="noreferrer" target="_blank">https://bitbucket.org/phg/context-mirror/commits/</a><br>
wiki     : <a href="http://contextgarden.net" rel="noreferrer" target="_blank">http://contextgarden.net</a><br>
___________________________________________________________________________________<br>
</blockquote></div>