From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34076 Path: news.gmane.org!not-for-mail From: Vyatcheslav Yatskovsky Newsgroups: gmane.comp.tex.context Subject: Times as math font Date: Sun, 1 Apr 2007 23:21:30 +0300 Message-ID: <1275093624.20070401232130@gmail.com> Reply-To: Yatskovsky , mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0106453457==" X-Trace: sea.gmane.org 1175458907 11972 80.91.229.12 (1 Apr 2007 20:21:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Apr 2007 20:21:47 +0000 (UTC) To: "ntg-context-request@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 01 22:21:37 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1HY6YS-0008Ee-7v for gctc-ntg-context-518@m.gmane.org; Sun, 01 Apr 2007 22:21:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AA54820380; Sun, 1 Apr 2007 22:21:35 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23455-01-9; Sun, 1 Apr 2007 22:21:29 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7EDC2202E8; Sun, 1 Apr 2007 22:21:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7C1CF202E8 for ; Sun, 1 Apr 2007 22:21:27 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23455-01-8 for ; Sun, 1 Apr 2007 22:21:24 +0200 (CEST) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by ronja.ntg.nl (Postfix) with ESMTP id C128F20259 for ; Sun, 1 Apr 2007 22:21:24 +0200 (CEST) Original-Received: by ug-out-1314.google.com with SMTP id m2so1531817uge for ; Sun, 01 Apr 2007 13:21:24 -0700 (PDT) Original-Received: by 10.67.28.9 with SMTP id f9mr3726627ugj.1175458884528; Sun, 01 Apr 2007 13:21:24 -0700 (PDT) Original-Received: from gavel.indulge.volia.net ( [77.122.215.114]) by mx.google.com with ESMTP id b33sm6303941ika.2007.04.01.13.21.23; Sun, 01 Apr 2007 13:21:23 -0700 (PDT) X-Mailer: The Bat! (v3.98.4) Professional X-Priority: 3 (Normal) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:34076 Archived-At: --===============0106453457== Content-Type: multipart/alternative; boundary="----------9D12E3A15A1EDE3" ------------9D12E3A15A1EDE3 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Hello, Could someone be so kind to tell me why I cannot set Times as math font?=20 The line \definetypeface [myFont] [mm] [math,boldmath] [myfont] [default] = [encoding=3Dt2a] seems to do nothing; other code works well. \loadmapfile[t2a-monotype-timesttf.map] \usetypescriptfile[type-buy] \usetypescript[serif][fallback] \starttypescript [serif] [myfont] [t2a] \definefontsynonym [Serif] [t2a-TINRPSMT] [encoding=3Dt2a] \definefontsynonym [SerifBold] [t2a-TINRPSBM] [encoding=3Dt2a] \definefontsynonym [SerifItalic] [t2a-TINRPSIM] [encoding=3Dt2a] \definefontsynonym [SerifBoldItalic] [t2a-TINRPSBI] [encoding=3Dt2a] \stoptypescript \definetypeface [myFont] [rm] [serif] [myfont] [default] [encoding=3Dt2= a] \definetypeface [myFont] [mm] [math,boldmath] [myfont] [default] [encod= ing=3Dt2a] \definetypeface [myFont] [tt] [mono] [typewriter][default][encoding=3Dt= 2a] \setupbodyfont[myFont,12pt] \starttext Uniform distribution (over an interval) means that every number from that i= nterval is equally probable. The probability density function is given as $ f(x) =3D \left\{ {\matrix{ {{1 \over {b - a}}} & {for\,x \in (a;b)} \cr=20 0 & {otherwise} \cr=20 } } \right. $ \stoptext -- Best, Vyatcheslav ------------9D12E3A15A1EDE3 Content-Type: text/html; charset=windows-1251 Content-Transfer-Encoding: quoted-printable

Hello,


Could someone be so kind to tell me why I cannot set= Times as math font? 

The line  \definetypeface [myFont] [mm] [math,b= oldmath] [myfont] [default] [encoding=3Dt2a] seems to do nothing; other cod= e works well.


\loadmapfile[t2a-monotype-timesttf.map]


\usetypescriptfile[type-buy]

\usetypescript[serif][fallback]


    \starttypescript [serif] [myfont] [t2a= ]

      \definefontsynonym [Serif] &nbs= p;         [t2a-TINRPSMT] [encoding=3Dt2a]

      \definefontsynonym [SerifBold] =       [t2a-TINRPSBM] [encoding=3Dt2a]

      \definefontsynonym [SerifItalic= ]     [t2a-TINRPSIM] [encoding=3Dt2a]

      \definefontsynonym [SerifBoldIt= alic] [t2a-TINRPSBI] [encoding=3Dt2a]

    \stoptypescript


    \definetypeface [myFont] [rm] [serif] = [myfont] [default] [encoding=3Dt2a]

    \definetypeface [myFont] [mm] [math,bo= ldmath] [myfont] [default] [encoding=3Dt2a]

    \definetypeface [myFont] [tt] [mono] [= typewriter][default][encoding=3Dt2a]


    \setupbodyfont[myFont,12pt]


\starttext

Uniform distribution (over an interval) means that e= very number from that interval is equally probable. The probability density= function is given as

$

f(x) =3D \left\{ {\matrix{

   {{1 \over {b - a}}} & {for\,x \in (= a;b)}  \cr 

   0 & {otherwise}  \cr 

 } } \right.

$

\stoptext


--

Best,

 Vyatcheslav          =            

------------9D12E3A15A1EDE3-- --===============0106453457== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0106453457==--