ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: Yatskovsky <yatskovsky@gmail.com>,
	 "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Times as math font
Date: Wed, 4 Apr 2007 01:27:43 +0200	[thread overview]
Message-ID: <6faad9f00704031627p4102c15dnf24568227276c66@mail.gmail.com> (raw)
In-Reply-To: <1275093624.20070401232130@gmail.com>

On 4/1/07, Vyatcheslav Yatskovsky wrote:
>
> Hello,
>
> Could someone be so kind to tell me why I cannot set Times as math font?
>
> The line  \definetypeface [myFont] [mm] [math,boldmath] [myfont] [default]
> [encoding=t2a] seems to do nothing; other code works well.

You probably didn't define any math typescripts for "myfont" (well,
you don't need to since zou can use existing typescripts). If you want
to get math in Times, simply use
    \definetypeface [myFont] [mm] [math,boldmath] [times] [default]
[encoding=default]

You probably don't need cyrillic encoding or any other special font
for math in Times.

The remaining code works because you defined the following lines for
Serif, but not for Math:

\starttypescript [serif] [myfont] [t2a]
      \definefontsynonym [Serif]           [t2a-TINRPSMT] [encoding=t2a]

Mojca

      reply	other threads:[~2007-04-03 23:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-01 20:21 Vyatcheslav Yatskovsky
2007-04-03 23:27 ` Mojca Miklavec [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f00704031627p4102c15dnf24568227276c66@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=yatskovsky@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).