[NTG-context] Zapf Chancery and mkiv

luigi scarso luigi.scarso at gmail.com
Wed Dec 19 06:37:11 CET 2007


On Dec 19, 2007 5:48 AM, Aditya Mahajan <adityam at umich.edu> 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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20071219/c36182ce/attachment-0001.html 


More information about the ntg-context mailing list