Re: [NTG-context] rsfs font problem with MKIV

2010-03-06 Thread Mehdi Omidali

Thank you very much. Just a comment: it is better to define
\def\scr #1{\text{\ralfsmithfs #1}}
In this way, font sizes (superscript and subscript) are also available.
MO

On 3/5/2010 2:15 PM, views63 wrote:

2010/3/4 Mehdi Omidalimehd...@gmail.com:
   

Hi,
I followed http://wiki.contextgarden.net/rsfs and compile the sample file in
this page with MKIV and got the following error:

! Undefined control sequence.

\scr -\fam \purefamily

{scriptfamily}

l.18 ${\scr

ABCDEFGHIJKLMNOPQRSTUVWXYZ}$

?

 

1. put the archive keep file structure to \context\tex\texmf\fonts 

2. luatools --generate

3. context --make

test

\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]

\definefont [ralfsmithfs] [RalfSmithFormalScript sa \currentfontscale]
\def\scr #1{\ifmmode\hbox{\ralfsmithfs #1}\else\ralfsmithfs #1\fi}

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

\setupbodyfont[reset,modern,11pt]

\starttext

$\scr {ABCDEFGHIJKLMNOPQRSTUVWXYZ}$

\stoptext
   



___
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
___
   


___
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
___


Re: [NTG-context] rsfs font problem with MKIV

2010-03-06 Thread Mojca Miklavec
On Fri, Mar 5, 2010 at 11:45, views63 wrote:

 1. put the archive keep file structure to \context\tex\texmf\fonts 

No, better put them to texmf-local or texmf-fonts, not to texmf, else
they will be deleted when you synchronize the archive next time.

Mojca
___
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
___


Re: [NTG-context] rsfs font problem with MKIV

2010-03-06 Thread views63
2010/3/7 Mojca Miklavec mojca.miklavec.li...@gmail.com:
 On Fri, Mar 5, 2010 at 11:45, views63 wrote:
 No, better put them to texmf-local or texmf-fonts, not to texmf, else
 they will be deleted when you synchronize the archive next time.

Thank you very much. now I can use first-setup without --keep
synchronize the archive
___
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
___


[NTG-context] rsfs font problem with MKIV

2010-03-03 Thread Mehdi Omidali

Hi,
I followed http://wiki.contextgarden.net/rsfs and compile the sample 
file in this page with MKIV and got the following error:


! 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@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
___


Re: [NTG-context] rsfs font problem with MKIV

2010-03-03 Thread Aditya Mahajan

On Wed, 3 Mar 2010, Mehdi Omidali wrote:


Hi,
I followed http://wiki.contextgarden.net/rsfs and compile the sample file in 
this page with MKIV and got the following error:


Those instructions only work for MKII. I am not sure how to incorporate 
RSFS with MKIV. Unicode only has type of math script letters.


Aditya
___
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
___