ConTeXt LMTX:如何使用 RSFS 字体?

ConTeXt LMTX:如何使用 RSFS 字体?

我尝试将 RSFS 字体与 ConTeXt LMTX (2022.09.11 20:44) 一起使用,但没有任何效果。

维基百科

\starttypescript [math] [modern,computer-modern,latin-modern,ams] [size]
     \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt][mm][mc=rsfs10 sa 1]
     \definebodyfont [8pt,7pt] [mm] [mc=rsfs7 sa 1]
     \definebodyfont [6pt,5pt,4pt] [mm] [mc=rsfs5 sa 1]
\stoptypescript

\definefamilysynonym [default] [scriptfamily] [mc]

\def\scr{\fam\purefamily{scriptfamily}} % To use ${\scr ABC}$
\def\script#1{{\scr#1}}                 % To use $\script{ABC}$

\definetypeface [modern] [mm] [math] [modern] [ams] [encoding=texnansi]

\setupbodyfont[reset,modern,11pt]

\starttext

${\scr ABCDEFGHIJKLMNOPQRSTUVWXYZ}$

$\sum_{\scr ABCDEFGHIJKLMNOPQRSTUVWXYZ}$

\stoptext

我收到此编译错误

tex error       > tex error on line 7 in file ./main.tex: Undefined control sequence \undefined

<line 3.7>
    \definefamilysynonym
     [default] [scriptfamily] [mc]

...

 7 >>  \definefamilysynonym [default] [scriptfamily] [mc]

...

The control sequence at the end of the top line of your error message was never
\def'ed. You can just continue as I'll forget about whatever was undefined.
mtx-context     | fatal error: return code: 1

由此SE 答案我收到以下错误:

tex error       > tex error on line 35 in file ./main.tex: Undefined control sequence \undefined

<line 3.35>
    \newfam
    \calfam

...

35 >>  \newfam\calfam

...

The control sequence at the end of the top line of your error message was never
\def'ed. You can just continue as I'll forget about whatever was undefined.
mtx-context     | fatal error: return code: 1

我检查了一下,没有找到有关 ConTeXt LMTX 中字体使用的任何较新的资源。

我需要做什么才能将 RSFS 字体添加到我的文档中?

相关内容