Hi Troy, Did you try the following: %%%%%%%%%%%% file rsfs-mkiv.tex % first comes the patch sent by Hans: \unprotect \chardef\msfam\plustwo % math symbol \def\c!ms{ms} \unexpanded\def\ms{\ifmmode\fam\plustwo\else\setcurrentfontalternative\c!ms\fi} \chardef\symbolmathmode\zerocount \def\enablesymbolmath {\chardef\symbolmathmode\plusone } \def\disablesymbolmath{\chardef\symbolmathmode\zerocount} \appendtoks \ifcase\symbolmathmode\or\dosetmathfamily\msfam\c!ms\fi \to \mathstrategies \enablesymbolmath \protect % end of patch \starttypescript [math] [modern,computer-modern,latin-modern] \definefontsynonym[MathSymbol][MathSymbol-Regular@symbol-math] \loadfontgoodies[symbol-math] \stoptypescript \starttypescript [math] [modern,computer-modern,latin-modern] [size] % extras on top of regular and bold \definebodyfont [4pt,5pt,6pt,7pt,8pt,9pt,10pt, 11pt,12pt,14.4pt,17.3pt,20.7pt] [mm] % [ms=MathSymbol sa 1] % I commented out this [ms=rsfs10 sa 1] % I replaced the above line by this \stoptypescript \usetypescript[modern] \setupbodyfont[modern,10pt] \def\scr {\ms} \def\script#1{{\scr#1}} \enableboldmath \enablesymbolmath \setupbodyfont[10pt] \starttext Recall that since ${\scr D}({\Bbb R}^n)\subset {\scr S}({\Bbb R}^n)$, and is dense, then we have \startformula {\scr S}'({\Bbb R}^n)\subset {\scr D}'({\Bbb R}^n) \stopformula This file has been typeset on \currentdate{} at \currenttime, with \doifmodeelse{mkiv} {mkiv, LuaTeX version \the\luatexversion, LuaTeX revision \luatexrevision, (LuaTeX date stamp \luatexdatestamp), } {mkii, } ConTeXt version \contextversion. \stoptext %%%%%%%%%%%% On my machine the rsfs font is shown under mkiv, but there a few issues with spacing of some characters as you may see in the resulting PDF. Hans gave a mission to Aditya, Mojca (and very remotely to me, given my more than limited skills…) to track down some of th eissues with math in mkiv. Aditya is right now travelling, so without an easy access the internet, beside being busy with his thesis. I am sure he will return soon and we will have some insights frm him and Hans. Best regards: OK On 14 avr. 2010, at 14:08, Troy Henderson wrote:
Hans,
I updated my ConTeXt (by rerunning first-setup.sh and remaking the format files), but I get the following error when compiling your code.
Troy
LuaTeX warning: lua-loaded font [72] (MathSymbol-Regular) has no characters! ! LuaTeX error ...mals/tex/texmf-context/tex/context/base/font-def.lua:539: attempt to index field 'parameters' (a nil value) stack traceback: ...mals/tex/texmf-context/tex/context/base/font-def.lua:539: in function 'register' ...mals/tex/texmf-context/tex/context/base/font-ctx.lua:386: in function 'command_2' <main ctx instance>:1: in main chunk. \lowleveldefinefont ...lax , "\relativefontid " )} \edef \somefontspec {at \s... \xxdododefinefont ...efont {#4}\newfontidentifier \fi \csname \newfontidenti... \dodosetmathfamily ...\currentmathsize \endcsname \else \ifcsname \fontclass... \dosetmathfamily ...athfamily \scriptscriptfont #1 \let \currentmathsize \!!p... <inserted text> ... \dosetmathfamily \msfam \c!ms \fi \synchronizemath ...athfonts \the \mathstrategies \fi ... l.39 ...script[modern] \setupbodyfont[modern,10pt]
? ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________