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 via email to