[NTG-context] RSFS Font

Otared Kavian otared at gmail.com
Tue Apr 13 12:41:29 CEST 2010


On 13 avr. 2010, at 04:13, Troy Henderson wrote:

> I'm trying to follow
> 
> http://wiki.contextgarden.net/rsfs
> 
> to get a script L in math mode (to denote Laplace Transform) but to no
> avail.  I followed the code in the first section, but I get the
> following compilation error.  Any help is appreciated.
> 
> Troy
> 

Hi Troy,

The following works fine for me in mkii, but not in mkiv since, as you observe, the command 
\purefamily
seems to have disappeared from mkiv:

%%%%%%%%%%%
\starttypescript [math] [modern,computer-modern,latin-modern,ams,palatino] [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,14.4pt]

\starttext
\input knuth

${\scr ABCDEFGHIJKLMNOPQRSTUVWXYZ}$

$\sum_{\scr ABCDEFGHIJKLMNOPQRSTUVWXYZ}$

\startformula
\sum_{j \in \scr M} {\scr L}_{j} = {\scr P}.
\stopformula

\stoptext
%%%%%%%%%%%

Best regards: OK

> ---
> 
> context foo.tex
> MTXrun | run 1: luatex
> --fmt="/opt/context-minimals/tex/texmf-cache/luatex-cache/context/ccfefc91ec3ed68af1aeed1f470fef4d/formats/cont-en"
> --lua="/opt/context-minimals/tex/texmf-cache/luatex-cache/context/ccfefc91ec3ed68af1aeed1f470fef4d/formats/cont-en.lui"
> --backend=pdf "./foo.tex"
> This is LuaTeX, Version beta-0.52.0-2010031622
> \write18 enabled.
> (/home/thenders/classes/2010/spring/ma304/foo.tex
> 
> ConTeXt  ver: 2010.03.30 18:56 MKIV  fmt: 2010.3.31  int: english/english
> 
> system          : cont-new loaded
> (/opt/context-minimals/tex/texmf-context/tex/context/base/cont-new.tex
> systems         : beware: some patches loaded from cont-new.tex
> (/opt/context-minimals/tex/texmf-context/tex/context/base/cont-new.mkiv))
> system          : cont-fil loaded
> (/opt/context-minimals/tex/texmf-context/tex/context/base/cont-fil.tex
> loading         : ConTeXt File Synonyms
> )
> system          : cont-sys loaded
> (/opt/context-minimals/tex/texmf-local/tex/context/user/cont-sys.tex
> (/opt/context-minimals/tex/texmf-context/tex/context/base/type-def.mkiv)
> (/opt/context-minimals/tex/texmf-context/tex/context/base/type-lua.tex)
> (/opt/context-minimals/tex/texmf-context/tex/context/base/type-siz.tex
> (/opt/context-minimals/tex/texmf-context/tex/context/base/type-siz.mkiv))
> (/opt/context-minimals/tex/texmf-context/tex/context/base/type-otf.tex
> (/opt/context-minimals/tex/texmf-context/tex/context/base/type-otf.mkiv)))
> system          : foo.top loaded
> (foo.top)
> fonts           : preloading latin modern fonts
> (/opt/context-minimals/tex/texmf-local/tex/context/luc/type-luc.tex){/opt/context-minimals/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/opt/context-minimals/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
> bodyfont        : 12pt rm is loaded
> language        : language en is active
> {/opt/context-minimals/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
> systems         : begin file foo.tex at line 16
> ! Undefined control sequence.
> \scr ->\fam \purefamily
>                        {scriptfamily}
> l.18 ${\scr
>            ABCDEFGHIJKLMNOPQRSTUVWXYZ}$
> ?
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

%%%%%%%%%%%%%%%%%%
Otared Kavian
Département de Mathématiques
Université de Versailles Saint-Quentin
Bâtiment Fermat
45 aveue des Etats Unis
78035 Versailles cedex

Téléphone: +33 1 39 25 46 42
Secrétariat: +33 1 39 25 46 44 
Secrétariat: +33 1 39 25 46 46

e-mail: Otared.Kavian at math.uvsq.fr



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20100413/f4a5c0db/attachment-0001.html>


More information about the ntg-context mailing list