Hi, There is something wrong with the mappings for zapf chancery in mkiv. Minimal example \usetypescriptfile[type-gyr] \definetypeface [mainface] [rm][serif][pagella][default][encoding=texnansi] \definetypeface [mainface] [cg][calligraphy][chancery][default] [encoding=texnansi] \setupbodyfont [mainface,10pt] \starttext \cg test \stoptext Gives This went wrong: /home/adityam/texmf/tex/context/base/font-tfm.lua:141: attempt to index local 'tfmdata' (a nil value) error >> define font: font with name texgyrechorus-regular is not found. <to be read again> \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi <inserted text> ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... l.9 \cg test ? r OK, entering \nonstopmode... ! Font \*mainface10ptcgtfcg*:=texgyrechorus-regular*default at 10pt not loadable: metric data not found or bad. <to be read again> \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi <inserted text> ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... l.9 \cg test I get the same error on contextgarden. Only texgyrechorus-italicmedium.otf is availabe from tex-gyre website. But context is looking for texgyrechorus-regular and cannot find it. The same file works with mkii. Aditya
There is something wrong with the mappings for zapf chancery in mkiv.
Have you installed TeX Gyre Chorus on your system? It has been released quite recently (September 26th). http://www.gust.org.pl/projects/e-foundry/tex-gyre/chorus/
On Wed, 19 Dec 2007, Arthur Reutenauer wrote:
There is something wrong with the mappings for zapf chancery in mkiv.
Have you installed TeX Gyre Chorus on your system? It has been released quite recently (September 26th).
Yes, I have Chorus installed. But I only have texgyrechorus-mediumitalic.otf (and qzcmi.pfm), while ConTeXt is looking for texgyrechorus-regular. I get the same error on contextgarden, so it is not something with just my (currently semi-broken) local setup. Can you run my minimal example with \loggingall and send me the log file offlist? Aditya
On Tue, 18 Dec 2007, Aditya Mahajan wrote:
Hi,
There is something wrong with the mappings for zapf chancery in mkiv.
There is a typo in type-otf.tex. The following is wrong \starttypescript [calligraphy] [chancery] \definefontsynonym [Chancery] [texgyrechorus-regular] [features=default] \stoptypescript The font should be texgyrechorus-mediumitalic. Aditya
On Dec 19, 2007 5:48 AM, Aditya Mahajan
On Tue, 18 Dec 2007, Aditya Mahajan wrote:
Hi,
There is something wrong with the mappings for zapf chancery in mkiv.
There is a typo in type-otf.tex. The following is wrong
\starttypescript [calligraphy] [chancery] \definefontsynonym [Chancery] [texgyrechorus-regular] [features=default] \stoptypescript
\usetypescriptfile[type-gyr] \starttypescript [calligraphy] [chancery] \definefontsynonym [Chancery] [texgyrechorus-mediumitalic] [features=default] \stoptypescript \definetypeface [mainface][rm][serif][pagella][default][encoding=texnansi] \definetypeface [mainface] [cg][calligraphy][chancery][default][encoding=texnansi] \setupbodyfont [mainface,10pt] \starttext \cg test \stoptext But compilation halts with opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/type-gyr.tex) This went wrong: ...xtMKiv/tex/texmf-local/tex/context/base/font-tfm.lua:141: attempt to index local 'tfmdata' (a nil value) error >> define font: font with name texnansi-qplr is not found. <to be read again> \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi <inserted text> ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... <argument> \getvalue {\@style@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.10 [mainface,10pt] texnansi-qplr is the problem here . -- luigi http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007 .... it's new . it's powerful . it's luatex . http://www.luatex.org
On Wed, 19 Dec 2007, luigi scarso wrote:
On Dec 19, 2007 5:48 AM, Aditya Mahajan
wrote: On Tue, 18 Dec 2007, Aditya Mahajan wrote:
Hi,
There is something wrong with the mappings for zapf chancery in mkiv.
There is a typo in type-otf.tex. The following is wrong
\starttypescript [calligraphy] [chancery] \definefontsynonym [Chancery] [texgyrechorus-regular] [features=default] \stoptypescript
\usetypescriptfile[type-gyr]
\starttypescript [calligraphy] [chancery] \definefontsynonym [Chancery] [texgyrechorus-mediumitalic] [features=default] \stoptypescript
\definetypeface [mainface][rm][serif][pagella][default][encoding=texnansi] \definetypeface [mainface] [cg][calligraphy][chancery][default][encoding=texnansi] \setupbodyfont [mainface,10pt]
\starttext \cg test \stoptext
But compilation halts with
This runs ok here. It uses I am attaching the log file. Aditya
On Dec 19, 2007 6:37 AM, luigi scarso wrote:
\starttypescript [calligraphy] [chancery] \definefontsynonym [Chancery] [texgyrechorus-mediumitalic] [features=default] \stoptypescript
\definetypeface [mainface][rm][serif][pagella][default][encoding=texnansi] \definetypeface [mainface] [cg][calligraphy][chancery][default][encoding=texnansi] \setupbodyfont [mainface,10pt]
\starttext \cg test \stoptext
But compilation halts with
opt/texlive/ContextMKiv/tex/texmf-local/tex/context/base/type- gyr.tex) This went wrong: ...xtMKiv/tex/texmf-local/tex/context/base/font-tfm.lua:141: attempt to index local 'tfmdata' (a nil value) error >> define font: font with name texnansi-qplr is not found.
But that's the problem of a missing font. Here it works OK. What Arthur pointed out should be fixed though. (Garden's live might also be slightly out-of-date with fonts.) Mojca PS: Why encoding=texnansi?
error >> define font: font with name texnansi-qplr is not found.
But that's the problem of a missing font. Here it works OK. What Arthur pointed out should be fixed though.
Yes, it is not an error . My mkiv is on a linux box, and it's made only from pragma last_core_files (setuplinux.zip) + last_stables_zip_iles + last_luatex+last_metapost . So, it's a way to signal that there is a reference to a font that in not in these files. Of course, I can download fonts and update, (I have done it for tex-gyre only opentype) but i want a clean, clear and minimal mviv system . Maybe this evening I will re-think about 'minimal' (ie, download all fonts) . -- luigi http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007 .... it's new . it's powerful . it's luatex . http://www.luatex.org
On Dec 19, 2007 12:36 PM, luigi scarso wrote:
error >> define font: font with name texnansi-qplr is not found.
But that's the problem of a missing font. Here it works OK. What Arthur pointed out should be fixed though.
Yes, it is not an error .
My mkiv is on a linux box, and it's made only from pragma last_core_files (setuplinux.zip) + last_stables_zip_iles + last_luatex+last_metapost . So, it's a way to signal that there is a reference to a font that in not in these files. Of course, I can download fonts and update, (I have done it for tex-gyre only opentype) but i want a clean, clear and minimal mviv system . Maybe this evening I will re-think about 'minimal' (ie, download all fonts) .
You can also "update" the minimals from here http://minimals.contextgarden.net/pragma/, but see the big warning sign in one of the other mails. Mojca
On Wed, 19 Dec 2007, luigi scarso wrote:
error >> define font: font with name texnansi-qplr is not found.
But that's the problem of a missing font. Here it works OK. What Arthur pointed out should be fixed though.
Yes, it is not an error .
So, it's a way to signal that there is a reference to a font that in not in these files. Of course, I can download fonts and update, (I have done it for tex-gyre only opentype)
Actually, the error was because of the word "pagella" in my example that I had created (still learning mkiv font stuff). Simply replace pagella with palatino, and mkiv uses opentype texgyrepagella. Aditya
On Tue, 18 Dec 2007, Aditya Mahajan wrote:
On Tue, 18 Dec 2007, Aditya Mahajan wrote:
Hi,
There is something wrong with the mappings for zapf chancery in mkiv.
There is a typo in type-otf.tex. The following is wrong
\starttypescript [calligraphy] [chancery] \definefontsynonym [Chancery] [texgyrechorus-regular] [features=default] \stoptypescript
The font should be texgyrechorus-mediumitalic.
Hans, This typo is still there in type-otf.tex. Lines 477-479 should say \starttypescript [calligraphy] [chancery] \definefontsynonym [Chancery] [texgyrechorus-mediumBitalic] [features=default] \stoptypescript (mediumitalic instead of regular). Aditya
On Mon, 14 Jan 2008, Aditya Mahajan wrote:
On Tue, 18 Dec 2007, Aditya Mahajan wrote:
On Tue, 18 Dec 2007, Aditya Mahajan wrote:
Hi,
There is something wrong with the mappings for zapf chancery in mkiv.
There is a typo in type-otf.tex. The following is wrong
\starttypescript [calligraphy] [chancery] \definefontsynonym [Chancery] [texgyrechorus-regular] [features=default] \stoptypescript
The font should be texgyrechorus-mediumitalic.
Hans,
This typo is still there in type-otf.tex. Lines 477-479 should say
I meant this (don't know how the B crept in) \starttypescript [calligraphy] [chancery] \definefontsynonym [Chancery] [texgyrechorus-mediumitalic] [features=default] \stoptypescript (mediumitalic instead of regular). Aditya
Aditya Mahajan wrote:
On Mon, 14 Jan 2008, Aditya Mahajan wrote:
On Tue, 18 Dec 2007, Aditya Mahajan wrote:
On Tue, 18 Dec 2007, Aditya Mahajan wrote:
Hi,
There is something wrong with the mappings for zapf chancery in mkiv. There is a typo in type-otf.tex. The following is wrong
\starttypescript [calligraphy] [chancery] \definefontsynonym [Chancery] [texgyrechorus-regular] [features=default] \stoptypescript
The font should be texgyrechorus-mediumitalic. Hans,
This typo is still there in type-otf.tex. Lines 477-479 should say
I meant this (don't know how the B crept in)
\starttypescript [calligraphy] [chancery] \definefontsynonym [Chancery] [texgyrechorus-mediumitalic] [features=default] \stoptypescript
(mediumitalic instead of regular).
i now have ... \starttypescript [calligraphy] [chancery] \definefontsynonym [Chancery] [texgyrechorus-mediumitalic] [features=default] \definefontsynonym [texgyrechorus-regular] [texgyrechorus-mediumitalic] \stoptypescript ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (5)
-
Aditya Mahajan
-
Arthur Reutenauer
-
Hans Hagen
-
luigi scarso
-
Mojca Miklavec