[NTG Context] Storm (Lido) font support seems to be broken in newer versions of MKII
![](https://secure.gravatar.com/avatar/13aa48aeefd46e69ca405af99bf5b5e0.jpg?s=120&d=mm&r=g)
Hello, the Storm font support by Vit Zyka is broken in actual version of MKII. I spoke with him, but unfortunately he uses old version and does not have the time for updates. I discovered that renaming the enco-*.tex files to enco-*.mkii solves a part of the problem, but there still remains an issue with math typesetting. Context does not know many characters (\times, \neq, ...), boldmath etc. Typescripts looks OK and I don't know enough to look deeper. Could anyone help? greetings Jan -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/
![](https://secure.gravatar.com/avatar/13aa48aeefd46e69ca405af99bf5b5e0.jpg?s=120&d=mm&r=g)
Minimal example is here and support files are attached. Original support
can be downloaded here: http://modules.contextgarden.net/stormfontsupport
\mainlanguage[cz]
\enableregime[il2]
\useencoding[st2]
\useencoding[st3]
\usetypescriptfile[t-type-slido]
\usetypescript[Lido][st2]
\setupbodyfont[Lido,12pt]
\starttext
$$ 3 + 3 + 3 = 3^2 $$ % ok
$$ a + b + c = d $$ % incorrect font
$$ 2 \times 2 $$ % error
$$ 1 \neq 2 $$ % error
\formula[boldmath]{a^2+b^2=c^2} % don't work (not bold)
\stoptext
Jan
Dne Mon, 03 May 2010 22:09:35 +0200 Honza Pohanka
Hello, the Storm font support by Vit Zyka is broken in actual version of MKII. I spoke with him, but unfortunately he uses old version and does not have the time for updates. I discovered that renaming the enco-*.tex files to enco-*.mkii solves a part of the problem, but there still remains an issue with math typesetting. Context does not know many characters (\times, \neq, ...), boldmath etc. Typescripts looks OK and I don't know enough to look deeper. Could anyone help?
greetings Jan
-- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/
![](https://secure.gravatar.com/avatar/13aa48aeefd46e69ca405af99bf5b5e0.jpg?s=120&d=mm&r=g)
Dne Tue, 04 May 2010 10:03:05 +0200 Jan Pohanka
Minimal example is here and support files are attached. Original support can be downloaded here: http://modules.contextgarden.net/stormfontsupport
\mainlanguage[cz] \enableregime[il2] \useencoding[st2] \useencoding[st3] \usetypescriptfile[t-type-slido] \usetypescript[Lido][st2] \setupbodyfont[Lido,12pt] \starttext
$$ 3 + 3 + 3 = 3^2 $$ % ok $$ a + b + c = d $$ % incorrect font $$ 2 \times 2 $$ % error $$ 1 \neq 2 $$ % error
\formula[boldmath]{a^2+b^2=c^2} % don't work (not bold)
\stoptext
Jan
Dne Mon, 03 May 2010 22:09:35 +0200 Honza Pohanka
napsal(a): Hello, the Storm font support by Vit Zyka is broken in actual version of MKII. I spoke with him, but unfortunately he uses old version and does not have the time for updates. I discovered that renaming the enco-*.tex files to enco-*.mkii solves a part of the problem, but there still remains an issue with math typesetting. Context does not know many characters (\times, \neq, ...), boldmath etc. Typescripts looks OK and I don't know enough to look deeper. Could anyone help?
greetings Jan
-- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
2010/5/4 Jan Pohanka
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] That is: I'm not sure if the "st" font is defined somewhere or not. (This is the first time that I see this.) The character is present in sldr6s.tfm at slot 0x0E. The font is defined as \definefontsynonym [MathStorm] [Lido-Math-Storm] \definefontsynonym [Lido-Math-Storm] [sldr6s] [encoding=st3] but I'm not sure how this maps to (or why it is supposed to map to) "[st]". Once this is resolved (once somebody explains me how the mapping is supposed to work), the problem with incorrect font will probably be solved simultaneously. (Boldmath is something that I never really understood when or why it works or doesn't work.) Mojca
![](https://secure.gravatar.com/avatar/13aa48aeefd46e69ca405af99bf5b5e0.jpg?s=120&d=mm&r=g)
Dne Wed, 12 May 2010 20:36:38 +0200 Mojca Miklavec
2010/5/4 Jan Pohanka
: 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. Jan
That is: I'm not sure if the "st" font is defined somewhere or not. (This is the first time that I see this.)
The character is present in sldr6s.tfm at slot 0x0E. The font is defined as \definefontsynonym [MathStorm] [Lido-Math-Storm] \definefontsynonym [Lido-Math-Storm] [sldr6s] [encoding=st3] but I'm not sure how this maps to (or why it is supposed to map to) "[st]".
Once this is resolved (once somebody explains me how the mapping is supposed to work), the problem with incorrect font will probably be solved simultaneously.
(Boldmath is something that I never really understood when or why it works or doesn't work.)
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 ___________________________________________________________________________________
-- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 13-5-2010 9:40, Jan Pohanka wrote:
Dne Wed, 12 May 2010 20:36:38 +0200 Mojca Miklavec
napsal(a): 2010/5/4 Jan Pohanka
: 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.
does \definemathsymbol [times] [bin] [mc] ["0E] work? btw, in mkiv that will never work as we now only use two families, there one needs to make a lfg file as with the other type1 math fonts Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/13aa48aeefd46e69ca405af99bf5b5e0.jpg?s=120&d=mm&r=g)
Dne Thu, 13 May 2010 10:59:14 +0200 Hans Hagen
On 13-5-2010 9:40, Jan Pohanka wrote:
Dne Wed, 12 May 2010 20:36:38 +0200 Mojca Miklavec
napsal(a): 2010/5/4 Jan Pohanka
: 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.
does \definemathsymbol [times] [bin] [mc] ["0E] work?
No, it does not.
btw, in mkiv that will never work as we now only use two families, there one needs to make a lfg file as with the other type1 math fonts
I know that mkiv could be better in this, but I'd like to have mkii working too. (Using of miktex (no lua) is one of the reasons).
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
-- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/
![](https://secure.gravatar.com/avatar/13aa48aeefd46e69ca405af99bf5b5e0.jpg?s=120&d=mm&r=g)
I also uploaded the corresponding files including the free Lido font here
for testing.
http://neuron.feld.cvut.cz/LidoType1.zip
Jan
Dne Thu, 13 May 2010 10:59:14 +0200 Hans Hagen
On 13-5-2010 9:40, Jan Pohanka wrote:
Dne Wed, 12 May 2010 20:36:38 +0200 Mojca Miklavec
napsal(a): 2010/5/4 Jan Pohanka
: 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.
does \definemathsymbol [times] [bin] [mc] ["0E] work?
btw, in mkiv that will never work as we now only use two families, there one needs to make a lfg file as with the other type1 math fonts
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
-- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
2010/5/13 Jan Pohanka wrote:
Dne Wed, 12 May 2010 20:36:38 +0200 Mojca Miklavec napsal(a):
2010/5/4 Jan Pohanka
: 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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 13-5-2010 2:53, Mojca Miklavec wrote:
(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.)
mostly stripping ... no encodings any more
\usetypescript[Lido][st1] \setupbodyfont[Lido,12pt]
probably something with the filtering ... i don't remember drastic changes, but one never knows Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/13aa48aeefd46e69ca405af99bf5b5e0.jpg?s=120&d=mm&r=g)
What does [mr] [mc] [ma] in mathcollection stands for?
Jan
Dne Thu, 13 May 2010 15:09:02 +0200 Hans Hagen
On 13-5-2010 2:53, Mojca Miklavec wrote:
(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.)
mostly stripping ... no encodings any more
\usetypescript[Lido][st1] \setupbodyfont[Lido,12pt]
probably something with the filtering ... i don't remember drastic changes, but one never knows
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Thu, 13 May 2010, Honza Pohanka wrote:
What does [mr] [mc] [ma] in mathcollection stands for?
This is what I remember mr = Math Roman ma, mb, mc, md, me = Extra math families. The actual corresponance between ma etc and the fonts are set in a typescript. For example, \starttypescript [math] [<collection>] [size] \definebodyfont [<size>] [mm] [ma = <Font> sa 1] \stoptypescript here <collection> is something like default, ams, etc, which is the 4th argument of \definetypescript. \definetypescript[<name>] [math] [mm] [<collection>] [<encoding>] <size> is something like 10pt, etc. It can also be a list. <Font> is the name of the font that ma should stand for. Aditya
![](https://secure.gravatar.com/avatar/13aa48aeefd46e69ca405af99bf5b5e0.jpg?s=120&d=mm&r=g)
Hello,
thanks all for help, the problem is solved now.
Original Vit's support will work with two modifications.
1) enco-*.tex must be renamed to enco-*.mkii
2) contents of t-type-s*.tex must be enclosed to
\starttypescriptcollection \stoptypescriptcollection
the problem lied in the line \usetypescriptfile[t-type-sto] in
t-type-slido.tex, cascading of \usetypescriptfile works only with
typescriptcollection
best regards
Jan
Dne Thu, 13 May 2010 19:40:02 +0200 Aditya Mahajan
On Thu, 13 May 2010, Honza Pohanka wrote:
What does [mr] [mc] [ma] in mathcollection stands for?
This is what I remember
mr = Math Roman
ma, mb, mc, md, me = Extra math families.
The actual corresponance between ma etc and the fonts are set in a typescript. For example,
\starttypescript [math] [<collection>] [size] \definebodyfont [<size>] [mm] [ma = <Font> sa 1] \stoptypescript
here <collection> is something like default, ams, etc, which is the 4th argument of \definetypescript.
\definetypescript[<name>] [math] [mm] [<collection>] [<encoding>]
<size> is something like 10pt, etc. It can also be a list.
<Font> is the name of the font that ma should stand for.
Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 13-5-2010 5:13, Honza Pohanka wrote:
What does [mr] [mc] [ma] in mathcollection stands for?
families mr == math roman : reserved for roman .. ma == math symbols a : normally ams a set mb == math symbols b : normally ams b set mc == math symbols c : free md == math symbols d : free ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 3-5-2010 10:09, Honza Pohanka wrote:
Hello, the Storm font support by Vit Zyka is broken in actual version of MKII. I spoke with him, but unfortunately he uses old version and does not have the time for updates. I discovered that renaming the enco-*.tex files to enco-*.mkii solves a part of the problem, but there still remains an issue with math typesetting. Context does not know many characters (\times, \neq, ...), boldmath etc. Typescripts looks OK and I don't know enough to look deeper. Could anyone help?
aren't there open type storm fonts? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (5)
-
Aditya Mahajan
-
Hans Hagen
-
Honza Pohanka
-
Jan Pohanka
-
Mojca Miklavec