TL 2010 and gentium typescript: weird errors with XeTeX
Dear list, does anyone have any idea why I get the following error with \usetypescriptfile[type-gentium] \usetypescript[gentium] \setupbodyfont[gentium] \starttext something \stoptext when processing it with texexec --xtx filename (/Users/mojca/soft/texlive/2010/texmf-dist/tex/context/base/spec-xet.mkii) (/Users/mojca/soft/texlive/2010/texmf-dist/tex/context/third/gentium/type-genti um.tex)kpathsea: Invalid fontname `lmmi7:+liga;+kern;mapping=tlig;', contains ':' kpathsea: Invalid fontname `lmmi7:+liga;+kern;mapping=tlig;', contains ':' kpathsea: Invalid fontname `lmmi9:+liga;+kern;mapping=tlig;', contains ':' kpathsea: Invalid fontname `lmmi9:+liga;+kern;mapping=tlig;', contains ':' kpathsea: Invalid fontname `lmmi12:+liga;+kern;mapping=tlig;', contains ':' ... etc ... kpathsea: Invalid fontname `msbm10:+liga;+kern;mapping=tlig;', contains ':' (./latin.tuo) (./latin.tuo) (./latin.tuo) (./latin.tuo) (./latin.tuo) (./latin.tuo) (./latin.tuo) (./latin.tuo) (./latin.tuo) (./latin.tuo) (./latin.tuo) publications : file latin.bbl not found, waiting for bibtex (./latin.tuo) systems : begin file latin at line 4 fonts : resetting map file list fonts : using map file: original-base fonts : using map file: lm-math The typescript doesn't define or touch the math font at all. What is going on here? (Ancient minimals from 2010.06.15 work fine.) Thanks a lot, Mojca
On 23-6-2010 1:39, Mojca Miklavec wrote:
when processing it with texexec --xtx filename
so ... xetex ... you're sure xetex is run?
(/Users/mojca/soft/texlive/2010/texmf-dist/tex/context/base/spec-xet.mkii) (/Users/mojca/soft/texlive/2010/texmf-dist/tex/context/third/gentium/type-genti um.tex)kpathsea: Invalid fontname `lmmi7:+liga;+kern;mapping=tlig;', contains ':' kpathsea: Invalid fontname `lmmi7:+liga;+kern;mapping=tlig;', contains ':'
i suppose that xetex only feeds the lmmi7 into kpse so this message is wierd indeed 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 -----------------------------------------------------------------
On Wed, Jun 23, 2010 at 03:24:09PM +0200, Hans Hagen wrote:
On 23-6-2010 1:39, Mojca Miklavec wrote:
when processing it with texexec --xtx filename
so ... xetex ... you're sure xetex is run?
(/Users/mojca/soft/texlive/2010/texmf-dist/tex/context/base/spec-xet.mkii) (/Users/mojca/soft/texlive/2010/texmf-dist/tex/context/third/gentium/type-genti um.tex)kpathsea: Invalid fontname `lmmi7:+liga;+kern;mapping=tlig;', contains ':' kpathsea: Invalid fontname `lmmi7:+liga;+kern;mapping=tlig;', contains ':'
i suppose that xetex only feeds the lmmi7 into kpse so this message is wierd indeed
TEXMF fonts (aka file:) should be enclosed in square brackets, and double quoted, without the quotes XeTeX will consider it an old tfm font. I'm sure ConTeXt is/was doing that already, but may be something broke recently? Hmm, thinking again, I think the math font is actually a tfm font, then anything from : onwards should go, only good old TeX font syntax is allowed here. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
On Wed, Jun 23, 2010 at 17:11, Khaled Hosny wrote:
On Wed, Jun 23, 2010 at 03:24:09PM +0200, Hans Hagen wrote:
On 23-6-2010 1:39, Mojca Miklavec wrote:
when processing it with texexec --xtx filename
so ... xetex ... you're sure xetex is run?
Yes. spec-xet.mkii probably doesn't get included with pdfTeX or LuaTeX. Also: Producer: xdvipdfmx (0.7.3)
(/Users/mojca/soft/texlive/2010/texmf-dist/tex/context/base/spec-xet.mkii) (/Users/mojca/soft/texlive/2010/texmf-dist/tex/context/third/gentium/type-genti um.tex)kpathsea: Invalid fontname `lmmi7:+liga;+kern;mapping=tlig;', contains ':' kpathsea: Invalid fontname `lmmi7:+liga;+kern;mapping=tlig;', contains ':'
i suppose that xetex only feeds the lmmi7 into kpse so this message is wierd indeed
TEXMF fonts (aka file:) should be enclosed in square brackets, and double quoted, without the quotes XeTeX will consider it an old tfm font.
True. But lmmi7 *is* an old tfm font. Mojca
On 23-6-2010 5:58, Mojca Miklavec wrote:
True. But lmmi7 *is* an old tfm font.
i don't think that i changed anything at the mkii end so there are two possibilities then (1) the math font definition has changed and refers to features (2) xetex has changed how does your tex file looks like (not that i'm too keen into diving into a xetex related font proble right now) 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 -----------------------------------------------------------------
On Wed, Jun 23, 2010 at 06:31:39PM +0200, Hans Hagen wrote:
On 23-6-2010 5:58, Mojca Miklavec wrote:
True. But lmmi7 *is* an old tfm font.
i don't think that i changed anything at the mkii end so there are two possibilities then
(1) the math font definition has changed and refers to features
Very likely, as shown by the error message (there shouldn't be any featured passed to tfm fonts).
(2) xetex has changed
how does your tex file looks like (not that i'm too keen into diving into a xetex related font proble right now)
-- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer
On Wed, Jun 23, 2010 at 18:31, Hans Hagen wrote:
On 23-6-2010 5:58, Mojca Miklavec wrote:
True. But lmmi7 *is* an old tfm font.
i don't think that i changed anything at the mkii end so there are two possibilities then
(1) the math font definition has changed and refers to features (2) xetex has changed
I can test if taking XeTeX from TeX Live into minimals changes anything.
how does your tex file looks like (not that i'm too keen into diving into a xetex related font proble right now)
This is a minimals file (already sent in the first mail): \usetypescriptfile[type-gentium] \usetypescript[gentium] \setupbodyfont[gentium] \starttext something \stoptext But if you want a more independent one (any font would generate the same error; without the need to have Gentium installed; just replace file:GenR102 with any other font specification): \starttypescript [serif] [gentium] \definefontsynonym [Gentium-Roman] [file:GenR102] [features=default] \stoptypescript \starttypescript [serif] [gentium] [name] \definefontsynonym [Serif] [Gentium-Roman] \definefontsynonym [SerifItalic] [Serif] \definefontsynonym [SerifBold] [Serif] \definefontsynonym [SerifBoldItalic] [Serif] \definefontsynonym [SerifSlanted] [Serif] \definefontsynonym [SerifBoldSlanted] [Serif] \definefontsynonym [SerifCaps] [Serif] \definefontsynonym [OldStyle] [Serif] \stoptypescript \starttypescript [gentium] \definetypeface [gentium] [rm] [serif] [gentium] [default] [features=default] \stoptypescript \usetypescript[gentium] \setupbodyfont[gentium] \starttext test \stoptext Mojca
On 24-6-2010 9:05, Mojca Miklavec wrote:
On Wed, Jun 23, 2010 at 18:31, Hans Hagen wrote:
On 23-6-2010 5:58, Mojca Miklavec wrote:
True. But lmmi7 *is* an old tfm font.
i don't think that i changed anything at the mkii end so there are two possibilities then
(1) the math font definition has changed and refers to features (2) xetex has changed
I can test if taking XeTeX from TeX Live into minimals changes anything.
how does your tex file looks like (not that i'm too keen into diving into a xetex related font proble right now)
This is a minimals file (already sent in the first mail):
\usetypescriptfile[type-gentium] \usetypescript[gentium] \setupbodyfont[gentium] \starttext something \stoptext
but that one runs quite well over here so there must be more magic going on
But if you want a more independent one (any font would generate the same error; without the need to have Gentium installed; just replace file:GenR102 with any other font specification):
\starttypescript [serif] [gentium] \definefontsynonym [Gentium-Roman] [file:GenR102] [features=default] \stoptypescript
\starttypescript [serif] [gentium] [name] \definefontsynonym [Serif] [Gentium-Roman] \definefontsynonym [SerifItalic] [Serif] \definefontsynonym [SerifBold] [Serif] \definefontsynonym [SerifBoldItalic] [Serif] \definefontsynonym [SerifSlanted] [Serif] \definefontsynonym [SerifBoldSlanted] [Serif] \definefontsynonym [SerifCaps] [Serif] \definefontsynonym [OldStyle] [Serif] \stoptypescript
\starttypescript [gentium] \definetypeface [gentium] [rm] [serif] [gentium] [default] [features=default] \stoptypescript
\usetypescript[gentium] \setupbodyfont[gentium]
\starttext test \stoptext
also runs ok 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 -----------------------------------------------------------------
On Thu, Jun 24, 2010 at 09:48, Hans Hagen wrote:
also runs ok
Yes, in minimals it works fine. Also if I copy the XeTeX binary from TL, it still works OK, it's only TL that is failing. Is it possible that some settings in kpathsea/xetex font searching settings are different? Is it possible to avoid searching for lmmi7:+liga;+kern;mapping=tlig; from within ConTeXt? Mojca
On 24-6-2010 9:54, Mojca Miklavec wrote:
On Thu, Jun 24, 2010 at 09:48, Hans Hagen wrote:
also runs ok
Yes, in minimals it works fine. Also if I copy the XeTeX binary from TL, it still works OK, it's only TL that is failing. Is it possible that some settings in kpathsea/xetex font searching settings are different?
Is it possible to avoid searching for lmmi7:+liga;+kern;mapping=tlig; from within ConTeXt?
Makes me wonder where it comes from ... as xetex has this latex friendly but context unfriendly [] system and favors names over files, we need some tricks to check what we're dealing with so we do some tests .. what does \settrue\tracexetexfonts return? did they change the error recovery code, that is, this \suppressfontnotfounderror thing. Anyhow, I stripped some code from font-ini.mkii, move some to font-xtx.mkii and removed de feature default so now you need to explicitly add [features=default] to typescript definitions (I did that in font-otf.mkii from which i also stripped a bunch of lucida type 1 defs which should not be in there anyway). I'll upload a beta to the ftp server for you. As texlive is frozen it won't help much for tl2010 but here are the files that matter: font-ini.mkii font-xtx.mkii type-ini.mkii type-otf.mkii (also fixed some antikwa defs) I really hope that this is the last time i have to look into it. 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 -----------------------------------------------------------------
.. what does
\settrue\tracexetexfonts
return? did they change the error recovery code, that is, this
\suppressfontnotfounderror
In TL I get: fonts : no checking 3a: "Zapfino:+liga;+kern;mapping=tlig;" fonts : no checking 3a: "Zapfino:+liga;+kern;mapping=tlig;" fonts : no checking 3a: "Zapfino:+liga;+kern;mapping=tlig;" kpathsea: Invalid fontname `lmmi7:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1a: lmmi7:+liga;+kern;mapping=tlig; scaled 1000 kpathsea: Invalid fontname `lmmi7:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1b: "lmmi7:+liga;+kern;mapping=tlig;" scaled 1000 fonts : found 1c: "[lmmi7]:+liga;+kern;mapping=tlig;" scaled 1000 kpathsea: Invalid fontname `lmmi9:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1a: lmmi9:+liga;+kern;mapping=tlig; scaled 1000 kpathsea: Invalid fontname `lmmi9:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1b: "lmmi9:+liga;+kern;mapping=tlig;" scaled 1000 fonts : found 1c: "[lmmi9]:+liga;+kern;mapping=tlig;" scaled 1000 kpathsea: Invalid fontname `lmmi12:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1a: lmmi12:+liga;+kern;mapping=tlig; scaled 1000 kpathsea: Invalid fontname `lmmi12:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1b: "lmmi12:+liga;+kern;mapping=tlig;" scaled 1000 fonts : found 1c: "[lmmi12]:+liga;+kern;mapping=tlig;" scaled 1000 kpathsea: Invalid fontname `lmsy7:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1a: lmsy7:+liga;+kern;mapping=tlig; scaled 1000 kpathsea: Invalid fontname `lmsy7:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1b: "lmsy7:+liga;+kern;mapping=tlig;" scaled 1000 fonts : found 1c: "[lmsy7]:+liga;+kern;mapping=tlig;" scaled 1000 kpathsea: Invalid fontname `lmsy9:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1a: lmsy9:+liga;+kern;mapping=tlig; scaled 1000 kpathsea: Invalid fontname `lmsy9:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1b: "lmsy9:+liga;+kern;mapping=tlig;" scaled 1000 fonts : found 1c: "[lmsy9]:+liga;+kern;mapping=tlig;" scaled 1000 kpathsea: Invalid fontname `lmsy10:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1a: lmsy10:+liga;+kern;mapping=tlig; at 12.0pt kpathsea: Invalid fontname `lmsy10:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1b: "lmsy10:+liga;+kern;mapping=tlig;" at 12.0pt fonts : found 1c: "[lmsy10]:+liga;+kern;mapping=tlig;" at 12.0pt kpathsea: Invalid fontname `lmex10:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1a: lmex10:+liga;+kern;mapping=tlig; at 12.0pt kpathsea: Invalid fontname `lmex10:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1b: "lmex10:+liga;+kern;mapping=tlig;" at 12.0pt fonts : found 1c: "[lmex10]:+liga;+kern;mapping=tlig;" at 12.0pt kpathsea: Invalid fontname `msam7:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1a: msam7:+liga;+kern;mapping=tlig; at 7.0pt kpathsea: Invalid fontname `msam7:+liga;+kern;mapping=tlig;', contains ':' fonts : not found 1b: "msam7:+liga;+kern;mapping=tlig;" at 7.0pt fonts : found 1c: "[msam7]:+liga;+kern;mapping=tlig;" at 7.0pt In minimals I get: fonts : no checking 3a: "Zapfino:+liga;+kern;mapping=tlig;" fonts : no checking 3a: "Zapfino:+liga;+kern;mapping=tlig;" fonts : no checking 3a: "Zapfino:+liga;+kern;mapping=tlig;" fonts : not found 1a: lmmi7:+liga;+kern;mapping=tlig; scaled 1000 fonts : not found 1b: "lmmi7:+liga;+kern;mapping=tlig;" scaled 1000 fonts : found 1c: "[lmmi7]:+liga;+kern;mapping=tlig;" scaled 1000 fonts : not found 1a: lmmi9:+liga;+kern;mapping=tlig; scaled 1000 fonts : not found 1b: "lmmi9:+liga;+kern;mapping=tlig;" scaled 1000 fonts : found 1c: "[lmmi9]:+liga;+kern;mapping=tlig;" scaled 1000 fonts : not found 1a: lmmi12:+liga;+kern;mapping=tlig; scaled 1000 fonts : not found 1b: "lmmi12:+liga;+kern;mapping=tlig;" scaled 1000 fonts : found 1c: "[lmmi12]:+liga;+kern;mapping=tlig;" scaled 1000 fonts : not found 1a: lmsy7:+liga;+kern;mapping=tlig; scaled 1000 fonts : not found 1b: "lmsy7:+liga;+kern;mapping=tlig;" scaled 1000 fonts : found 1c: "[lmsy7]:+liga;+kern;mapping=tlig;" scaled 1000 fonts : not found 1a: lmsy9:+liga;+kern;mapping=tlig; scaled 1000 fonts : not found 1b: "lmsy9:+liga;+kern;mapping=tlig;" scaled 1000 fonts : found 1c: "[lmsy9]:+liga;+kern;mapping=tlig;" scaled 1000 fonts : not found 1a: lmsy10:+liga;+kern;mapping=tlig; at 12.0pt fonts : not found 1b: "lmsy10:+liga;+kern;mapping=tlig;" at 12.0pt fonts : found 1c: "[lmsy10]:+liga;+kern;mapping=tlig;" at 12.0pt fonts : not found 1a: lmex10:+liga;+kern;mapping=tlig; at 12.0pt fonts : not found 1b: "lmex10:+liga;+kern;mapping=tlig;" at 12.0pt fonts : found 1c: "[lmex10]:+liga;+kern;mapping=tlig;" at 12.0pt fonts : not found 1a: msam7:+liga;+kern;mapping=tlig; at 7.0pt fonts : not found 1b: "msam7:+liga;+kern;mapping=tlig;" at 7.0pt fonts : found 1c: "[msam7]:+liga;+kern;mapping=tlig;" at 7.0pt fonts : not found 1a: msam10:+liga;+kern;mapping=tlig; at 9.0pt fonts : not found 1b: "msam10:+liga;+kern;mapping=tlig;" at 9.0pt fonts : found 1c: "[msam10]:+liga;+kern;mapping=tlig;" at 9.0pt fonts : not found 1a: msam10:+liga;+kern;mapping=tlig; at 12.0pt fonts : not found 1b: "msam10:+liga;+kern;mapping=tlig;" at 12.0pt fonts : found 1c: "[msam10]:+liga;+kern;mapping=tlig;" at 12.0pt fonts : not found 1a: msbm7:+liga;+kern;mapping=tlig; at 7.0pt fonts : not found 1b: "msbm7:+liga;+kern;mapping=tlig;" at 7.0pt fonts : found 1c: "[msbm7]:+liga;+kern;mapping=tlig;" at 7.0pt fonts : not found 1a: msbm10:+liga;+kern;mapping=tlig; at 9.0pt fonts : not found 1b: "msbm10:+liga;+kern;mapping=tlig;" at 9.0pt fonts : found 1c: "[msbm10]:+liga;+kern;mapping=tlig;" at 9.0pt fonts : not found 1a: msbm10:+liga;+kern;mapping=tlig; at 12.0pt fonts : not found 1b: "msbm10:+liga;+kern;mapping=tlig;" at 12.0pt fonts : found 1c: "[msbm10]:+liga;+kern;mapping=tlig;" at 12.0pt It looks as if only the messages are not printed out in minimals, but they are printed out in TL. But nevertheless the math fonts should not have +liga +kern mapping keywords attached. (This was the old version, not the latest beta.) Mojca
On 24-6-2010 2:30, Mojca Miklavec wrote:
fonts : not found 1b: "msbm10:+liga;+kern;mapping=tlig;" at 9.0pt fonts : found 1c: "[msbm10]:+liga;+kern;mapping=tlig;" at 9.0pt fonts : not found 1a: msbm10:+liga;+kern;mapping=tlig; at 12.0pt fonts : not found 1b: "msbm10:+liga;+kern;mapping=tlig;" at 12.0pt fonts : found 1c: "[msbm10]:+liga;+kern;mapping=tlig;" at 12.0pt
It looks as if only the messages are not printed out in minimals, but they are printed out in TL. But nevertheless the math fonts should not have +liga +kern mapping keywords attached.
but even then, it ran ok on my machine with those features attached so something changed in the bins 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 -----------------------------------------------------------------
On 24-6-2010 9:05, Mojca Miklavec wrote:
On Wed, Jun 23, 2010 at 18:31, Hans Hagen wrote:
On 23-6-2010 5:58, Mojca Miklavec wrote:
True. But lmmi7 *is* an old tfm font.
i don't think that i changed anything at the mkii end so there are two possibilities then
(1) the math font definition has changed and refers to features (2) xetex has changed
I can test if taking XeTeX from TeX Live into minimals changes anything.
btw, It runs ok on my machine, i don't have tl installed (I do have a master copy but have now my system set up for minimals + dev trees) ... i should probably install a tex live in a vm some time soon (no time now). 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 (3)
-
Hans Hagen
-
Khaled Hosny
-
Mojca Miklavec