\starttypescript[serif][sourceserifpro]
\definefontsynonym[SourceSerifPro-Regular][file:SourceSerifPro-Regular]
\definefontsynonym[SourceSerifPro-It][file:SourceSerifPro-It]
\definefontsynonym[SourceSerifPro-Semibold][file:SourceSerifPro-Semibold]
\definefontsynonym[SourceSerifPro-SemiboldIt][file:SourceSerifPro-SemiboldIt]
\stoptypescript

\starttypescript[serif][sourceserifpro]
\setups[font:fallback:serif]
\definefontsynonym[Serif][file:SourceSerifPro-Regular][features=default]
\definefontsynonym[SerifItalic][file:SourceSerifPro-It][features=default]
\definefontsynonym[SerifBold][file:SourceSerifPro-Semibold][features=default]
\definefontsynonym[SerifBoldItalic][file:SourceSerifPro-SemiboldIt][features=default]
\stoptypescript

\starttypescript[sans][sourceserifpro]
\definefontsynonym[SourceSansPro-Regular][file:SourceSansPro-Regular]
\definefontsynonym[SourceSansPro-It][file:SourceSansPro-It]
\definefontsynonym[SourceSansPro-Semibold][file:SourceSansPro-Semibold]
\definefontsynonym[SourceSansPro-SemiboldIt][file:SourceSansPro-SemiboldIt]
\stoptypescript

\starttypescript[sans][sourceserifpro]
\setups[font:fallback:sans]
\definefontsynonym[Sans][file:SourceSansPro-Regular][features=default]
\definefontsynonym[SansItalic][file:SourceSansPro-It][features=default]
\definefontsynonym[SansBold][file:SourceSansPro-Semibold][features=default]
\definefontsynonym[SansBoldItalic][file:SourceSansPro-SemiboldIt][features=default]
\stoptypescript

\starttypescript[mono][sourceserifpro]
\definefontsynonym[SourceCodePro-Regular][file:SourceCodePro-Regular]
\definefontsynonym[SourceCodePro-It][file:SourceCodePro-It]
\definefontsynonym[SourceCodePro-Semibold][file:SourceCodePro-Semibold]
\definefontsynonym[SourceCodePro-SemiboldIt][file:SourceCodePro-SemiboldIt]
\stoptypescript

\starttypescript[mono][sourceserifpro]
\setups[font:fallback:mono]
\definefontsynonym[Mono][file:SourceCodePro-Regular][features=default]
\definefontsynonym[MonoItalic][file:SourceCodePro-It][features=default]
\definefontsynonym[MonoBold][file:SourceCodePro-Semibold][features=default]
\definefontsynonym[MonoBoldItalic][file:SourceCodePro-SemiboldIt][features=default]
\stoptypescript

\starttypescript[math][sourceserifpro]
\definefontsynonym[texgyrepagellamathregular][file:texgyrepagella-math]
\stoptypescript

\starttypescript[math][sourceserifpro]
\setups[font:fallback:math]
\definefontsynonym[MathRoman][file:texgyrepagella-math][features=default]
\stoptypescript

% \starttypescript[math][sourceserifpro]
% \definefontsynonym[stixtwomath][file:STIX2Math]
% \stoptypescript

% \starttypescript[math][sourceserifpro]
% \setups[font:fallback:math]
% \definefontsynonym[MathRoman][file:STIX2Math][features=default]
% \stoptypescript

\starttypescript[sourceserifpro]
\definetypeface[sourceserifpro][rm][serif][sourceserifpro][default]
\definetypeface[sourceserifpro][ss][sans][sourceserifpro][default]
\definetypeface[sourceserifpro][tt][mono][sourceserifpro][default]
\definetypeface[sourceserifpro][mm][math][sourceserifpro][default]
\stoptypescript
