From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58153 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: RSFS Font Date: Wed, 14 Apr 2010 14:25:29 +0200 Message-ID: References: <4BC48D2A.6020808@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1271247973 9283 80.91.229.12 (14 Apr 2010 12:26:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Apr 2010 12:26:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 14 14:26:11 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O21fX-0003GM-Eo for gctc-ntg-context-518@m.gmane.org; Wed, 14 Apr 2010 14:26:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C1794C9D31; Wed, 14 Apr 2010 14:26:10 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id cXhLNz88A4GI; Wed, 14 Apr 2010 14:25:59 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 40E86C9CBC; Wed, 14 Apr 2010 14:25:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0D25BC9CBC for ; Wed, 14 Apr 2010 14:25:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zUnivY9+IJ3l for ; Wed, 14 Apr 2010 14:25:32 +0200 (CEST) Original-Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) by balder.ntg.nl (Postfix) with ESMTP id ED097C9C9F for ; Wed, 14 Apr 2010 14:25:31 +0200 (CEST) Original-Received: by wwf26 with SMTP id 26so27705wwf.14 for ; Wed, 14 Apr 2010 05:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=LsNzwmVLlubVQ361mz6okxgxit5iun2lWedbNJVIyP4=; b=CseKJwzdzp9apKYVGTL2IZN+zvnr+ZD+vgRb7cRb/J/oPdMQSGwhKxx1ZidY5Ni/Oh QX/ycRu5Nu4TrQJJJ34zQeuUMyL7HRSPsMhoVEsxdJL6UXk99LR9YQRAhIza7G3WYSMp 8Y4IV6ahGv2XTlypf9wK89bSYyC3EjG4Xh05I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=T5/UslNwqLeMvN+D+LoV+lMnWkB3N/cE2UQmmowfQiqSFGS+ajghVzVpFwpdkDz6vF UAWW/qBxbxVhclbaJdzxyBScp+yVdUGuwkcDHP6MGV1ucTdzps23JdFcRLIG5v2k1w9O WiR4dpiIQFlQ355VfMVJ9Plm15MbZ1hkWivQc= Original-Received: by 10.216.158.12 with SMTP id p12mr4975720wek.152.1271247931615; Wed, 14 Apr 2010 05:25:31 -0700 (PDT) Original-Received: from [192.168.1.21] (181.24.85-79.rev.gaoland.net [79.85.24.181]) by mx.google.com with ESMTPS id x1sm2285616wbx.13.2010.04.14.05.25.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 14 Apr 2010 05:25:31 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1078) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:58153 Archived-At: 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=3DMathSymbol sa 1] % I commented out this = [ms=3Drsfs10 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 i= s 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 wit= h 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 li= mited skills=85) to track down some of th eissues with math in mkiv. Aditya= is right now travelling, so without an easy access the internet, beside be= ing busy with his thesis. I am sure he will return soon and we will have so= me 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 characte= rs! > ! LuaTeX error ...mals/tex/texmf-context/tex/context/base/font-def.lua:53= 9: > 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' >
:1: in main chunk. > \lowleveldefinefont ...lax , "\relativefontid " )} > \edef \somefontspec {at = \s... > \xxdododefinefont ...efont {#4}\newfontidentifier > \fi \csname \newfontiden= ti... > \dodosetmathfamily ...\currentmathsize \endcsname > \else \ifcsname \fontcla= ss... > \dosetmathfamily ...athfamily \scriptscriptfont #1 > \let \currentmathsize \!= !p... > ... \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-co= ntext > 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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________