ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Math setup with Times (Termes)
Date: Thu, 12 Nov 2009 15:38:54 +0100	[thread overview]
Message-ID: <6faad9f00911120638m4797ca1fy65d35ff8a3237411@mail.gmail.com> (raw)
In-Reply-To: <4AFC196E.5070201@gmail.com>

On Thu, Nov 12, 2009 at 15:19, Vyatcheslav Yatskovsky wrote:
> Hello
>>
>> I now get italic math (but roman h for example). So this needs to be
>> fixed a bit, but it's the right direction at least. (Though it might
>> be better to use generic names like "regular" or "italic" for name= in
>> case that users try to use some other times-like base font for
>> example.)
>>
>
> Wow, Mojca! God bless you!
>
> Can I assist you now? Just explain me what to do.

You can take a look at

\starttext

\loadmapfile[original-youngryu-tx.map]
\font\testlm=lmmi10.tfm
\font\testone=rtxmi.tfm  \testone
\font\testtwo=rtxptmri.tfm \testtwo

\dostepwiserecurse{0}{127}{1}{%
	\strut\hbox to 4ex{\recurselevel}%
	\hbox to 2.6ex{\color[red]{\testone\char\recurselevel}}%
	\hbox to 2.6ex{\color[blue]{\testtwo\char\recurselevel}}%
	\hbox to 2.6ex{\color[black]{\testlm\char\recurselevel}}
}
\stoptext

Then two copies of tex-mi in math-vfu are needed (some other name has
to be assigned). One where only red characters are used and the other
one where all the others are left (just comment out the rest that's
not needed). You probably need to map g, v, w, y, ... separately to
the math italic unicode range (that's not done in current tex-mi).

You may visually check if that's consistent with LM font in the third row.

Mojca

(Thinking one step further ... one could take all the greek letters
from TeX Gyre as well, though I'm not 100% sure ... it could be that
there is some metric information present in these tfm files that's
missing in otf fonts.)
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2009-11-12 14:38 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.396.1258033393.22155.ntg-context@ntg.nl>
2009-11-12 14:19 ` Vyatcheslav Yatskovsky
2009-11-12 14:38   ` Mojca Miklavec [this message]
2009-11-12 16:52     ` Hans Hagen
2009-11-12 14:25 ` Vyatcheslav Yatskovsky
2009-11-12 14:41   ` Mojca Miklavec
2009-11-12 15:02 ` Vyatcheslav Yatskovsky
2009-11-12 15:07   ` Taco Hoekwater
     [not found] <mailman.407.1258061400.22155.ntg-context@ntg.nl>
2009-11-12 23:40 ` Vyatcheslav Yatskovsky
     [not found] <mailman.403.1258044997.22155.ntg-context@ntg.nl>
2009-11-12 17:05 ` Vyatcheslav Yatskovsky
2009-11-12 17:34   ` Mojca Miklavec
     [not found] <mailman.384.1257957327.22155.ntg-context@ntg.nl>
2009-11-12  1:16 ` Vyatcheslav Yatskovsky
2009-11-12  1:23 ` Vyatcheslav Yatskovsky
     [not found] <mailman.343.1257760041.22155.ntg-context@ntg.nl>
2009-11-09 11:43 ` Vyatcheslav Yatskovsky
     [not found] <mailman.329.1257669716.22155.ntg-context@ntg.nl>
2009-11-08 21:00 ` Vyatcheslav Yatskovsky
2009-11-08 21:18   ` Wolfgang Schuster
2009-11-09  0:14   ` Aditya Mahajan
2009-11-10 18:10   ` Mojca Miklavec
2009-11-10 20:12     ` Mojca Miklavec
2009-11-11  8:38       ` Hans Hagen
2009-11-11 15:01         ` Mojca Miklavec
2009-11-11 15:06           ` luigi scarso
2009-11-11 20:50             ` Martin Schröder
2009-11-11 15:21           ` Aditya Mahajan
2009-11-11 15:36             ` Mojca Miklavec
2009-11-11 15:54               ` Hans Hagen
2009-11-11 16:02                 ` Mojca Miklavec
2009-11-11 16:06                   ` Wolfgang Schuster
2009-11-11 16:37                     ` Mojca Miklavec
2009-11-11 16:57                       ` Wolfgang Schuster
2009-11-12 11:25                         ` Mojca Miklavec
2009-11-12 11:41                           ` Hans Hagen
2009-11-12 12:42                             ` Mojca Miklavec
2009-11-12 12:44                               ` Mojca Miklavec
2009-11-12 13:45                                 ` Mojca Miklavec
2009-11-12 14:56                                   ` Wolfgang Schuster
     [not found]                                     ` <6faad9f00911120702w1f3eadb1if91bbd65a594a6c1@mail.gmail.com>
     [not found]                                       ` <4AFC25CB.90906@gmail.com>
2009-11-12 15:19                                         ` Mojca Miklavec
2009-11-12  9:42                       ` Hans Hagen
2009-11-12 11:25                         ` Mojca Miklavec
2009-11-12 11:38                           ` Hans Hagen
2009-11-11 16:13               ` Hans Hagen
2009-11-11 16:39                 ` Bernhard Rosensteiner
2009-11-11 15:37           ` Hans Hagen
2009-11-11 15:58             ` Mojca Miklavec

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=6faad9f00911120638m4797ca1fy65d35ff8a3237411@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).