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>
Cc: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: [NTG Context] Storm (Lido) font support seems to be broken in newer versions of MKII
Date: Thu, 13 May 2010 14:53:36 +0200	[thread overview]
Message-ID: <AANLkTimUOuAo6eBCXFpKYjDILGRbRlOH27pv9jQln_ty@mail.gmail.com> (raw)
In-Reply-To: <op.vcmvl9gxyxxkfz@lab050p.feld.cvut.cz>

2010/5/13 Jan Pohanka wrote:
> Dne Wed, 12 May 2010 20:36:38 +0200 Mojca Miklavec napsal(a):
>> 2010/5/4 Jan Pohanka <xhpohanka@gmail.com>:
>>>
>>> Minimal example is here and support files are attached. Original support
>>> can
>>> be downloaded here: http://modules.contextgarden.net/stormfontsupport
>>>
>>> $$ 2 \times 2 $$ % error
>>
>> Dear Jan,
>>
>> About the first problem that you are reporting:
>>
>> I don't understand what the "st" in t-math-sto.tex does.
>>  \definemathsymbol    [times] [bin] [st] ["0E]
>
> The line \let\stfam\mcfam \let\hexstfam\hexmcfam should map the st math
> family to the mc family, maybe this is not working anymore. I have tried
> \definefamilysynonym [default] [st] [mc] but with no succes.

(A note to Hans: the question was about MKII. One would need to
rewrite the whole typescript for MKIV, sure, but the first step might
be to fix the almost-working MKII.)

OK, I see. Replacing with ma/mc doesn't really have any effect. I
won't pretend that I understand the math typescripts in details, but
at least the following works. I'm not sure how exactly the last two
arguments of
    \definetypeface [Lido] [mm] [math] [lido] [...] [...]
work, but maybe something really subtle has changed in the meantime
that nobody has noticed.

\useencoding[st1]

\startmathcollection[storm]
  \definemathsymbol [times] [bin] [ma] ["0E]
\stopmathcollection

\starttypescript [math] [lido] [all]
  \definefontsynonym [Lido-Math-Letters]            [sldr8t]%  [encoding=st1]
  \definefontsynonym [Lido-Math-Letters-Italic]     [sldri8t]% [encoding=st1]
  \definefontsynonym [ComputerModernMath-Symbols]   [cmsy10]
  \definefontsynonym [ComputerModernMath-Extension] [cmex10]
  \definefontsynonym [Lido-Math-Storm]              [sldr6s]%  [encoding=st1]
  \usemathcollection[storm]
  \loadmapfile[slido.map]
\stoptypescript

\starttypescript [math] [lido] [name]
  \definefontsynonym [MathRoman]        [Lido-Math-Letters]
  \definefontsynonym [MathItalic]       [Lido-Math-Letters-Italic]
  \definefontsynonym [MathSymbol]       [ComputerModernMath-Symbols]
  \definefontsynonym [MathExtension]    [ComputerModernMath-Extension]
  \definefontsynonym [MathAlpha]        [Lido-Math-Storm]
\stoptypescript

\starttypescript [math] [lido] [name]
  \usemathcollection[storm]
\stoptypescript

\starttypescript [Lido] [st1]
  % \definetypeface [Lido] [rm] [serif] [lido] [default]
[encoding=\typescripttwo]
  % \definetypeface [Lido] [mm] [math] [lido] [storm]  %
[encoding=\typescripttwo]
  \definetypeface [Lido] [mm] [math] [lido] [default]
[encoding=default]  % [encoding=\typescripttwo]
\stoptypescript

\usetypescript[Lido][st1]
\setupbodyfont[Lido,12pt]

\starttext

$ a + b + c = d \times 2$

\stoptext

Mojca
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2010-05-13 12:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-03 20:09 Honza Pohanka
2010-05-04  8:03 ` Jan Pohanka
2010-05-04 14:05   ` Jan Pohanka
2010-05-12 18:36   ` Mojca Miklavec
2010-05-13  7:40     ` Jan Pohanka
2010-05-13  8:59       ` Hans Hagen
2010-05-13  9:23         ` Jan Pohanka
2010-05-13  9:30         ` Jan Pohanka
2010-05-13 12:53       ` Mojca Miklavec [this message]
2010-05-13 13:09         ` Hans Hagen
2010-05-13 15:13           ` Honza Pohanka
2010-05-13 17:40             ` Aditya Mahajan
2010-05-14  8:32               ` Jan Pohanka
2010-05-13 20:19             ` Hans Hagen
2010-05-06 20:13 ` Hans Hagen
     [not found]   ` <op.vck3ngm61q7s5f@julesp>
2010-05-12  8:40     ` Honza Pohanka
2010-05-12  8:48       ` Hans Hagen

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=AANLkTimUOuAo6eBCXFpKYjDILGRbRlOH27pv9jQln_ty@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=vit.zyka@seznam.cz \
    /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).