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.

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to