[NTG-context] presentation in ConTeXt

Dalyoung haksan at mac.com
Thu Mar 31 16:00:20 CEST 2005


I added following two lines in conf-pre-main.tex,

\usetypescriptfile[type-xall] %script file
\usetypescript[myface]		%typeface

In type-xall.tex,
....
\starttypescript[serif][smmjr][uc]
% Regular variant:
  \definefontsynonym[smMyungjoRegular]["smMyungjoR\space 
W30"][encoding=uc]
  \definefontsynonym[smMyungjoBold]["smMyungjoR\space W70"][encoding=uc]
  \definefontsynonym[smMyungjoLight]["smMyungjoR\space W10"][encoding=uc]
  \definefontsynonym[smMyungjoBlack]["smMyungjoR\space W90"][encoding=uc]
\stoptypescript

% Start another typescript that associates generic names with
% mid-level names:
\starttypescript[serif][smmjr][name]
  \definefontsynonym[Serif][smMyungjoRegular]
  \definefontsynonym[SerifBold][smMyungjoBold]
  \definefontsynonym[SerifItalic][smMyungjoLight]
  \definefontsynonym[SerifBoldItalic][smMyungjoBlack]
% The fallbacks
  \definefontsynonym[SerifSlanted][Serif]
  \definefontsynonym[SerifBoldSlanted][SerifBold]
  \definefontsynonym[SerifCaps][Serif]
\stoptypescript
...

Then, I got a following error,

This is MetaPost, Version 0.641 (Web2C 7.5.3)
(/usr/local/teTeX/share/texmf.local/web2c/natural.tcx)
(pre-main-mpgraph.mp
! Extra tokens will be flushed.
<to be read again>
                    smMyungjoR
l.42 defaultfont:=""smMyungjoR
                                W30"";
?

It may be the problem in XeTeX. However, is it related with ConTeXt?

Thank you.



More information about the ntg-context mailing list