[NTG-context] RSFS Font

Otared Kavian otared at gmail.com
Wed Apr 14 14:25:29 CEST 2010

Hi Troy,

Did you try the following:
%%%%%%%%%%%% file rsfs-mkiv.tex
% first comes the patch sent by Hans:
\chardef\msfam\plustwo % math symbol
\def\enablesymbolmath {\chardef\symbolmathmode\plusone  }
\to \mathstrategies
\protect % end of patch

\starttypescript [math] [modern,computer-modern,latin-modern]
  \definefontsynonym[MathSymbol][MathSymbol-Regular at symbol-math]
\starttypescript [math] [modern,computer-modern,latin-modern] [size]

  % extras on top of regular and bold
%       [ms=MathSymbol sa 1] % I commented out this 
      [ms=rsfs10 sa 1] % I replaced the above line by this


\usetypescript[modern] \setupbodyfont[modern,10pt]

\def\scr      {\ms}



Recall that since ${\scr D}({\Bbb R}^n)\subset {\scr S}({\Bbb R}^n)$, and is dense, then we have
{\scr S}'({\Bbb R}^n)\subset {\scr D}'({\Bbb R}^n)
This file has been typeset 
on \currentdate{} 
at \currenttime, 
	LuaTeX version \the\luatexversion,
	LuaTeX revision \luatexrevision,
	(LuaTeX date stamp \luatexdatestamp), }
	{mkii, }
	ConTeXt version \contextversion.
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 at 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
> ___________________________________________________________________________________

More information about the ntg-context mailing list